From d8d7dd3bd8aa6b849dd191588e63947aa4444007 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 17 Oct 2013 17:58:45 +0200 Subject: [PATCH] firewall: Don't show rule activation checkbox when creating a rule. Almost certainly, the user wants the new rule to be active when it is created. We should put as few input elements as possible on the rule creation page. --- html/cgi-bin/forwardfw.cgi | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/forwardfw.cgi b/html/cgi-bin/forwardfw.cgi index 47bee0189b..ef94db1453 100755 --- a/html/cgi-bin/forwardfw.cgi +++ b/html/cgi-bin/forwardfw.cgi @@ -1917,9 +1917,34 @@ END } print< - - +
$Lang::tr{'fwdfw rule activate'}
$Lang::tr{'fwdfw log rule'}
+ + +END + + if ($fwdfwsettings{'updatefwrule'} eq 'on') { + print < + + + +END + } else { + print < + + +END + } + + print < + + + +
$Lang::tr{'fwdfw rule activate'}
+ + $Lang::tr{'fwdfw log rule'}
-- 2.39.5