From: Stefan Schantl Date: Sat, 5 Jul 2014 13:09:50 +0000 (+0200) Subject: guardian.cgi: Connect subboxes with input elements to the main boxes. X-Git-Tag: v2.19-core104~20^2~47 X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fipfire-2.x.git;a=commitdiff_plain;h=1d5702a7c3e4de0700d08c2e45a1a2891f777fa9 guardian.cgi: Connect subboxes with input elements to the main boxes. Signed-off-by: Stefan Schantl --- diff --git a/html/cgi-bin/guardian.cgi b/html/cgi-bin/guardian.cgi index d1cb605320..ce1e115cf1 100644 --- a/html/cgi-bin/guardian.cgi +++ b/html/cgi-bin/guardian.cgi @@ -404,11 +404,10 @@ END print "\n"; - &Header::closebox(); - # Section to add new elements to the ignore list. print < +
+
@@ -420,6 +419,8 @@ END
END + + &Header::closebox(); } # Function to list currently bocked addresses from guardian and unblock them or add custom entries to block. @@ -466,8 +467,6 @@ END END } - close (FILE); - # If the loop only has been runs once the id still is "0", which means there are no # additional entries (blocked hosts) in the iptables chain. if ($id == 0) { @@ -480,12 +479,11 @@ END print "\n"; - &Header::closebox(); - # Section for a manual block of an IP-address. print < - +
+
+
@@ -497,6 +495,8 @@ END
$Lang::tr{'guardian block a host'}:
END + + &Header::closebox(); } &Header::closebigbox();