diff options
Diffstat (limited to 'modules/main.inc.php')
-rw-r--r-- | modules/main.inc.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/main.inc.php b/modules/main.inc.php index 8873b12..db62096 100644 --- a/modules/main.inc.php +++ b/modules/main.inc.php @@ -10,10 +10,10 @@ class Page_Main extends Page protected function doRender() { - Render::addTemplate('main/_page'); + Render::addTemplate('main/_page', array('suite' => CONFIG_SUITE)); if (!User::isLoggedIn()) { // Guest - Render::addTemplate('main/guest', array('prefix' => CONFIG_PREFIX)); + Render::addTemplate('main/guest', array('prefix' => CONFIG_PREFIX, 'suite' => CONFIG_SUITE, 'idm' => CONFIG_IDM)); return; } // Logged in user -- @@ -55,7 +55,7 @@ class Page_Main extends Page private function renderShibbolethRegistered() { - Render::addTemplate('main/logged-in'); + Render::addTemplate('main/logged-in', array('suite' => CONFIG_SUITE)); } private function renderShibbolethUnregistered() @@ -78,6 +78,8 @@ class Page_Main extends Page } } } + $data['suite'] = CONFIG_SUITE; + $data['idm'] = CONFIG_IDM; Render::addTemplate('main/deploy', $data); } |