diff options
Diffstat (limited to 'modules/comment/views/admin_block_recent_comments.html.php')
| -rw-r--r-- | modules/comment/views/admin_block_recent_comments.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php index 39d39929..d641d9ae 100644 --- a/modules/comment/views/admin_block_recent_comments.html.php +++ b/modules/comment/views/admin_block_recent_comments.html.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <ul> - <? foreach ($comments as $comment): ?> - <li> + <? foreach ($comments as $i => $comment): ?> + <li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" class="gAvatar" alt="<?= $comment->author_name() ?>" |
