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

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

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


Revision 1.3 - (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.2: +5 -6 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: comment.tpl.php,v 1.2 2007/11/28 22:36:44 zarabadoo Exp $
3 ?>
4 <?php echo "<!-- START " . basename('comment.tpl') . " -->"; ?>
5 <div class="comment<?php if ($comment->status == COMMENT_NOT_PUBLISHED) print ' comment-unpublished'; ?><?php if ($new != '') print ' comment-new'; ?> <?php print $zebra; ?> hentry">
6 <h3 class="title entry-title"><?php print l($comment->subject, $base_path.'node/'.$comment->nid, array('rel' => 'bookmark self'), NULL, 'comment-'.$comment->cid); ?></h3>
7 <?php if ($new != ''): ?>
8 <span class="new"><?php print $new; ?></span>
9 <?php endif; ?>
10 <?php if ($picture) print $picture; ?>
11 <span class="submitted "><?php print t('Submitted on ') ?> <abbr class="published" title="<?php print format_date($comment->timestamp, 'custom', "Y-m-d").'T'.format_date($comment->timestamp, 'custom', "H:i:s"); ?>"><?php print format_date($comment->timestamp, 'custom', "F jS, Y"); ?></abbr> <?php print t('by'); ?> <?php print theme('username', $comment); ?></span>
12 <div class="content entry-content">
13 <?php print $content; ?>
14 </div>
15 <div class="links">
16 <?php print $links; ?>
17
18 </div>
19 </div>
20 <?php echo "<!-- END " . basename('comment.tpl') . " -->"; ?>
21

  ViewVC Help
Powered by ViewVC 1.1.2