diff options
author | vdigital <vdigital@piwigo.org> | 2009-01-17 22:22:30 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2009-01-17 22:22:30 +0000 |
commit | 7ee25a341918004d2fd26e52d4adbab3dc7cf44d (patch) | |
tree | 0b3a7aca2d2ec20e0a9ec7d81ff6403b6ed9f64b /include/page_header.php | |
parent | 726448af74a424db7409bb581e19bb9d15bc5933 (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.
- Croatian flag
merge -c3091 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3095 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_header.php')
-rw-r--r-- | include/page_header.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/page_header.php b/include/page_header.php index 6c157a5ec..6b9fcfffe 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -43,6 +43,10 @@ $template->assign( isset($page['body_id']) ? $page['body_id'] : '', + 'REVERSE' => + (isset($conf['reverse_home_title']) and $conf['reverse_home_title']) ? + true : false, + 'CONTENT_ENCODING' => get_pwg_charset(), 'PAGE_TITLE' => strip_tags($title), |