Renamed and moved gOdd/gEven CSS classes.

This commit is contained in:
Chad Kieffer
2009-10-03 12:33:53 -06:00
parent 5ab0be3e62
commit 9145331fd4
8 changed files with 16 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<? foreach ($comments as $i => $comment): ?>
<li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>">
<li class="<?= ($i % 2 == 0) ? "g-even-row" : "g-odd-row" ?>">
<img src="<?= $comment->author()->avatar_url(32, $theme->url("images/avatar.jpg", true)) ?>"
class="gAvatar"
alt="<?= html::clean_attribute($comment->author_name()) ?>"