00001 <?php namespace Habari; ?> 00002 <?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?> 00003 <div class="textual item"><?php 00004 $view_url = $comment->post->permalink . '#comment-' . $comment->id; 00005 00006 if ( $comment->url != '' ): 00007 printf( _t( '<a href="%1$s">Comment</a> by ' . 00008 '<a href="%2$s" title="Visit %3$s">%3$s</a> ' . 00009 'posted on <a href="%4$s" title="View post">%5$s</a> ' . 00010 'at <strong>%6$s</strong> ' . 00011 'on <strong>%7$s</strong>' ), 00012 $view_url, 00013 $comment->url, 00014 $comment->name, 00015 $comment->post->permalink, 00016 $comment->post->title, 00017 $comment->date->get( DateTime::get_default_time_format() ), 00018 $comment->date->get( DateTime::get_default_date_format() ) 00019 ); 00020 else: 00021 printf( _t( '<a href="%1$s">Comment</a> by ' . 00022 '<strong>%2$s</strong> ' . 00023 'posted on <a href="%3$s" title="View post">%4$s</a> ' . 00024 'at <strong>%5$s</strong> ' . 00025 'on <strong>%6$s</strong>' ), 00026 $view_url, 00027 $comment->name, 00028 $comment->post->permalink, 00029 $comment->post->title, 00030 $comment->date->get( DateTime::get_default_time_format() ), 00031 $comment->date->get( DateTime::get_default_date_format() ) 00032 ); 00033 endif; 00034 ?></div>