From a467bd030a2a87d7cb7bdc1bfa4dfe64f34d4398 Mon Sep 17 00:00:00 2001 From: Clinton Graham Date: Tue, 23 Jan 2018 08:31:41 -0500 Subject: [PATCH] pkp/pkp-lib#2291: Add pageTitleTranslated to site index to display site title instead of default key --- pages/index/IndexHandler.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/index/IndexHandler.inc.php b/pages/index/IndexHandler.inc.php index 897717eb372..5e16426b389 100644 --- a/pages/index/IndexHandler.inc.php +++ b/pages/index/IndexHandler.inc.php @@ -81,6 +81,7 @@ function index($args, $request) { $request->redirect($journal->getPath()); } + $templateMgr->assign('pageTitleTranslated', $site->getLocalizedPageHeaderTitle()); $templateMgr->assign('about', $site->getLocalizedAbout()); $templateMgr->assign('journalFilesPath', $request->getBaseUrl() . '/' . Config::getVar('files', 'public_files_dir') . '/journals/');