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

Diff of /contributions/themes/beach/node.tpl.php

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

revision 1.2, Wed Mar 25 14:37:44 2009 UTC revision 1.3, Fri May 1 09:18:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: node.tpl.php,v 1.2 2009/03/25 14:37:44 gibbozer Exp $
3  ?><div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">  ?><div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
4    
5      <?php if ($submitted): ?>
6        <div class="post-info">
7          <span class="post-date"><?php print (format_date($node->created, 'custom', 'F d')) ?></span>
8          <span class="node-author"><?php print t('By ') ?><?php print $name ?></span>
9          <?php if($comment_count && $teaser): ?>
10            <span class="commment-count"><a rel="nofollow" href="<?php print $node_url ?>#comment-number" title="<?php print t('Comment on ') ?><?php print $title?>"><?php print $comment_count.' '. format_plural($node->comment_count, 'comment', 'comments') ?></a></span>
11            <?php if ($terms): ?><?php print $terms ?><?php endif;?>
12          <?php endif; ?>
13        </div> <!--/post-info-->
14      <?php endif; ?>
15    
16    <?php if (!$page): ?>    <?php if (!$page): ?>
17      <h2 class="title">      <h2 class="node-title">
18        <a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a>        <a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a>
19      </h2>      </h2>
20    <?php endif; ?>    <?php endif; ?>
21    
22    <div class="content">    <?php if (!$teaser): ?>
23        <h1 class="title"><?php print $title ?></h1>
24      <?php endif; ?>
25    
26      <div class="content clear-block">
27    <!--
28      <?php if ($submitted): ?>      <?php if ($submitted): ?>
29          <div class="submitted">          <div class="submitted">
           <span class="post-date"><?php print (format_date($node->created, 'custom', 'F jS, Y')) ?> <?php print (format_date($node->created, 'custom', 'g:i A O')) ?></span>  
   
30            <div class="author-name">            <div class="author-name">
31              <?php print t('By') ?> <?php print $name ?>              <?php print t('By') ?> <?php print $name ?>
32              <?php if ($picture): ?><?php print $picture ?><?php endif; ?>              <?php if ($picture): ?><?php print $picture ?><?php endif; ?>
33            </div>            </div>
   
           <?php if ($terms): ?><div class="terms"><?php print $terms ?></div><?php endif; ?>  
34          </div>          </div>
35      <?php endif; ?>      <?php endif; ?>
36    -->
37      <?php print $content ?>      <?php print $content ?>
38    
39    </div>    </div>
40    
41      <?php if ($teaser): ?>
42    <p class="node-more clear-block"><a class="node-more" href="<?php print $node_url ?>" title="<?php print t('More on ').$title ?>"><?php print t('More') ?></a></p>
43      <?php endif;?>
44    
45        <?php if (!$teaser && $links): ?>
46          <div class="node-links">
47            <?php print $links; ?>
48          </div>
49        <?php endif; ?>
50    <!--
51    <?php if ($links): ?><div class="node-links"><?php print $links; ?></div><?php endif; ?>    <?php if ($links): ?><div class="node-links"><?php print $links; ?></div><?php endif; ?>
52    -->
53    
54  </div>  </div>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2