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

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

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


Revision 1.1 - (show annotations) (download) (as text)
Wed Mar 18 09:32:52 2009 UTC (8 months, 1 week ago) by hoainam12k
Branch: MAIN
CVS Tags: DRUPAL-6--1-2, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
For Drupal 6.0
1 <?php
2 // $Id: comment.tpl.php,v 1.4.2.1 2008/03/21 21:58:28 goba Exp $
3
4 /**
5 * @file comment.tpl.php
6 * Default theme implementation for comments.
7 *
8 * Available variables:
9 * - $author: Comment author. Can be link or plain text.
10 * - $content: Body of the post.
11 * - $date: Date and time of posting.
12 * - $links: Various operational links.
13 * - $new: New comment marker.
14 * - $picture: Authors picture.
15 * - $signature: Authors signature.
16 * - $status: Comment status. Possible values are:
17 * comment-unpublished, comment-published or comment-preview.
18 * - $submitted: By line with date and time.
19 * - $title: Linked title.
20 *
21 * These two variables are provided for context.
22 * - $comment: Full comment object.
23 * - $node: Node object the comments are attached to.
24 *
25 * @see template_preprocess_comment()
26 * @see theme_comment()
27 */
28 ?>
29 <div class="listcomments clearfix">
30 <div class="comment-author">
31 <?php print $author ?> <span class="says">says:</span>
32 </div>
33 <div class="submitted">
34 <?php print format_date($comment->timestamp, 'custom', 'F d, Y'); ?> at <?php print format_date($comment->timestamp, 'custom', 'g:i a'); ?>
35 </div>
36
37 <div class="content">
38 <p><?php print $content ?></p>
39 <?php if ($signature): ?>
40 <div class="user-signature">
41 <?php print $signature ?>
42 </div>
43 <?php endif; ?>
44 </div>
45 <div class="reply"><?php print $links ?></div>
46 </div>

  ViewVC Help
Powered by ViewVC 1.1.2