This commit is contained in:
William 2022-02-27 09:05:52 +01:00
parent b4d045d8aa
commit a13fd59373

View File

@ -42,12 +42,14 @@
<li><a href="<?=$this->config['root_url']?>teamtable/index.php">Se lagene</a></li> <li><a href="<?=$this->config['root_url']?>teamtable/index.php">Se lagene</a></li>
</ul> </ul>
<?php if ($this->user->powerLevel > 0): ?> <?php if ($this->user->loggedIn): ?>
<h4>Tillatelser</h4> <?php if ($this->user->powerLevel > 0): ?>
<ul> <h4>Tillatelser</h4>
<li><a href="<?=$this->config['root_url']?>simulator.php">Simulator</a></li> <ul>
<li><a href="<?=$this->config['root_url']?>teamtable/edit/index.php">Endre lagene</a></li> <li><a href="<?=$this->config['root_url']?>simulator.php">Simulator</a></li>
</ul> <li><a href="<?=$this->config['root_url']?>teamtable/edit/index.php">Endre lagene</a></li>
</ul>
<?php endif; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>