-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomment.tpl.php
37 lines (35 loc) · 1.37 KB
/
comment.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
// $Id$ ?>
<div class="clear-block comment<?php print($comment->new) ? ' comment-new' : ''; print(isset($comment->status) && $comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; if (isset($author_comment)) print ' author'; print ' '. $zebra; ?>">
<div class="comment-content">
<?php if ($picture): ?>
<div class="picture span-3">
<?php print $picture ?>
</div>
<?php endif; ?>
<div class="meta">
<div class="permalink clearfix">
<?php if ($comment->new) : ?>
<a id="new"></a>
<span class="new"><?php print drupal_ucfirst($new) ?></span>
<?php endif; ?>
<?php print $comment_count_link ?>
</div>
<?php if ($submitted): ?>
<span class="username"><?php print theme('username', $comment); ?></span> <span class="date"><?php print t('wrote !date ago', array( '!date' => format_interval(time() - $comment->timestamp))); ?></span>
<?php endif; ?>
</div>
<div class="content">
<?php if ($title): ?><h3><?php print $title; ?></h3><?php endif; ?>
<?php print $content ?>
<?php if ($signature): ?>
<div class="user-signature clear-block">
<?php print $signature ?>
</div>
<?php endif; ?>
</div>
<?php if ($links): ?>
<div class="links"><?php print $links ?></div>
<?php endif; ?>
</div>
</div>