[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/skins/evopress/ -> index.main.php (source)

   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://manual.b2evolution.net/Skins_2.0}

   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 kubrick

  13   *

  14   * @version $Id: index.main.php,v 1.3 2007/10/01 01:06:31 fplanque Exp $

  15   */
  16  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17  
  18  // This is the main template; it may be used to display very different things.

  19  // Do inits depending on current $disp:

  20  skin_init( $disp );
  21  
  22  
  23  // -------------------------- HTML HEADER INCLUDED HERE --------------------------

  24  skin_include( '_html_header.inc.php' );
  25  // Note: You can customize the default HTML header by copying the generic

  26  // /skins/_html_header.inc.php file into the current skin folder.

  27  // -------------------------------- END OF HEADER --------------------------------

  28  ?>
  29  
  30  
  31  <?php
  32  // ------------------------- BODY HEADER INCLUDED HERE --------------------------

  33  skin_include( '_body_header.inc.php' );
  34  // Note: You can customize the default BODY heder by copying the generic

  35  // /skins/_body_footer.inc.php file into the current skin folder.

  36  // ------------------------------- END OF FOOTER --------------------------------

  37  ?>
  38  
  39  
  40  <div id="content" class="narrowcolumn">
  41  
  42      <?php
  43          // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------

  44          messages( array(
  45              'block_start' => '<div class="action_messages">',
  46              'block_end'   => '</div>',
  47          ) );
  48          // --------------------------------- END OF MESSAGES ---------------------------------

  49      ?>
  50  
  51      <?php
  52          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------

  53          request_title( array(
  54                  'title_before'=> '<h2>',
  55                  'title_after' => '</h2>',
  56                  'title_none'  => '',
  57                  'glue'        => ' - ',
  58                  'title_single_disp' => true,
  59                  'format'      => 'htmlbody',
  60              ) );
  61          // ------------------------------ END OF REQUEST TITLE -----------------------------

  62      ?>
  63  
  64      <?php
  65          // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------

  66          skin_include( '$disp$', array(
  67              ) );
  68          // Note: you can customize any of the sub templates included here by

  69          // copying the matching php file into your skin directory.

  70          // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------

  71      ?>
  72  
  73  </div>
  74  
  75  
  76  <?php
  77  // ------------------------- SIDEBAR INCLUDED HERE --------------------------

  78  skin_include( '_sidebar.inc.php' );
  79  // Note: You can customize the default BODY footer by copying the

  80  // _body_footer.inc.php file into the current skin folder.

  81  // ----------------------------- END OF SIDEBAR -----------------------------

  82  ?>
  83  
  84  
  85  <?php
  86  // ------------------------- BODY FOOTER INCLUDED HERE --------------------------

  87  skin_include( '_body_footer.inc.php' );
  88  // Note: You can customize the default BODY footer by copying the

  89  // _body_footer.inc.php file into the current skin folder.

  90  // ------------------------------- END OF FOOTER --------------------------------

  91  ?>
  92  
  93  
  94  <?php
  95  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------

  96  skin_include( '_html_footer.inc.php' );
  97  // Note: You can customize the default HTML footer by copying the

  98  // _html_footer.inc.php file into the current skin folder.

  99  // ------------------------------- END OF FOOTER --------------------------------

 100  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics