diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/wind/views/page.html.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index b3379416..5d0985e7 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -9,17 +9,11 @@ <?= $page_title ?> <? else: ?> <? if ($theme->item()): ?> - <? if ($theme->item()->is_album()): ?> - <?= t("Browse Album :: %album_title", array("album_title" => $theme->item()->title)) ?> - <? elseif ($theme->item()->is_photo()): ?> - <?= t("Photo :: %photo_title", array("photo_title" => $theme->item()->title)) ?> - <? else: ?> - <?= t("Movie :: %movie_title", array("movie_title" => $theme->item()->title)) ?> - <? endif ?> + <?= $theme->item()->title ?> <? elseif ($theme->tag()): ?> - <?= t("Browse Tag :: %tag_title", array("tag_title" => $theme->tag()->name)) ?> + <?= t("Photos tagged with %tag_title", array("tag_title" => $theme->tag()->name)) ?> <? else: /* Not an item, not a tag, no page_title specified. Help! */ ?> - <?= t("Gallery") ?> + <?= item::root()->title ?> <? endif ?> <? endif ?> </title> |