-
Notifications
You must be signed in to change notification settings - Fork 2
/
comment.tpl.php
42 lines (40 loc) · 1.25 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
38
39
40
41
42
<div class="comment<?php
print ($comment->new) ? ' comment-new' : '';
print ' '. $status;
print ' '. $zebra; ?>" id="comment-<?php print $comment->cid ?>">
<?php print $picture ?>
<div class="comment-bar">
<?php if ($submitted): ?>
<span class="submitted">
<?php print $submitted; ?>
<?php
if ($comment->pid)
print '<span class="comment-op"> – '
. l('előzmény', $_GET['q'],
array('attributes' =>
array('class' => 'comment-parent-link'),
'fragment' => 'comment-' . $comment->pid))
. '</span>';
?>
</span>
<?php endif; ?>
<?php if ($comment->new) : ?>
<span class="new" id="comment-new-<?php print ubuntumagyar_nextcommentid(); ?>"><?php print drupal_ucfirst($new) ?></span>
<?php endif; ?>
</div>
<div class="content">
<?php print $content ?>
<?php if ($links): ?>
<div class="links">
<?php print $links ?>
</div>
<?php endif; ?>
<div class="comment-signature">
<?php if ($signature): ?>
<?php print str_replace('href', 'rel="nofollow" href', $signature) ?>
<? else: ?>
<p> </p>
<? endif; ?>
</div>
</div>
</div>