[ 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/basic/ -> _item_content.inc.php (source)

   1  <?php
   2  /**

   3   * This is the template that displays the contents for a post

   4   * (images, teaser, more link, body, etc...)

   5   *

   6   * This file is not meant to be called directly.

   7   * It is meant to be called by an include in the main.page.php template (or other templates)

   8   *

   9   * b2evolution - {@link http://b2evolution.net/}

  10   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}

  11   * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}

  12   *

  13   * @package evoskins

  14   * @subpackage basic

  15   */
  16  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17  
  18  
  19  // Display images that are linked to this post:

  20  $Item->images( array(
  21          'before' =>              '<table cellspacing="5">',
  22          'before_image' =>        '<tr><td align="center">',
  23          'before_image_legend' => '<br><small>',
  24          'after_image_legend' =>  '</small>',
  25          'after_image' =>         '</td></tr>',
  26          'after' =>               '</table>',
  27          'image_size' =>          'fit-400x320'
  28      ) );
  29  ?>
  30  
  31  <div>
  32      <?php
  33          // Increment view count of first post on page:

  34          $Item->count_view( array(
  35                  'allow_multiple_counts_per_page' => false,
  36              ) );
  37  
  38          // Display CONTENT:

  39          $Item->content_teaser( array(
  40                  'before'      => '',
  41                  'after'       => '',
  42              ) );
  43          $Item->more_link();
  44          $Item->content_extension( array(
  45                  'before'      => '',
  46                  'after'       => '',
  47              ) );
  48  
  49          // Links to post pages (for multipage posts):

  50          $Item->page_links( '<p class="right">'.T_('Pages:').' ', '</p>', ' &middot; ' );
  51      ?>
  52  </div>
  53  
  54  <?php
  55  /*

  56   * $Log: _item_content.inc.php,v $

  57   * Revision 1.2  2007/11/04 01:10:57  fplanque

  58   * skin cleanup continued

  59   *

  60   * Revision 1.1  2007/06/23 22:09:30  fplanque

  61   * feedback and item content templates.

  62   * Interim check-in before massive changes ahead.

  63   *

  64   */
  65  ?>


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