Registrer ukjent startnummer
This commit is contained in:
parent
b86be61331
commit
604fb365c6
@ -33,6 +33,11 @@ function registration_table($runners) {
|
|||||||
}
|
}
|
||||||
$runners = $runners_filtered;
|
$runners = $runners_filtered;
|
||||||
}
|
}
|
||||||
|
if (count($runners) == 0) {
|
||||||
|
$runner_id = $query["filter"];
|
||||||
|
$response = "<div class=\"flash default\">Fant ingen løper med dette startnummeret. Registrer likevell? <button onclick=\"register_runner($runner_id)\">Registrer startnummer $runner_id ✓</button></div>";
|
||||||
|
echo($response);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -72,6 +77,7 @@ function registration_table($runners) {
|
|||||||
}
|
}
|
||||||
echo("</tbody>");
|
echo("</tbody>");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function participants_table($runners) {
|
function participants_table($runners) {
|
||||||
usort($runners, "cmp_course");
|
usort($runners, "cmp_course");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user