Registrer ukjent startnummer
This commit is contained in:
parent
b86be61331
commit
604fb365c6
@ -33,6 +33,11 @@ function registration_table($runners) {
|
||||
}
|
||||
$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 {
|
||||
|
||||
|
||||
|
||||
@ -71,6 +76,7 @@ function registration_table($runners) {
|
||||
echo ("<tr $cssclass><td>$runner->id</td><td>$runner->name</td><td>$tid_passering</td><td>$button</td></tr>\n");
|
||||
}
|
||||
echo("</tbody>");
|
||||
}
|
||||
}
|
||||
|
||||
function participants_table($runners) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user