rename application to ?Questlab?

This commit is contained in:
coderkun 2014-04-24 14:41:21 +02:00
commit 8e554d90cf
8 changed files with 13 additions and 12 deletions

View file

@ -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');

View file

@ -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'

View file

@ -3,11 +3,11 @@
<head>
<meta charset="utf-8" />
<title>The Legend of Z</title>
<title>Questlab</title>
</head>
<body>
<h1>The Legend of Z</h1>
<h1>Questlab</h1>
<article>
<?=$intermediate?>
</article>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>The Legend of Z</title>
<title><?=\nre\configs\AppConfig::$app['name']?></title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">

View file

@ -1,4 +1,4 @@
<li><a href="<?=$linker->link(array(), 0, true, array(), true)?>"><i class="fa fa-home fa-fw"></i>Questlab</a></li>
<li><a href="<?=$linker->link(array(), 0, true, array(), true)?>"><i class="fa fa-home fa-fw"></i><?=\nre\configs\AppConfig::$app['name']?></a></li>
<?php if(!is_null($loggedUser) && count(array_intersect(array('admin','moderator'),$loggedUser['roles'])) > 0) : ?><li><a href="<?=$linker->link('users')?>"><i class="fa fa-users fa-fw"></i><?=_('Users')?></a></li><?php endif ?>
<?php if(!is_null($loggedUser)) : ?><li><a href="<?=$linker->link('seminaries')?>"><i class="fa fa-pencil-square-o fa-fw"></i><?=_('Seminaries')?></a></li><?php endif ?>
<?php if(!is_null($loggedCharacter) && count($loggedCharacter['characterroles']) > 0) : ?><?=$seminarymenu?><?php endif ?>

View file

@ -3,11 +3,11 @@
<head>
<meta charset="utf-8" />
<title>The Legend of Z</title>
<title>Questlab</title>
</head>
<body>
<h1>The Legend of Z</h1>
<h1>Questlab</h1>
<p>Access denied.</p>
</body>

View file

@ -3,11 +3,11 @@
<head>
<meta charset="utf-8" />
<title>The Legend of Z</title>
<title>Questlab</title>
</head>
<body>
<h1>The Legend of Z</h1>
<h1>Questlab</h1>
<p>Not found.</p>
</body>

View file

@ -3,11 +3,11 @@
<head>
<meta charset="utf-8" />
<title>The Legend of Z</title>
<title>Questlab</title>
</head>
<body>
<h1>The Legend of Z</h1>
<h1>Questlab</h1>
<p>Internal server error.</p>
</body>