diff options
| author | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-15 16:52:23 +0000 |
|---|---|---|
| committer | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-15 16:52:23 +0000 |
| commit | f9eaa8c220630578664fb6b46d082fce42726ca5 (patch) | |
| tree | a9bac48a58c68d575ef46eed149d9daf4f6a0093 /modules/comment/views/comment_list.html.php | |
| parent | 66bd9d85b3820df8e4393019754d6a11294d4d4e (diff) | |
Initial add comment implementation.
Diffstat (limited to 'modules/comment/views/comment_list.html.php')
| -rw-r--r-- | modules/comment/views/comment_list.html.php | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/modules/comment/views/comment_list.html.php b/modules/comment/views/comment_list.html.php index ea824597..81c5691e 100644 --- a/modules/comment/views/comment_list.html.php +++ b/modules/comment/views/comment_list.html.php @@ -1,15 +1,13 @@ <? defined("SYSPATH") or die("No direct script access."); ?> -<ul id="gCommentThread"> - <? foreach (array_reverse($comments) as $index => $comment): ?> - <li id="gComment-<?= $index; ?>" class="gComment <?= $index % 2 ? 'gOdd' : 'gEven' ?>"> - <p> - <a href="#" class="gAuthor"><?= $comment->author ?></a> - <?= comment::format_elapsed_time($comment->datetime) ?>, - <span class="gUnderstate"><?= strftime('%c', $comment->datetime) ?></span> - </p> - <div> - <?= $comment->text ?> - </div> - </li> - <? endforeach; ?> -</ul> +<? foreach (array_reverse($comments) as $index => $comment): ?> +<li id="gComment-<?= $index; ?>" class="gComment <?= $index % 2 ? 'gOdd' : 'gEven' ?>"> + <p> + <a href="#" class="gAuthor"><?= $comment->author ?></a> + <?= comment::format_elapsed_time($comment->datetime) ?>, + <span class="gUnderstate"><?= strftime('%c', $comment->datetime) ?></span> + </p> + <div> + <?= $comment->text ?> + </div> +</li> +<? endforeach; ?> |
