hide map for Character groups Quest Stations when there are no stations

This commit is contained in:
oliver 2016-04-09 13:44:37 +02:00
commit df14dfafc3
4371 changed files with 1220224 additions and 0 deletions

View file

@ -0,0 +1,18 @@
<div class="moodpic">
<img src="<?=$linker->link(array('grafics','questlab.jpg'))?>" />
</div>
<h1><?=\nre\configs\AppConfig::$app['name']?></h1>
<form method="post">
<fieldset>
<legend><?=_('Introduction text')?></legend>
<textarea id="text" name="text" placeholder="<?=_('Please enter an introduction text')?>"><?=$text?></textarea>
</fieldset>
<input type="submit" name="edit" value="<?=_('save')?>" />
<input type="submit" name="cancel" value="<?=_('cancel')?>" />
</form>
<script>
$(function() {
$("#text").markItUp(mySettings);
});
</script>

View file

@ -0,0 +1,38 @@
<div class="moodpic">
<img src="<?=$linker->link(array('grafics','questlab.jpg'))?>" />
</div>
<?php if(is_null($userId)) : ?>
<form method="post" action="<?=$linker->link(array('users','login'))?>" class="logreg front">
<fieldset>
<p>
<label for="username"><?=_('Username')?>:</label>
<input id="username" name="username" type="text" placeholder="<?=_('Username')?>" title="<?=_('Username')?>" required="required" autofocus="autofocus" />
</p>
<p>
<label for="password"><?=_('Password')?>:</label>
<input id="password" name="password" type="password" placeholder="<?=_('Password')?>" title="<?=_('Password')?>" required="required" />
</p>
<input type="submit" name="login" class="cta" value="<?=_('Login')?>" />
</fieldset>
<p class="register"><?=_('or')?> <a href="<?=$linker->link(array('users','register'))?>"><?=_('register yourself')?></a></p>
</form>
<?php endif ?>
<?php if(!is_null(\hhu\z\controllers\IntermediateController::$user) && in_array('admin',\hhu\z\controllers\IntermediateController::$user['roles'])) : ?>
<nav class="admin">
<li><a href="<?=$linker->link('edit', 1)?>"><?=_('edit')?></a></li>
</nav>
<?php endif ?>
<h1><?=\nre\configs\AppConfig::$app['name']?></h1>
<?php if(!empty($text)) : ?>
<div class="text">
<?=$t->t($text)?>
</div>
<?php endif ?>
<hr />
<p><?=sprintf(
_('This application is powered by %s and is licensed under the %s'),
'<a href="http://www.questlab.zone">Questlab</a>',
'<a rel="license" href="http://www.gnu.org/licenses/gpl.html">GPL</a>'
)?>.</p>