diff options
| author | Chad Kieffer <chad@2tbsp.com> | 2009-01-24 20:06:13 +0000 |
|---|---|---|
| committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-24 20:06:13 +0000 |
| commit | 55cd2afde539842d54bd79fb7bdced37e5e53101 (patch) | |
| tree | d98859e8e84864706124a89f1ee9b1dc1ebf7683 /modules/comment/views | |
| parent | cbff78daa8a642e1800916f92e43202857c3b677 (diff) | |
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
Diffstat (limited to 'modules/comment/views')
| -rw-r--r-- | modules/comment/views/admin_block_recent_comments.html.php | 4 | ||||
| -rw-r--r-- | modules/comment/views/admin_comments.html.php | 4 |
2 files changed, 4 insertions, 4 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() ?>" diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index c5bbc2b6..14b18e91 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -93,8 +93,8 @@ <?= t("Actions") ?> </th> </tr> - <? foreach ($comments as $comment): ?> - <tr id="gComment-<?= $comment->id ?>"> + <? foreach ($comments as $i => $comment): ?> + <tr id="gComment-<?= $comment->id ?>" class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> <td> <a href="#"> <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" |
