captive: Redesign clients list box

Mostly code cleanup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-05-01 11:40:06 +01:00
parent a0b271e474
commit 41964aba09
12 changed files with 62 additions and 22 deletions

View File

@@ -116,7 +116,7 @@ if ($cgiparams{'ACTION'} eq "SUBMIT") {
$clientshash{$key}[3] = $settings{'SESSION_TIME'} || "0";
# No coupon code
$clientshash{$key}[4] = "LICENSE";
$clientshash{$key}[4] = "TERMS";
&General::log("Captive", "Internet access granted via license agreement for $ip_address until $clientshash{$key}[3]");
}