| 1 |
<?php /* $Id: Exp $ */ ?>
|
| 2 |
<div class="comment <?php print ($comment->new) ? 'comment-new' : '' ?>">
|
| 3 |
<div class="header">
|
| 4 |
<h3 class="title">
|
| 5 |
<?php print $comment->subject; ?>
|
| 6 |
<?php if ($comment->new) : ?>
|
| 7 |
<a id="new" name="new" class="text-replacement"><?php phptemplate_mark(); ?></a>
|
| 8 |
<?php endif; ?>
|
| 9 |
</h3>
|
| 10 |
<div class="meta">
|
| 11 |
<small>
|
| 12 |
<?php
|
| 13 |
// output permalink
|
| 14 |
if ($comment->cid) {
|
| 15 |
print l('#'. $comment->cid, 'node/'. $comment->nid, array('class' => 'icon icon-comment comment-permalink','title' => 'Permalink to this comment'), NULL, 'comment-'. $comment->cid);
|
| 16 |
}
|
| 17 |
?>
|
| 18 |
<?php print "\n" .t('<span class="comment-date">On ' . str_replace('-', ' ', format_date($comment->timestamp)) . '</span> <span class="comment-author">'. format_name($comment) .'</span> said,'); ?>
|
| 19 |
</small>
|
| 20 |
</div>
|
| 21 |
</div>
|
| 22 |
<div class="content">
|
| 23 |
<?php if ( $picture) : ?>
|
| 24 |
<div class="user-picture">
|
| 25 |
<?php print $picture ?>
|
| 26 |
</div>
|
| 27 |
<?php endif; ?>
|
| 28 |
<?php print civicspace_word_split(phptemplate_wrap_content($content)); ?>
|
| 29 |
</div>
|
| 30 |
<div class="footer">
|
| 31 |
<div class="links">
|
| 32 |
<?php print $links; ?>
|
| 33 |
</div>
|
| 34 |
</div>
|
| 35 |
</div>
|