From 8e554d90cf9f5042eb72df14ca2e510ebdcd5a45 Mon Sep 17 00:00:00 2001 From: coderkun Date: Thu, 24 Apr 2014 14:41:21 +0200 Subject: [PATCH] rename application to ?Questlab? --- agents/toplevel/HtmlAgent.inc | 2 +- configs/AppConfig.inc | 3 ++- views/fault/fault.tpl | 4 ++-- views/html/html.tpl | 2 +- views/html/menu/index.tpl | 2 +- www/error403.html | 4 ++-- www/error404.html | 4 ++-- www/error500.html | 4 ++-- 8 files changed, 13 insertions(+), 12 deletions(-) diff --git a/agents/toplevel/HtmlAgent.inc b/agents/toplevel/HtmlAgent.inc index 049ba904..bedcf848 100644 --- a/agents/toplevel/HtmlAgent.inc +++ b/agents/toplevel/HtmlAgent.inc @@ -50,7 +50,7 @@ private function setLanguage(\nre\core\Request $request) { // Set domain - $domain = \nre\configs\AppConfig::$app['name']; + $domain = \nre\configs\AppConfig::$app['genericname']; // Get language $locale = $request->getGetParam('lang', 'language'); diff --git a/configs/AppConfig.inc b/configs/AppConfig.inc index 6d08a01f..04245f68 100644 --- a/configs/AppConfig.inc +++ b/configs/AppConfig.inc @@ -30,7 +30,8 @@ * @var array */ public static $app = array( - 'name' => 'The Legend of Z', + 'name' => 'Questlab', + 'genericname' => 'The Legend of Z', 'namespace' => 'hhu\\z\\', 'timeZone' => 'Europe/Berlin', 'mailsender' => 'noreply@zyren.inf-d.de' diff --git a/views/fault/fault.tpl b/views/fault/fault.tpl index 307b772d..a6459f96 100644 --- a/views/fault/fault.tpl +++ b/views/fault/fault.tpl @@ -3,11 +3,11 @@ - The Legend of Z + Questlab -

The Legend of Z

+

Questlab

diff --git a/views/html/html.tpl b/views/html/html.tpl index 69ab8f63..b121e295 100644 --- a/views/html/html.tpl +++ b/views/html/html.tpl @@ -3,7 +3,7 @@ - The Legend of Z + <?=\nre\configs\AppConfig::$app['name']?> diff --git a/views/html/menu/index.tpl b/views/html/menu/index.tpl index a0e6cbf7..64627e74 100644 --- a/views/html/menu/index.tpl +++ b/views/html/menu/index.tpl @@ -1,4 +1,4 @@ -
  • Questlab
  • +
  • 0) : ?>
  • 0) : ?> diff --git a/www/error403.html b/www/error403.html index c8867377..b1a0c1ea 100644 --- a/www/error403.html +++ b/www/error403.html @@ -3,11 +3,11 @@ - The Legend of Z + Questlab -

    The Legend of Z

    +

    Questlab

    Access denied.

    diff --git a/www/error404.html b/www/error404.html index 874106f4..748077aa 100644 --- a/www/error404.html +++ b/www/error404.html @@ -3,11 +3,11 @@ - The Legend of Z + Questlab -

    The Legend of Z

    +

    Questlab

    Not found.

    diff --git a/www/error500.html b/www/error500.html index b7afa5c0..5528716b 100644 --- a/www/error500.html +++ b/www/error500.html @@ -3,11 +3,11 @@ - The Legend of Z + Questlab -

    The Legend of Z

    +

    Questlab

    Internal server error.