From 45c98a16fc0c02478f26d9d95e49c0fc4b77da2e Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 5 Jul 2014 15:09:50 +0200 Subject: [PATCH] Connect subboxes with input elements to the main boxes. --- html/cgi-bin/guardian.cgi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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(); -- 2.39.5