hide map for Character groups Quest Stations when there are no stations
This commit is contained in:
commit
df14dfafc3
4371 changed files with 1220224 additions and 0 deletions
21
views/html/menu/index.tpl
Normal file
21
views/html/menu/index.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<li><a href="<?=$linker->link(array(), 0, true, array(), true)?>"><?=\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')?>"><?=_('Users')?></a></li>
|
||||
<?php endif ?>
|
||||
<?php if(!is_null($loggedUser)) : ?>
|
||||
<li><a href="<?=$linker->link('seminaries')?>"><?=_('Seminaries')?></a></li>
|
||||
<?php endif ?>
|
||||
<?php if(!is_null($loggedCharacter) && count($loggedCharacter['characterroles']) > 0) : ?>
|
||||
<?=$seminarymenu?>
|
||||
<?php endif ?>
|
||||
<?php if(!is_null($loggedUser) && in_array('admin',$loggedUser['roles'])) : ?>
|
||||
<li><a href="<?=$linker->link('pages')?>"><?=_('Pages')?></a></li>
|
||||
<?php endif ?>
|
||||
<?php foreach($pages as &$page) : ?>
|
||||
<li><a href="<?=$linker->link(array('pages','page',$page['url']))?>"><?=$page['title']?></a></li>
|
||||
<?php endforeach ?>
|
||||
<?php if(is_null($loggedUser)) : ?>
|
||||
<li><a href="<?=$linker->link(array('users','login'))?>"><?=_('Login')?></a></li>
|
||||
<?php else : ?>
|
||||
<li><a href="<?=$linker->link(array('users','logout'))?>"><?=_('Logout')?></a></li>
|
||||
<?php endif ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue