diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2009-11-15 20:43:48 -0700 |
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2009-11-15 20:43:48 -0700 |
| commit | dcfa74e2d9084a4dd9ac56333c47d6fdbee46707 (patch) | |
| tree | da6885b8bd689705c4695f8c809ddc0c1bb486eb /modules/gallery/views/admin_advanced_settings.html.php | |
| parent | de3bfac2ecff4108517e61213926de64a8046610 (diff) | |
| parent | 9379308f91a476f790fb8d444536719535c584e4 (diff) | |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views/admin_advanced_settings.html.php')
| -rw-r--r-- | modules/gallery/views/admin_advanced_settings.html.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/gallery/views/admin_advanced_settings.html.php b/modules/gallery/views/admin_advanced_settings.html.php index 32fbc2c3..ff4843ab 100644 --- a/modules/gallery/views/admin_advanced_settings.html.php +++ b/modules/gallery/views/admin_advanced_settings.html.php @@ -16,10 +16,9 @@ <th> <?= t("Name") ?> </th> <th> <?= t("Value") ?></th> </tr> - <? $i = 0; ?> <? foreach ($vars as $var): ?> <? if ($var->module_name == "gallery" && $var->name == "_cache") continue ?> - <tr class="<?= ($i % 2 == 0) ? "g-odd" : "g-even" ?>"> + <tr class="<?= text::alternate("g-odd", "g-even") ?>"> <td> <?= $var->module_name ?> </td> <td> <?= html::clean($var->name) ?> </td> <td> @@ -34,7 +33,6 @@ </a> </td> </tr> - <? $i++ ?> <? endforeach ?> </table> </div> |
