[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/admin/styles/default/ -> style.php (source)

   1  <?php
   2  /**
   3   * This is an example style file for Admin CP styles.
   4   *
   5   * It allows you to override our existing layout generation
   6   * classes with your own to further customise the Admin CP
   7   * layout beyond CSS.
   8   *
   9   * Your class name      Should extend
  10   * ---------------      -------------
  11   * Page                 DefaultPage
  12   * SidebarItem          DefaultSidebarItem
  13   * PopupMenu            DefaultPopupMenu
  14   * Table                DefaultTable
  15   * Form                 DefaultForm
  16   * FormContainer        DefaultFormContainer
  17   *
  18   * For example, to output your own custom header:
  19   *
  20   * class Page extends DefaultPage
  21   * {
  22   *   function output_header($title)
  23   *   {
  24   *      echo "<h1>{$title}</h1>";
  25   *   }
  26   * }
  27   *
  28   */
  29   
  30  // Disallow direct access to this file for security reasons
  31  if(!defined("IN_MYBB"))
  32  {
  33      die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
  34  }
  35  
  36  class Page extends DefaultPage
  37  {
  38  }
  39  
  40  class SidebarItem extends DefaultSidebarItem
  41  {
  42  }
  43  
  44  class PopupMenu extends DefaultPopupMenu
  45  {
  46  }
  47  
  48  class Table extends DefaultTable
  49  {
  50  }
  51  
  52  class Form extends DefaultForm
  53  {
  54  }
  55  
  56  class FormContainer extends DefaultFormContainer
  57  {
  58  }
  59  ?>


Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1