diff --git a/configs/AppConfig.inc b/configs/AppConfig.inc index eec9e4e9..d895b5c7 100644 --- a/configs/AppConfig.inc +++ b/configs/AppConfig.inc @@ -34,7 +34,8 @@ 'genericname' => 'The Legend of Z', 'namespace' => 'hhu\\z\\', 'timeZone' => 'Europe/Berlin', - 'mailsender' => 'questlab@hhu.de', + 'mailsender' => '', + 'mailcontact' => '', 'registration_host' => '' ); diff --git a/controllers/HtmlController.inc b/controllers/HtmlController.inc index 8291537a..8c451441 100644 --- a/controllers/HtmlController.inc +++ b/controllers/HtmlController.inc @@ -74,6 +74,9 @@ // Set notifications $this->set('notifications', $this->Notification->getNotifications()); + + // Set some application data + $this->set('mailcontact', \nre\configs\AppConfig::$app['mailcontact']); } diff --git a/views/html/html.tpl b/views/html/html.tpl index 40b021db..1be15279 100644 --- a/views/html/html.tpl +++ b/views/html/html.tpl @@ -48,6 +48,9 @@