b2evolution PHP Cross Reference Blogging Systems

Source: /skins/pluralism/index.main.php - 90 lines - 3765 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 evoskins
  12   * @subpackage pluralism
  13   */
  14  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  15  
  16  if( version_compare( $app_version, '2.4.1' ) < 0 )
  17  { // Older 2.x skins work on newer 2.x b2evo versions, but newer 2.x skins may not work on older 2.x b2evo versions.
  18      die( 'This skin is designed for b2evolution 2.4.1 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
  19  }
  20  
  21  // This is the main template; it may be used to display very different things.
  22  // Do inits depending on current $disp:
  23  skin_init( $disp );
  24  
  25      // -------------------------- HTML HEADER INCLUDED HERE --------------------------
  26      skin_include( '_html_header.inc.php' );
  27      // Note: You can customize the default HTML header by copying the generic
  28      // /skins/_html_header.inc.php file into the current skin folder.
  29      // -------------------------------- END OF HEADER --------------------------------
  30  
  31      // ------------------------- BODY HEADER INCLUDED HERE --------------------------
  32      skin_include( '_body_header.inc.php' );
  33      // Note: You can customize the default BODY header by copying the generic
  34      // /skins/_body_footer.inc.php file into the current skin folder.
  35      // ------------------------------- END OF HEADER --------------------------------
  36  ?>
  37  
  38  <div id="content">
  39  
  40  <?php
  41      // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  42      messages( array(
  43          'block_start' => '<div class="action_messages">',
  44          'block_end'   => '</div>',
  45      ) );
  46      // --------------------------------- END OF MESSAGES ---------------------------------
  47  
  48      // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  49      request_title( array(
  50              'title_before'      => '<h2 id="spectitle">',
  51              'title_after'       => '</h2>',
  52              'title_none'        => '',
  53              'glue'              => ' - ',
  54              'title_single_disp' => true,
  55              'format'            => 'htmlbody',
  56          ) );
  57      // ------------------------------ END OF REQUEST TITLE -----------------------------
  58  ?>
  59  
  60  <?php
  61      // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  62      skin_include( '$disp$', array(
  63              'author_link_text' => 'preferredname',
  64          ) );
  65      // Note: you can customize any of the sub templates included here by
  66      // copying the matching php file into your skin directory.
  67      // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  68  ?>
  69  
  70  </div>
  71  
  72  <?php
  73      // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  74      skin_include( '_sidebar.inc.php' );
  75      // Note: You can customize the default BODY footer by copying the
  76      // _body_footer.inc.php file into the current skin folder.
  77      // ----------------------------- END OF SIDEBAR -----------------------------
  78  
  79      // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
  80      skin_include( '_body_footer.inc.php' );
  81      // Note: You can customize the default BODY footer by copying the
  82      // _body_footer.inc.php file into the current skin folder.
  83      // ------------------------------- END OF FOOTER --------------------------------
  84  
  85      // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
  86      skin_include( '_html_footer.inc.php' );
  87      // Note: You can customize the default HTML footer by copying the
  88      // _html_footer.inc.php file into the current skin folder.
  89      // ------------------------------- END OF FOOTER --------------------------------
  90  ?>

title

Description

title

Description

title

Description

title

title

Body