| 1 |
<?php
|
| 2 |
// Generate CSS classes for the node
|
| 3 |
$classes = array();
|
| 4 |
if ($sticky)
|
| 5 |
$classes[] = 'sticky';
|
| 6 |
if (!$page) {
|
| 7 |
$classes[] = 'item-listing';
|
| 8 |
$classes[] = $zebra;
|
| 9 |
$classes[] = "node-list-$seqid";
|
| 10 |
}
|
| 11 |
$classes = ' ' . implode(' ', $classes);
|
| 12 |
?>
|
| 13 |
<div class="node<?php print $classes; ?>">
|
| 14 |
<?php if ($picture) print $picture; ?>
|
| 15 |
<?php if (!$page) { ?><h2 class="title"><a href="<?php print $node_url?>" title="<?php print $title?>" rel="bookmark"><?php print $title?></a></h2><?php }; ?>
|
| 16 |
<div class="info">
|
| 17 |
<?php if ($submitted) { ?>
|
| 18 |
<span class="submitted">
|
| 19 |
<span class="user"><?php print theme('username', $node); ?></span> -
|
| 20 |
<span class="date"><?php print format_date($node->created, $type="large"); ?></span>
|
| 21 |
</span>
|
| 22 |
<?php } ?>
|
| 23 |
<?php if ($terms) { ?> <span class="taxonomy">Tags: <?php print $terms?></span> <?php } ?>
|
| 24 |
</div>
|
| 25 |
<div class="content">
|
| 26 |
<?php print $content?>
|
| 27 |
</div>
|
| 28 |
<?php if ($links) { ?><div class="links">» <?php print $links?></div><?php } ?>
|
| 29 |
<div class="clear"></div>
|
| 30 |
</div>
|