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

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

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

revision 1.7, Wed Jan 24 14:12:17 2007 UTC revision 1.8, Wed Jun 25 12:04:34 2008 UTC
# Line 1  Line 1 
1  <?php phptemplate_comment_wrapper(NULL, $node->type); ?>  <?php k2_comment_wrapper(NULL, $node->type); ?>
2  <div id="node-<?php print $node->nid; ?>" class="hentry node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">  <div id="node-<?php print $node->nid; ?>" class="hentry node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
3    <div class="entry-head">    <div class="entry-head">
4      <?php if ($page == 0): ?>      <?php if ($page == 0): ?>
5        <h2 class="entry-title"><a href="<?php print $node_url ?>" rel="bookmark" title="Permanent Link to <?php print $title ?>"><?php print $title ?></a></h2>        <h3 class="entry-title"><a href="<?php print $node_url ?>" rel="bookmark" title="Permanent Link to <?php print $title ?>"><?php print $title ?></a></h2>
6      <?php endif; ?>      <?php endif; ?>
7      <small class="entry-meta">      <div class="entry-meta">
8        <?php if ( node_access('update', $node) ) { ?><span class="entry-edit"><a href="<?php print url("node/$node->nid/edit") ?>">Edit</a></span><?php }; ?>                  <?php if ($submitted): ?><span class="meta-start">Published</span> <div class="entry-author"><span class="meta-prep">by</span> <address class="vcard author"><?php print $name; ?></address></div> <div class="entry-date"><span class="meta-prep">on</span> <abbr class="published" title="<?php print format_date($node->created)?>"><?php print format_date($node->created)?></abbr></div><?php endif; ?> <?php if (count($taxonomy)): ?><div class="entry-categories"><span class="meta-prep"><?php print t(' in')?></span><?php print $terms; ?></div><?php endif; ?>
       <?php if ($submitted): ?><span class="chronodata"><abbr class="published" title="<?php print format_date($node->created)?>"><?php print format_date($node->created)?></abbr></span><?php endif; ?>  
       <?php if ($taxonomy): ?><span class="entry-category">in <?php print $terms ?></span><?php endif;?>  
9        <?php if ($links): ?><?php print $links; ?><?php endif; ?>        <?php if ($links): ?><?php print $links; ?><?php endif; ?>
10      </small>            <?php if ( node_access('update', $node) ) { ?><span class="entry-edit"><a href="<?php print $node_url ?>/edit" title="Edit post">Edit</a></span><?php }; ?>
11        </div> <!-- .entry-meta -->
12      <?php if ($picture) { print $picture; }?>      <?php if ($picture) { print $picture; }?>
13    </div>    </div> <!-- .entry-head -->
14    <div class="entry-content">    <div class="entry-content">
15      <?php print $content ?>      <?php print $content ?>
   </div>  
 </div>  
16      </div> <!-- .entry-content -->
17    </div> <!-- #post-ID -->

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.2