mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-26 14:29:14 -04:00
use text::alternate where appropriate
This commit is contained in:
@@ -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) ?>,
|
||||
|
||||
Reference in New Issue
Block a user