summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/views/comment_list.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/views/comment_list.html.php b/modules/comment/views/comment_list.html.php
index 81c5691e..16371541 100644
--- a/modules/comment/views/comment_list.html.php
+++ b/modules/comment/views/comment_list.html.php
@@ -1,6 +1,6 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<? foreach (array_reverse($comments) as $index => $comment): ?>
-<li id="gComment-<?= $index; ?>" class="gComment <?= $index % 2 ? 'gOdd' : 'gEven' ?>">
+<li id="gComment-<?= $index; ?>" class="gComment <?= text::alternate("gEven", "gOdd") ?>">
<p>
<a href="#" class="gAuthor"><?= $comment->author ?></a>
<?= comment::format_elapsed_time($comment->datetime) ?>,