summaryrefslogtreecommitdiff
path: root/themes/default/views/page.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views/page.html.php')
-rw-r--r--themes/default/views/page.html.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index d463af1b..6bbce475 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -5,10 +5,13 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>
- <? if ($page_type == "tag"): ?>
- <?= t("Browse Tags") ?> :: <?= $tag->name ?>
+ <? if (empty($page_title)): ?>
+ <?= t("Browse Photos") ?>
+ <? if (!empty($item)): ?>
+ :: <?= $item->title ?>
+ <? endif ?>
<? else: ?>
- <?= t("Browse Photos") ?> :: <?= $item->title ?>
+ <?= $page_title ?>
<? endif ?>
</title>
<link rel="shortcut icon" href="<?= $theme->url("images/favicon.ico") ?>" type="image/x-icon" />