/[drupal]/contributions/themes/sands/node.tpl.php
ViewVC logotype

Contents of /contributions/themes/sands/node.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download) (as text)
Thu Aug 3 01:03:07 2006 UTC (3 years, 3 months ago) by samat
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
File MIME type: text/x-php
bug http://drupal.org/node/76812
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">&raquo; <?php print $links?></div><?php } ?>
29 <div class="clear"></div>
30 </div>

  ViewVC Help
Powered by ViewVC 1.1.2