diff options
Diffstat (limited to 'themes/default/views/photo.html.php')
| -rw-r--r-- | themes/default/views/photo.html.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 887b451c..d374d4f8 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,20 +1,20 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="gItem"> <?= $theme->photo_top() ?> - + <ul id="gPager"> - <li><?= sprintf(_("%d of %d"), $position, $sibling_count) ?></li> + <li><?= t("{{position}} of {{total}}", array("position" => $position, "total" => $sibling_count)) ?></li> <? if ($previous_item): ?> - <li class="previous"><a href="<?= $previous_item->url() ?>"><?= _("previous") ?></a></li> + <li class="previous"><a href="<?= $previous_item->url() ?>"><?= t("previous") ?></a></li> <? endif ?> <? if ($next_item): ?> - <li class="next"><a href="<?= $next_item->url() ?>"><?= _("next") ?></a></li> + <li class="next"><a href="<?= $next_item->url() ?>"><?= t("next") ?></a></li> <? endif ?> </ul> - <img id="gPhotoId-<?= $item->id ?>" + <img id="gPhotoId-<?= $item->id ?>" src="<?= $item->resize_url() ?>" - alt="<?= $item->title ?>" + alt="<?= $item->title ?>" width="<?= $item->resize_width ?>" height="<?= $item->resize_height ?>" /> |
