[ 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/inc/comments/views/ -> _browse_comments.view.php (source)

   1  <?php
   2  /**

   3   * This file implements the comment browsing

   4   *

   5   * This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}.

   6   * See also {@link http://sourceforge.net/projects/evocms/}.

   7   *

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

   9   * Parts of this file are copyright (c)2005 by Daniel HAHLER - {@link http://thequod.de/contact}.

  10   *

  11   * @license http://b2evolution.net/about/license.html GNU General Public License (GPL)

  12   *

  13   * @package admin

  14   *

  15   * {@internal Below is a list of authors who have contributed to design/coding of this file: }}

  16   * @author fplanque: Francois PLANQUE.

  17   *

  18   * @version $Id: _browse_comments.view.php,v 1.3 2007/11/03 21:04:26 fplanque Exp $

  19   */
  20  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  21  
  22  /**

  23   * @var Comment

  24   */
  25  global $Comment;
  26  /**

  27   * @var Blog

  28   */
  29  global $Blog;
  30  /**

  31   * @var CommentList

  32   */
  33  global $CommentList;
  34  
  35  global $dispatcher;
  36  
  37  
  38  /*

  39   * Display comments:

  40   */
  41  $block_item_Widget = & new Widget( 'block_item' );
  42  
  43  $block_item_Widget->title = T_('Feedback (Comments, Trackbacks...)');
  44  $block_item_Widget->disp_template_replaced( 'block_start' );
  45  
  46  
  47  $CommentList->display_if_empty();
  48  
  49  // Display list of comments:

  50  require dirname(__FILE__).'/_comment_list.inc.php';
  51  
  52  $block_item_Widget->disp_template_replaced( 'block_end' );
  53  
  54  
  55  /*

  56   * $Log: _browse_comments.view.php,v $

  57   * Revision 1.3  2007/11/03 21:04:26  fplanque

  58   * skin cleanup

  59   *

  60   * Revision 1.2  2007/09/03 18:32:50  fplanque

  61   * enhanced dashboard / comment moderation

  62   *

  63   * Revision 1.1  2007/06/25 10:59:42  fplanque

  64   * MODULES (refactored MVC)

  65   *

  66   * Revision 1.13  2007/04/26 00:11:06  fplanque

  67   * (c) 2007

  68   */
  69  ?>


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