| 1 |
<?php
|
| 2 |
$type = (node_invoke($node->type, 'node_name'));
|
| 3 |
//print $type gives the content type label rather than the module name
|
| 4 |
// better than print $node->type hack
|
| 5 |
?>
|
| 6 |
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
|
| 7 |
<?php if ($page == 0): ?>
|
| 8 |
<div class="title"><a href=" <?php print $node_url ?> " title=" <?php print $title ?> "> <?php print $title ?> </a></div>
|
| 9 |
<?php endif; ?>
|
| 10 |
<div class="info"><?php print $date ?></div>
|
| 11 |
<?php print $picture ?>
|
| 12 |
<div class="content">
|
| 13 |
<?php print $content ?>
|
| 14 |
<br style="clear:both;"/>
|
| 15 |
</div>
|
| 16 |
<?php if ($links): ?>
|
| 17 |
<?php if ($terms): ?><div class="terms">tag: <?php print $terms ?> </div><?php endif; ?>
|
| 18 |
<div class="links"> <?php print $links ?> </div>
|
| 19 |
<?php endif; ?>
|
| 20 |
</div>
|