rename application to ?Questlab?
This commit is contained in:
parent
54c8e3b656
commit
e76160c82a
8 changed files with 13 additions and 12 deletions
|
|
@ -50,7 +50,7 @@
|
||||||
private function setLanguage(\nre\core\Request $request)
|
private function setLanguage(\nre\core\Request $request)
|
||||||
{
|
{
|
||||||
// Set domain
|
// Set domain
|
||||||
$domain = \nre\configs\AppConfig::$app['name'];
|
$domain = \nre\configs\AppConfig::$app['genericname'];
|
||||||
|
|
||||||
// Get language
|
// Get language
|
||||||
$locale = $request->getGetParam('lang', 'language');
|
$locale = $request->getGetParam('lang', 'language');
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,8 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $app = array(
|
public static $app = array(
|
||||||
'name' => 'The Legend of Z',
|
'name' => 'Questlab',
|
||||||
|
'genericname' => 'The Legend of Z',
|
||||||
'namespace' => 'hhu\\z\\',
|
'namespace' => 'hhu\\z\\',
|
||||||
'timeZone' => 'Europe/Berlin',
|
'timeZone' => 'Europe/Berlin',
|
||||||
'mailsender' => 'noreply@zyren.inf-d.de'
|
'mailsender' => 'noreply@zyren.inf-d.de'
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>The Legend of Z</title>
|
<title>Questlab</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>The Legend of Z</h1>
|
<h1>Questlab</h1>
|
||||||
<article>
|
<article>
|
||||||
<?=$intermediate?>
|
<?=$intermediate?>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<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">
|
<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="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">
|
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
||||||
|
|
|
||||||
|
|
@ -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) && 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($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 ?>
|
<?php if(!is_null($loggedCharacter) && count($loggedCharacter['characterroles']) > 0) : ?><?=$seminarymenu?><?php endif ?>
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>The Legend of Z</title>
|
<title>Questlab</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>The Legend of Z</h1>
|
<h1>Questlab</h1>
|
||||||
<p>Access denied.</p>
|
<p>Access denied.</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>The Legend of Z</title>
|
<title>Questlab</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>The Legend of Z</h1>
|
<h1>Questlab</h1>
|
||||||
<p>Not found.</p>
|
<p>Not found.</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>The Legend of Z</title>
|
<title>Questlab</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>The Legend of Z</h1>
|
<h1>Questlab</h1>
|
||||||
<p>Internal server error.</p>
|
<p>Internal server error.</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue