user group statistics can now only read statistics
This commit is contained in:
@@ -39,14 +39,14 @@
|
||||
echo "</select>
|
||||
</form>";
|
||||
}
|
||||
if($session != "total-score" && get_teams_no_points($con, $session)->rowCount() > 0) {
|
||||
if($session != "total-score" && get_teams_no_points($con, $session)->rowCount() > 0 && $user_data['user_group'] != 'statistics') {
|
||||
echo "<form action=\"add_entry.php\" method=\"get\">
|
||||
<input type=\"hidden\" name=\"station\" value=\"$session\"/>
|
||||
<input type=\"submit\" value=\"Ergebniss eintragen\"/>
|
||||
</form>\n";
|
||||
}
|
||||
|
||||
if ($session != "total-score") {
|
||||
if ($session != "total-score" && $user_data['user_group'] != 'statistics') {
|
||||
//add edit button
|
||||
echo "<div>
|
||||
<form action=\"edit_statistics.php\" method=\"get\">
|
||||
|
||||
Reference in New Issue
Block a user