diff options
Diffstat (limited to 'themes/default/views/photo.html.php')
| -rw-r--r-- | themes/default/views/photo.html.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 7cfe542a..88047381 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -12,3 +12,14 @@ <?= $theme->photo_bottom() ?> </div> + +<? if ($position > 1): ?> +<a href="<?= url::site("{$previous_item->type}s/$previous_item->id") ?>"><?= _("previous") ?></a> +<? endif ?> +<?= sprintf(_("Viewing photo %d of %d"), $position, $sibling_count) ?> + +<? if ($position < $sibling_count): ?> +<a href="<?= url::site("{$next_item->type}s/$next_item->id") ?>"><?= _("next") ?></a> +<? endif ?> + + |
