summaryrefslogtreecommitdiff
path: root/modules/comment/views/comments.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/comments.html.php')
-rw-r--r--modules/comment/views/comments.html.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
new file mode 100644
index 00000000..f4b3d6dc
--- /dev/null
+++ b/modules/comment/views/comments.html.php
@@ -0,0 +1,14 @@
+<? defined("SYSPATH") or die("No direct script access."); ?>
+<ul>
+ <? foreach ($comments as $comment): ?>
+ <li id="gComment-<?= $comment->id; ?>">
+ <p>
+ <a href="#" class="gAuthor"><?= $comment->author ?></a>
+ <?= date("Y-M-d H:i:s", $comment->created) ?>
+ </p>
+ <div>
+ <?= $comment->text ?>
+ </div>
+ </li>
+ <? endforeach ?>
+</ul>