b2evolution PHP Cross Reference Blogging Systems

Source: /skins/colourise/index.main.php - 92 lines - 3481 bytes - Text - Print

Description: This is the main/default page template.

   1  <?php
   2  /**
   3   * This is the main/default page template.
   4   *
   5   * For a quick explanation of b2evo 2.0 skins, please start here:
   6   * {@link http://b2evolution.net/man/skin-structure}
   7   *
   8   * The main page template is used to display the blog when no specific page template is available
   9   * to handle the request (based on $disp).
  10   *
  11   * @package colourise
  12   * @subpackage colourise
  13   */
  14  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  15  
  16  // This is the main template; it may be used to display very different things.
  17  // Do inits depending on current $disp:
  18  skin_init( $disp );
  19  
  20  
  21  // -------------------------- HTML HEADER INCLUDED HERE --------------------------
  22  skin_include( '_html_header.inc.php' );
  23  // Note: You can customize the default HTML header by copying the generic
  24  // /skins/_html_header.inc.php file into the current skin folder.
  25  // -------------------------------- END OF HEADER --------------------------------
  26  
  27  
  28  // ------------------------- BODY HEADER INCLUDED HERE --------------------------
  29  skin_include( '_body_header.inc.php' );
  30  // Note: You can customize the default BODY header by copying the generic
  31  // /skins/_body_footer.inc.php file into the current skin folder.
  32  // ------------------------------- END OF FOOTER --------------------------------
  33  ?>
  34  
  35  <div id="content-wrap">
  36      <div id="main">
  37          <?php
  38              // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  39              messages( array(
  40                  'block_start' => '<div class="action_messages">',
  41                  'block_end'   => '</div>',
  42              ) );
  43              // --------------------------------- END OF MESSAGES ---------------------------------
  44          ?>
  45  
  46          <?php
  47              // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  48              request_title( array(
  49                      'title_before'=> '<h2>',
  50                      'title_after' => '</h2>',
  51                      'title_none'  => '',
  52                      'glue'        => ' - ',
  53                      'title_single_disp' => true,
  54                      'format'      => 'htmlbody',
  55                  ) );
  56              // ------------------------------ END OF REQUEST TITLE -----------------------------
  57          ?>
  58          <?php
  59          // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  60          skin_include( '$disp$', array(
  61                  'author_link_text' => 'preferredname',
  62              ) );
  63          // Note: you can customize any of the sub templates included here by
  64          // copying the matching php file into your skin directory.
  65          // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  66          ?>
  67      </div>
  68  
  69  
  70          <?php
  71          // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  72          skin_include( '_sidebar.inc.php' );
  73          // Note: You can customize the default BODY footer by copying the
  74          // _body_footer.inc.php file into the current skin folder.
  75          // ----------------------------- END OF SIDEBAR -----------------------------
  76          ?>
  77  
  78  </div>
  79  
  80  <?php
  81  // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
  82  skin_include( '_body_footer.inc.php' );
  83  // Note: You can customize the default BODY footer by copying the
  84  // _body_footer.inc.php file into the current skin folder.
  85  // ------------------------------- END OF FOOTER --------------------------------
  86  
  87  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
  88  skin_include( '_html_footer.inc.php' );
  89  // Note: You can customize the default HTML footer by copying the
  90  // _html_footer.inc.php file into the current skin folder.
  91  // ------------------------------- END OF FOOTER --------------------------------
  92  ?>

title

Description

title

Description

title

Description

title

title

Body