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

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

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


Revision 1.10 - (show annotations) (download) (as text)
Sun Mar 1 13:05:03 2009 UTC (8 months, 4 weeks ago) by shannonlucas
Branch: MAIN
CVS Tags: DRUPAL-6--3-2, DRUPAL-7--1-1, HEAD
Branch point for: DRUPAL-6--4
Changes since 1.9: +4 -4 lines
File MIME type: text/x-php
Fixes for [#387256]
1 <?php
2 // $Id: node.tpl.php,v 1.9 2009/02/11 20:06:30 shannonlucas Exp $
3
4 $node_class = 'node ' . ($sticky ? 'sticky ' : '') . ($status ? '' : ' node-unpublished') . ' node-' . $node->type . ($teaser ? ' teaser' : '');
5
6 if ($nitobe_has_sidebar) {
7 $nitobe_headline_class = "headline grid_12 alpha";
8 $nitobe_title_class = "grid_8 alpha";
9 $nitobe_author_class = "node-author grid_12 alpha";
10 }
11 else {
12 $nitobe_headline_class = "headline grid_16 alpha";
13 $nitobe_title_class = "grid_12 alpha";
14 $nitobe_author_class = "node-author grid_16";
15 }
16 ?>
17 <div id="node-<?php print $node->nid; ?>" class="<?php echo $node_class; ?>">
18 <?php if ($page == 0): ?>
19 <div class="<?php print $nitobe_headline_class; ?>">
20 <h2 class="<?php print $nitobe_title_class; ?>"><a href="<?php print $node_url; ?>" rel="bookmark" title="Permanent Link to <?php print $title; ?>"><?php print $title; ?></a></h2>
21 <?php if (nitobe_show_datestamp($node->type)): ?>
22 <div class="timestamp grid_4 omega"><?php print format_date($created, 'custom', 'd M Y'); ?></div>
23 <?php endif; ?>
24 </div>
25 <?php endif; ?>
26 <div class="content">
27 <?php if (!empty($submitted)): ?>
28 <div class="<?php print $nitobe_author_class; ?>"><?php print t('Posted by !author', array('!author' => $name)); ?></div>
29 <?php endif; ?>
30 <?php print $picture; ?>
31 <?php print $content; ?>
32 <?php if ($teaser && $readmore): ?>
33 <div class="clear"></div>
34 <span class="readmore"><?php print nitobe_read_more_link($node); ?></span>
35 <?php endif; ?>
36 </div>
37
38 <div class="clear"></div>
39 <div class="meta">
40 <?php if ($taxonomy): ?>
41 <?php print nitobe_render_terms($node); ?>
42 <?php if ($comment > 0): ?> | <?php endif; ?>
43 <?php else: ?>
44 &nbsp;
45 <?php endif;?>
46 <?php if ($comment > 0): ?>
47 <?php print nitobe_comment_link($node, $teaser); ?>
48 <?php else: ?>
49 &nbsp;
50 <?php endif; ?>
51 </div>
52
53 <?php if ($links): ?>
54 <div class="links"><?php //print $links; ?></div>
55 <?php endif; ?>
56 <div class="clear"></div>
57
58 </div> <!-- node -->

  ViewVC Help
Powered by ViewVC 1.1.2