diff options
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; ?> |