| 1 |
<?php
|
| 2 |
if (!_is_forum()) {
|
| 3 |
include('node.tpl.php');
|
| 4 |
return;
|
| 5 |
}
|
| 6 |
$curr_user = user_load(array('uid' => $userid));
|
| 7 |
$sig = $curr_user->signature;
|
| 8 |
?>
|
| 9 |
<div class="comment forum-comment comment-<?php print $row_class; print $comment->new ? ' comment-new forum-comment-new' : ''; ?>">
|
| 10 |
|
| 11 |
<div class="comment-left">
|
| 12 |
<div class="author-name"><?php print $name ?></div>
|
| 13 |
<?php print $picture ?>
|
| 14 |
|
| 15 |
<?php if (module_exists('flatforum')): ?>
|
| 16 |
<span class="author-posts">
|
| 17 |
<?php print t('Posts:') . ' ' . $posts; ?><br />
|
| 18 |
</span>
|
| 19 |
<span class="author-regdate">
|
| 20 |
<?php print t('Joined:') . ' ' . $joined; ?><br />
|
| 21 |
</span>
|
| 22 |
<?php endif ?>
|
| 23 |
</div>
|
| 24 |
|
| 25 |
<div class="comment-right">
|
| 26 |
<div class="title"><?php print check_plain($comment->subject) ?></div>
|
| 27 |
<?php if ($comment->new) : ?>
|
| 28 |
<a id="new"></a>
|
| 29 |
<span class="new"><?php print $new ?></span>
|
| 30 |
<?php endif ?>
|
| 31 |
<div class="content">
|
| 32 |
<?php print $content ?>
|
| 33 |
<?php if ($sig): ?>
|
| 34 |
<div class="author-signature">--<br /><?php print check_markup($sig); ?></div>
|
| 35 |
<?php endif ?>
|
| 36 |
<br class="clear" />
|
| 37 |
<div class="links"><?php print $submitted . ' ' . $links ?></div>
|
| 38 |
</div>
|
| 39 |
</div>
|
| 40 |
|
| 41 |
</div>
|
| 42 |
<br class="clear" />
|