From: Stefan Schantl Date: Sat, 5 Jul 2014 13:09:50 +0000 (+0200) Subject: Connect subboxes with input elements to the main boxes. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45c98a16fc0c02478f26d9d95e49c0fc4b77da2e;p=people%2Fstevee%2Fipfire-2.x.git Connect subboxes with input elements to the main boxes. --- diff --git a/html/cgi-bin/guardian.cgi b/html/cgi-bin/guardian.cgi index d6638ec5f2..316b8b038e 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) { @@ -479,13 +478,12 @@ 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();