diff options
-rw-r--r-- | themes/default/views/photo.html.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index ec7a0576..25eae327 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -7,6 +7,9 @@ <? if ($previous_item): ?> <a href="<?= $previous_item->url() ?>" class="gButtonLink ui-icon-left ui-state-default ui-corner-all"> <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a> + <? else: ?> + <a class="gButtonLink ui-icon-left ui-state-disabled ui-corner-all"> + <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a> <? endif; ?> </li> <li class="gInfo"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li> @@ -14,6 +17,9 @@ <? if ($next_item): ?> <a href="<?= $next_item->url() ?>" class="gButtonLink ui-icon-right ui-state-default ui-corner-all"> <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a> + <? else: ?> + <a class="gButtonLink ui-icon-right ui-state-disabled ui-corner-all"> + <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a> <? endif ?> </li> </ul> |