admin navigation style + character group quest icons

This commit is contained in:
Daniel 2014-04-17 20:17:32 +02:00
commit 4580ccc564
8 changed files with 16 additions and 15 deletions

View file

@ -1,7 +1,7 @@
<h1><?=_('Users')?></h1>
<h2><?=_('Edit user')?></h2>
<form method="post">
<form method="post" class="logreg">
<fieldset>
<label for="username"><?=_('Username')?>:</label>
<input type="text" name="username" placeholder="<?=_('Username')?>" value="<?=$user['username']?>" /><br />

View file

@ -1,5 +1,5 @@
<h1><?=_('Users')?></h1>
<nav>
<nav class="admin">
<li><a href="<?=$linker->link('create', 1)?>"><?=_('Create new user')?></a></li>
</nav>
<ul>

View file

@ -1,7 +1,7 @@
<h1><?=_('Users')?></h1>
<h2><?=$user['username']?></h2>
<?php if(count(array_intersect(array('admin','moderator'),\hhu\z\controllers\IntermediateController::$user['roles'])) > 0) : ?>
<nav>
<nav class="admin">
<li><a href="<?=$linker->link('edit', 3)?>"><?=_('Edit user')?></a></li>
<li><a href="<?=$linker->link('delete', 3)?>"><?=_('Delete user')?></a></li>
</nav>