aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2009-01-17 22:13:31 +0000
committervdigital <vdigital@piwigo.org>2009-01-17 22:13:31 +0000
commit192f33353b99a80d2b8c20771c48e195e7170c08 (patch)
treee25de25dffb308dbc9eec74d7d73ad8662e34c4c /template/yoga
parent3c3d75d7bb90aa4190188c775a120d2f1663f495 (diff)
Title harmonization in the scope of Piwigo website integration.
$conf['reverse_home_title'] is false by default. On reverse_home_title = true, only index page will reverse its title. Compare to prior releases all titles are reversed. git-svn-id: http://piwigo.org/svn/branches/2.0@3090 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/header.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index c64ae5959..668d7c505 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -18,7 +18,9 @@
{/if}
{/if}
-<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
+{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))}
+<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
+<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
<link rel="start" title="{'home'|@translate}" href="{$U_HOME}" >