Skip to content

Commit

Permalink
pkp/pkp-lib#2291: Add pageTitleTranslated to site index to display si…
Browse files Browse the repository at this point in the history
…te title instead of default key
  • Loading branch information
ctgraham committed Jan 23, 2018
1 parent 91d675e commit a467bd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/index/IndexHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/');

Expand Down

0 comments on commit a467bd0

Please sign in to comment.