/usr/share/drupal6/themes/arthemia/comment.tpl.php is in drupal6-thm-arthemia 2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <?php
// $Id: comment.tpl.php,v 1.2 2009/06/20 18:20:54 nbz Exp $
/**
* @file comment.tpl.php
* Default theme implementation for comments.
*
* Available variables:
* - $author: Comment author. Can be link or plain text.
* - $content: Body of the post.
* - $date: Date and time of posting.
* - $links: Various operational links.
* - $new: New comment marker.
* - $picture: Authors picture.
* - $signature: Authors signature.
* - $status: Comment status. Possible values are:
* comment-unpublished, comment-published or comment-preview.
* - $submitted: By line with date and time.
* - $title: Linked title.
*
* These two variables are provided for context.
* - $comment: Full comment object.
* - $node: Node object the comments are attached to.
*
* @see template_preprocess_comment()
* @see theme_comment()
*/
$account = user_load(array('uid'=>$comment->uid));
?>
<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; ?> clear-block">
<div class="comment-header clearfloat">
<div class="submitted"><?php print $submitted; ?></div>
<div class="comment-link"><?php print $comment_link; ?></div>
</div>
<div class="author-data">
<?php print $picture; ?>
<?php if (!$account->created == 0) { ?>
<div class="user-member"><?php print t('<strong>Member since:</strong><br /> !date', array('!date' => format_date($account->created, 'custom', 'j F Y'))); ?></div>
<div class="user-access"><?php print t('<strong>Last activity:</strong><br /> !ago', array('!ago' => format_interval(time() - $account->access))); ?></div>
<?php } ?>
</div>
<div class="comment-main">
<?php if ($comment->new): ?>
<span class="new"><?php print $new; ?></span>
<?php endif; ?>
<div class="content">
<?php print $content; ?>
<?php if ($signature): ?>
<div class="user-signature clear-block">
<div>—</div>
<?php print $signature; ?>
</div>
<?php endif; ?>
</div>
</div>
<?php print $links; ?>
</div>
|