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

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

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


Revision 1.3 - (show annotations) (download) (as text)
Mon Aug 29 21:51:57 2005 UTC (4 years, 2 months ago) by robinmonks
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--2, DRUPAL-4-7
Changes since 1.2: +1 -0 lines
File MIME type: text/x-php
Add correct info strings to all files.
1 <?php /* $Id: Exp $ */ ?>
2 <div class="comment <?php print ($comment->new) ? 'comment-new' : '' ?>">
3 <div class="header">
4 <h3 class="title">
5 <?php print $comment->subject; ?>
6 <?php if ($comment->new) : ?>
7 <a id="new" name="new" class="text-replacement"><?php phptemplate_mark(); ?></a>
8 <?php endif; ?>
9 </h3>
10 <div class="meta">
11 <small>
12 <?php
13 // output permalink
14 if ($comment->cid) {
15 print l('#'. $comment->cid, 'node/'. $comment->nid, array('class' => 'icon icon-comment comment-permalink','title' => 'Permalink to this comment'), NULL, 'comment-'. $comment->cid);
16 }
17 ?>
18 <?php print "\n" .t('<span class="comment-date">On ' . str_replace('-', ' ', format_date($comment->timestamp)) . '</span> <span class="comment-author">'. format_name($comment) .'</span> said,'); ?>
19 </small>
20 </div>
21 </div>
22 <div class="content">
23 <?php if ( $picture) : ?>
24 <div class="user-picture">
25 <?php print $picture ?>
26 </div>
27 <?php endif; ?>
28 <?php print civicspace_word_split(phptemplate_wrap_content($content)); ?>
29 </div>
30 <div class="footer">
31 <div class="links">
32 <?php print $links; ?>
33 </div>
34 </div>
35 </div>

  ViewVC Help
Powered by ViewVC 1.1.2