user group statistics can now only read statistics
This commit is contained in:
@@ -24,9 +24,13 @@
|
||||
echo "<a href=\"mannschaft.php\">Mannschaftsverwaltung</a>\n";
|
||||
echo "<a href=\"stationen.php\">Stationen</a>\n";
|
||||
}
|
||||
if ($_SESSION['user_group'] == 'statistics') {
|
||||
echo "<a href=\"statistik.php\">Ergebnisse</a>";
|
||||
} else {
|
||||
echo "<a href=\"statistik.php\">Ergebnisse eintragen</a>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<a href="statistik.php">Ergebnisse eintragen</a>
|
||||
</nav>
|
||||
</section>
|
||||
</header>
|
||||
Reference in New Issue
Block a user