diff themes/garland/comment.tpl.php @ 1:c1f4ac30525a 6.0

Drupal 6.0
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:28:28 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/garland/comment.tpl.php	Tue Dec 23 14:28:28 2008 +0100
@@ -0,0 +1,33 @@
+<?php
+// $Id: comment.tpl.php,v 1.10 2008/01/04 19:24:24 goba Exp $
+?>
+<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
+
+  <div class="clear-block">
+  <?php if ($submitted): ?>
+    <span class="submitted"><?php print $submitted; ?></span>
+  <?php endif; ?>
+
+  <?php if ($comment->new) : ?>
+    <span class="new"><?php print drupal_ucfirst($new) ?></span>
+  <?php endif; ?>
+
+  <?php print $picture ?>
+
+    <h3><?php print $title ?></h3>
+
+    <div class="content">
+      <?php print $content ?>
+      <?php if ($signature): ?>
+      <div class="clear-block">
+        <div>—</div>
+        <?php print $signature ?>
+      </div>
+      <?php endif; ?>
+    </div>
+  </div>
+
+  <?php if ($links): ?>
+    <div class="links"><?php print $links ?></div>
+  <?php endif; ?>
+</div>