| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* For comments as nodes to work, we need to know in advance what node types
|
| 4 |
* will be used as comments and theme them differently. In particular, pay
|
| 5 |
* attention to the way the title is output. This tpl.php assumes a content
|
| 6 |
* type called "comment".
|
| 7 |
*/
|
| 8 |
?>
|
| 9 |
|
| 10 |
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
|
| 11 |
|
| 12 |
<?php print $picture ?>
|
| 13 |
|
| 14 |
<div class="subject"><?php print l($node->title, $_GET['q'], NULL, NULL, "comment-$node->nid") . ' ' . theme('mark', $node->new); ?></div>
|
| 15 |
|
| 16 |
<?php if ($submitted): ?>
|
| 17 |
<span class="submitted"><?php print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created))); ?></span>
|
| 18 |
<?php endif; ?>
|
| 19 |
|
| 20 |
<div class="content">
|
| 21 |
<?php print $content ?>
|
| 22 |
</div>
|
| 23 |
|
| 24 |
<div class="clear-block clear">
|
| 25 |
<div class="meta">
|
| 26 |
<?php if ($taxonomy): ?>
|
| 27 |
<div class="terms"><?php print $terms ?></div>
|
| 28 |
<?php endif;?>
|
| 29 |
</div>
|
| 30 |
|
| 31 |
<?php if ($links): ?>
|
| 32 |
<div class="links clear-block"><?php print $links; ?></div>
|
| 33 |
<?php endif; ?>
|
| 34 |
</div>
|
| 35 |
</div>
|