b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: main ] [ index: main ] [ all elements ]

Source for file index.main.php

Documentation is available at index.main.php

  1. <?php
  2.  
  3. // This is the main template; it may be used to display very different things.
  4. // Do inits depending on current $disp:
  5. skin_init$disp );
  6.  
  7.  
  8. // -------------------------- HTML HEADER INCLUDED HERE --------------------------
  9. skin_include'_html_header.inc.php' );
  10. // Note: You can customize the default HTML header by copying the generic
  11. // /skins/_html_header.inc.php file into the current skin folder.
  12. // -------------------------------- END OF HEADER --------------------------------
  13.  
  14.  
  15. // ------------------------- BODY HEADER INCLUDED HERE --------------------------
  16. skin_include'_body_header.inc.php' );
  17. // Note: You can customize the default BODY header by copying the generic
  18. // /skins/_body_footer.inc.php file into the current skin folder.
  19. // ------------------------------- END OF FOOTER --------------------------------
  20. ?>
  21.  
  22. <div id="content-wrap">
  23.     <div id="main">
  24.         <?php
  25.             // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  26.             messagesarray(
  27.                 'block_start' => '<div class="action_messages">',
  28.                 'block_end'   => '</div>',
  29.             ) );
  30.             // --------------------------------- END OF MESSAGES ---------------------------------
  31.         ?>
  32.     
  33.         <?php
  34.             // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  35.             request_titlearray(
  36.                     'title_before'=> '<h2>',
  37.                     'title_after' => '</h2>',
  38.                     'title_none'  => '',
  39.                     'glue'        => ' - ',
  40.                     'title_single_disp' => true,
  41.                     'format'      => 'htmlbody',
  42.                 ) );
  43.             // ------------------------------ END OF REQUEST TITLE -----------------------------
  44.         ?>
  45.         <?php
  46.         // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  47.         skin_include'$disp$'array(
  48.             ) );
  49.         // Note: you can customize any of the sub templates included here by
  50.         // copying the matching php file into your skin directory.
  51.         // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  52.         ?>
  53.     </div>
  54.  
  55.     
  56.         <?php
  57.         // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  58.         skin_include'_sidebar.inc.php' );
  59.         // Note: You can customize the default BODY footer by copying the
  60.         // _body_footer.inc.php file into the current skin folder.
  61.         // ----------------------------- END OF SIDEBAR -----------------------------
  62.         ?>
  63.     
  64. </div>
  65.  
  66. <?php 
  67. // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
  68. skin_include'_body_footer.inc.php' );
  69. // Note: You can customize the default BODY footer by copying the
  70. // _body_footer.inc.php file into the current skin folder.
  71. // ------------------------------- END OF FOOTER --------------------------------
  72.  
  73. // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
  74. skin_include'_html_footer.inc.php' );
  75. // Note: You can customize the default HTML footer by copying the
  76. // _html_footer.inc.php file into the current skin folder.
  77. // ------------------------------- END OF FOOTER --------------------------------
  78. ?>

Documentation generated on Sat, 06 Mar 2010 03:53:07 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).