aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/header.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-10-13 15:55:35 +0000
committerrvelices <rv-github@modusoptimus.com>2012-10-13 15:55:35 +0000
commit7f75c131ed12fe830a13cc77ae677aa0d68740a4 (patch)
treee3a9158d12ad57ae60c4f82ed58320d82d410313 /themes/default/template/header.tpl
parent1e6e762643273efd9cf012e68006fa57ee1b22a3 (diff)
bug 2772: remove "Home" from html title pages on index pages
git-svn-id: http://piwigo.org/svn/trunk@18637 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/header.tpl')
-rw-r--r--themes/default/template/header.tpl5
1 files changed, 1 insertions, 4 deletions
diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl
index 465c16d96..c375192aa 100644
--- a/themes/default/template/header.tpl
+++ b/themes/default/template/header.tpl
@@ -16,10 +16,7 @@
<meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
{/if}
{/if}
-
-{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
-<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
-<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
+<title>{$PAGE_TITLE}{if $PAGE_TITLE!=$GALLERY_TITLE} | {$GALLERY_TITLE}{/if}</title>
<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >