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

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

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


Revision 1.4 - (show annotations) (download) (as text)
Sun Dec 28 23:55:27 2008 UTC (11 months ago) by ktleow
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-BETA3, DRUPAL-6--2-0-BETA4, HEAD
Changes since 1.3: +1 -1 lines
File MIME type: text/x-php
Changed the way $submitted is displayed.
1 <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> <?php if ($page) { print ' page'; } ?> clear-block">
2 <?php if ($submitted): ?>
3 <div class="date">
4 <div class="month"><?php print format_date($created, 'custom', 'M'); ?></div>
5 <div class="day"><?php print format_date($created, 'custom', 'j'); ?></div>
6 </div>
7 <?php endif; ?>
8
9 <div class="content">
10 <?php if (!$page): ?>
11 <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
12 <?php endif; ?>
13
14 <?php if ($submitted): ?>
15 <div class="submitted"><?php print $submitted ?></div>
16 <?php endif; ?>
17
18 <?php print $content ?>
19 </div>
20
21 <?php if (!empty($terms) || !empty($links)): ?>
22 <div class="control-links clear-block">
23 <?php if ($page && $terms): ?>
24 <div class="terms">
25 <?php print $terms ?>
26 </div>
27 <?php endif; ?>
28
29 <?php if ($teaser && $readmore): ?>
30 <div class="node_button_read_more"><a href="<?php print $node_url ?>" title="<?php print t('Read the rest of') . ' ' . $title; ?>."><?php print t('Read more'); ?></a></div>
31 <?php endif; ?>
32
33 <?php print $links; ?>
34 </div>
35 <?php endif; ?>
36 </div>

  ViewVC Help
Powered by ViewVC 1.1.2