diff options
Diffstat (limited to 'themes/default/views/photo.html.php')
| -rw-r--r-- | themes/default/views/photo.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 88047381..cf7c83b8 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -14,12 +14,12 @@ </div> <? if ($position > 1): ?> -<a href="<?= url::site("{$previous_item->type}s/$previous_item->id") ?>"><?= _("previous") ?></a> +<a href="<?= $previous_item->url() ?>"><?= _("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> +<a href="<?= $next_item->url() ?>"><?= _("next") ?></a> <? endif ?> |
