/[drupal]/contributions/themes/bluefire/comment.tpl.php
ViewVC logotype

Contents of /contributions/themes/bluefire/comment.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sun Apr 13 10:30:27 2008 UTC (19 months, 2 weeks ago) by collectivecolors
Branch: MAIN
CVS Tags: DRUPAL-5--2-3, HEAD
Changes since 1.1: +1 -1 lines
File MIME type: text/x-php
Used theme_username instead of l() for username links in comments.
1 <div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print (isset($comment->status) && $comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; print ' '. $zebra; ?>">
2
3 <?php if ($comment->new): ?>
4 <div class="new"><?php print $new ?></div>
5 <?php endif; ?>
6
7 <div class="comment-title">
8 <h3><?php print $title; ?></h3>
9 </div>
10
11 <?php
12 if ($submitted) {
13 if ($comment->name) { // registered user
14 print "<div class='submitted'>" . t('By ') . theme('username', $comment) . t(' - Posted on ') . format_date($comment->timestamp, 'custom', "F jS, Y") . "</div>";
15 } else { // anonymous
16 print "<div class='submitted'>" . t('By ') . variable_get('anonymous', 'anonymous') . t(' - Posted on ') . format_date($comment->timestamp, 'custom', "F jS, Y") . "</div>";
17 }
18 }?>
19
20 <?php print $picture ?>
21
22 <div class="content">
23 <?php print $content ?>
24 <?php if ($signature): ?>
25 <div class="user-signature clear-block">
26 <?php print $signature ?>
27 </div>
28 <?php endif; ?>
29 </div>
30
31 <div class="comment-links">
32 <?php print $links; ?>
33 </div>
34 </div>

  ViewVC Help
Powered by ViewVC 1.1.2