0byt3m1n1
Path:
/
data
/
applications
/
aps
/
b2evolution
/
3.3.1-5
/
standard
/
htdocs
/
skins
/
[
Home
]
File: _comments.disp.php
<?php /** * This is the template that displays the links to the latest comments for a blog * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * To display a feedback, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=comments * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html} * @copyright (c)2003-2009 by Francois PLANQUE - {@link http://fplanque.net/} * * @package evoskins */ if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); $CommentList = & new CommentList( $Blog, "'comment','trackback','pingback'", array('published'), '', '', 'DESC', '', 20 ); $CommentList->display_if_empty(); while( $Comment = & $CommentList->get_next() ) { // Loop through comments: // Load comment's Item object: $Comment->get_Item(); ?> <!-- ========== START of a COMMENT ========== --> <?php $Comment->anchor() ?> <div class="bComment"> <h3 class="bTitle"> <?php echo T_('In response to:') ?> <?php $Comment->Item->title( array( 'link_type' => 'permalink', ) ); ?> </h3> <div class="bCommentTitle"> <?php $Comment->author() ?> <?php $Comment->author_url( '', ' · ', '' ) ?> </div> <div class="bCommentText"> <?php $Comment->content() ?> </div> <div class="bCommentSmallPrint"> <?php $Comment->permanent_link( array( 'class' => 'permalink_right', 'nofollow' => true, ) ); ?> <?php $Comment->date() ?> @ <?php $Comment->time( 'H:i' ) ?> <?php $Comment->edit_link( ' · ' ) /* Link to backoffice for editing */ ?> <?php $Comment->delete_link( ' · ' ); /* Link to backoffice for deleting */ ?> </div> </div> <!-- ========== END of a COMMENT ========== --> <?php } // End of comment loop. ?>