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

View File

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