diff options
Diffstat (limited to 'themes/default')
| -rw-r--r-- | themes/default/views/photo.html.php | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index d23dec2d..9af66c35 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -13,12 +13,13 @@    <?= $theme->photo_bottom() ?>  </div> -<? if ($position > 1): ?> +<? if ($previous_item): ?>  <a href="<?= $previous_item->url() ?>"><?= _("previous") ?></a>  <? endif ?> +  <?= sprintf(_("Viewing photo %d of %d"), $position, $sibling_count) ?> -<? if ($position < $sibling_count): ?> +<? if ($next_item): ?>  <a href="<?= $next_item->url() ?>"><?= _("next") ?></a>  <? endif ?>  | 
