b2evolution PHP Cross Reference Blogging Systems

Source: /skins/photoblog/feedback_popup.main.php - 74 lines - 2632 bytes - Text - Print

Description: This is the comments-popup page template.

   1  <?php
   2  /**
   3   * This is the comments-popup 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   * It is used to display the blog when no specific page template is available.
   9   *
  10   * @package evoskins
  11   * @subpackage photoblog
  12   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  
  16  // Note: even if we request the same post as $Item above, the following will do more restrictions (dates, etc.)
  17  // Do inits depending on current $disp:
  18  skin_init( $disp );    // disp will normally be "feedback-popup" here
  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
  24  // _html_header.inc.php file into the current skin folder.
  25  // -------------------------------- END OF HEADER --------------------------------
  26  ?>
  27  
  28  <div class="comments_popup">
  29  
  30  <?php
  31  
  32  // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  33  messages( array(
  34              'block_start' => '<div class="action_messages">',
  35              'block_end'   => '</div>',
  36          ) );
  37  // --------------------------------- END OF MESSAGES ---------------------------------
  38  
  39  
  40  // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  41  request_title( array(
  42          'title_before'=> '<h2>',
  43          'title_after' => '</h2>',
  44          'title_none'  => '<h2>&nbsp;</h2>',
  45          'glue'        => ' - ',
  46          'title_single_disp' => false,
  47          'format'      => 'htmlbody',
  48      ) );
  49  // ------------------------------ END OF REQUEST TITLE -----------------------------
  50  
  51  
  52  // Normally, there should only be one item to display...
  53  while( $Item = & mainlist_get_item() )
  54  {    // For each blog post, do everything below up to the closing curly brace "}"
  55      // ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------
  56      skin_include( '_item_feedback.inc.php', array(
  57              'before_section_title' => '<h4>',
  58              'after_section_title'  => '</h4>',
  59          ) );
  60      // Note: You can customize the default item feedback by copying the generic
  61      // /skins/_item_feedback.inc.php file into the current skin folder.
  62      // ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) ---------------------
  63  }
  64  ?>
  65  
  66  </div>
  67  
  68  <?php
  69  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
  70  skin_include( '_html_footer.inc.php' );
  71  // Note: You can customize the default HTML footer by copying the
  72  // _html_footer.inc.php file into the current skin folder.
  73  // ------------------------------- END OF FOOTER --------------------------------
  74  ?>

title

Description

title

Description

title

Description

title

title

Body