Adjust disabled registration wording, prevent manual form submission
This commit is contained in:
parent
717aee90db
commit
97104b8392
@ -17,6 +17,10 @@ function errorBack(string $errormsg) {
|
||||
die($errormsg);
|
||||
}
|
||||
|
||||
if (!empty($SETTINGS["disable_registration"]) && $SETTINGS["disable_registration"] == true) {
|
||||
die("Online registration is now closed.");
|
||||
}
|
||||
|
||||
$database->action(function($database) {
|
||||
global $SETTINGS;
|
||||
|
||||
|
@ -30,7 +30,7 @@ if (isset($_SESSION['familyid']) && $database->has('families', ['familyid' => $_
|
||||
<div class="ml-auto mr-auto pl-4 align-self-center text-center">
|
||||
<h1>Day Camp Registration</h1>
|
||||
|
||||
<h3>Online registration for Day Camp is closed.</h3>
|
||||
<h3>Online registration is now closed.</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user