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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Apr 2 15:51:54 2007 UTC (2 years, 7 months ago) by psicomante
Branch: MAIN
CVS Tags: DRUPAL-5--1-3, DRUPAL-5--1-2, HEAD
Branch point for: DRUPAL-5
Changes since 1.1: +20 -0 lines
File MIME type: text/x-php
Initial Commit for Drupal 5.x
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>

  ViewVC Help
Powered by ViewVC 1.1.2