Same filename in this branch
- 5.x themes/pushbutton/comment.tpl.php
- 5.x themes/garland/comment.tpl.php
- 5.x themes/engines/phptemplate/comment.tpl.php
- 5.x themes/bluemarine/comment.tpl.php
Same filename and directory in other branches
- 6.x themes/garland/comment.tpl.php
- 7.x themes/garland/comment.tpl.php
1 theme call to comment.tpl.php
- theme_comment_view in modules/comment/comment.module
File
themes/garland/comment.tpl.php
View source
<div class="comment<?php
print $comment->new ? ' comment-new' : '';
print $comment->status == COMMENT_NOT_PUBLISHED ? ' comment-unpublished' : '';
print ' ' . $zebra;
?>">
<div class="clear-block">
<?php
if ($submitted) {
?>
<span class="submitted"><?php
print t('!date — !username', array(
'!username' => theme('username', $comment),
'!date' => format_date($comment->timestamp),
));
?></span>
<?php
}
?>
<?php
if ($comment->new) {
?>
<a id="new"></a>
<span class="new"><?php
print drupal_ucfirst($new);
?></span>
<?php
}
?>
<?php
print $picture;
?>
<h3><?php
print $title;
?></h3>
<div class="content">
<?php
print $content;
?>
</div>
</div>
<?php
if ($links) {
?>
<div class="links"><?php
print $links;
?></div>
<?php
}
?>
</div>