| 1 |
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
|
| 2 |
<?php print $picture ?>
|
| 3 |
|
| 4 |
<?php if (!$page): ?>
|
| 5 |
<?php if ($teaser && user_access('administer nodes')): ?>
|
| 6 |
<div class="quick-edit-links">
|
| 7 |
<ul class="links inline">
|
| 8 |
<li class="first quick-edit"><?php print l('[Edit]', 'node/' . $nid . '/edit'); ?></li>
|
| 9 |
<li class="last quick-delete"><?php print l('[Delete]', 'node/' . $nid . '/delete'); ?></li>
|
| 10 |
</ul>
|
| 11 |
</div>
|
| 12 |
<?php endif; ?>
|
| 13 |
|
| 14 |
<h2 class="title"><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
|
| 15 |
<?php endif; ?>
|
| 16 |
|
| 17 |
<?php if ($submitted): ?>
|
| 18 |
<span class="submitted"><?php print $submitted ?> – </span>
|
| 19 |
|
| 20 |
<?php if ($comment == 1 || $comment == 2) {
|
| 21 |
if ($node->comment_count == 0) {
|
| 22 |
print '<span class="comment-count">' . t('No comments') . '</span>';
|
| 23 |
} elseif ($node->comment_count == 1) {
|
| 24 |
print '<span class="comment-count">' . t('1 comment') . '</span>';
|
| 25 |
} else {
|
| 26 |
print '<span class="comment-count">' . $node->comment_count . ' ' . t('comments') . '</span>';
|
| 27 |
}
|
| 28 |
} else {
|
| 29 |
print t('Comments disabled');
|
| 30 |
}
|
| 31 |
?>
|
| 32 |
<?php endif; ?>
|
| 33 |
|
| 34 |
<?php if ($terms): ?>
|
| 35 |
<div class="terms">
|
| 36 |
<?php print t('Tags') . ':' . $terms; ?>
|
| 37 |
</div>
|
| 38 |
<?php endif;?>
|
| 39 |
|
| 40 |
<div class="content">
|
| 41 |
<?php print $content ?>
|
| 42 |
</div>
|
| 43 |
|
| 44 |
<div class="control-links">
|
| 45 |
<?php print $links; ?>
|
| 46 |
</div>
|
| 47 |
</div>
|