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

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

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


Revision 1.4 - (show annotations) (download) (as text)
Thu Nov 29 18:02:32 2007 UTC (23 months, 3 weeks ago) by zarabadoo
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--2
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
Make comments on nodes hAtom microformat compatible and five the username hCard format to work better.
1 <?php
2 // $Id: node.tpl.php,v 1.3 2007/11/29 00:36:03 zarabadoo Exp $
3 ?>
4 <?php echo "<!-- START " . basename('node.tpl') . " -->"; ?>
5
6 <div id="node-<?php print $node->nid; ?>" class="<?php print $node_classes ?><?php if ($page == 0) print ' hentry'; ?>">
7 <?php if ($page == 0): ?>
8 <h2 class="title entry-title"><a href="<?php print $node_url ?>" rel="bookmark"><?php print $title; ?></a></h2>
9 <?php endif; ?>
10 <?php if ($picture) print $picture; ?>
11 <?php if ($submitted): ?>
12 <span class="submitted "><?php print t('Posted') ?> <abbr class="published" title="<?php print format_date($node->created, 'custom', "Y-m-d").'T'.format_date($node->created, 'custom', "H:i:s"); ?>"><?php print format_date($node->created, 'custom', "F jS, Y"); ?></abbr> <?php print t('by'); ?> <?php print theme('username', $node); ?></span>
13 <?php endif; ?>
14 <?php if (count($taxonomy)): ?>
15 <div class="taxonomy tags">
16 <?php print t(' in ') . $terms ?>
17 </div>
18 <?php endif; ?>
19 <div class="content entry-content">
20 <?php print $content; ?>
21 </div>
22 <?php if ($links): ?>
23 <div class="links">
24 <?php print $links; ?>
25
26 </div>
27 <?php endif; ?>
28 </div> <!-- /#node-<?php print $node->nid; ?> -->
29 <?php echo "<!-- END " . basename('node.tpl') . " -->"; ?>
30
31

  ViewVC Help
Powered by ViewVC 1.1.2