From: Alexander Marx Date: Thu, 4 Jul 2013 10:37:34 +0000 (+0200) Subject: Forward Firewall: some textalignment in last rule row X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=4d2e7a35d9592cd2ddae0467b5a0f036fa105476 Forward Firewall: some textalignment in last rule row --- diff --git a/html/cgi-bin/forwardfw.cgi b/html/cgi-bin/forwardfw.cgi index 692580c71..1800095df 100755 --- a/html/cgi-bin/forwardfw.cgi +++ b/html/cgi-bin/forwardfw.cgi @@ -2390,9 +2390,9 @@ END }else{ $col="bgcolor='green'"; } - print"$Lang::tr{'fwdfw final_rule'}$Lang::tr{$pol}"; + print"$Lang::tr{'fwdfw final_rule'}$Lang::tr{$pol}"; }else{ - print"$Lang::tr{'fwdfw final_rule'}$Lang::tr{'fwdfw MODE1'}"; + print"$Lang::tr{'fwdfw final_rule'}$Lang::tr{'fwdfw MODE1'}"; } print""; print "
"; @@ -2401,7 +2401,7 @@ END }else{ if ($optionsfw{'SHOWTABLES'} eq 'on'){ print "$title1
"; - print""; + print"
$Lang::tr{'fwhost empty'}
$Lang::tr{'fwhost empty'}
"; my $col; if ($config eq '/var/ipfire/forward/config'){ my $pol='fwdfw '.$fwdfwsettings{'POLICY'}; @@ -2412,15 +2412,16 @@ END } &show_defaultrules($col,$pol); }elsif ($config eq '/var/ipfire/forward/outgoing'){ + print ""; my $pol='fwdfw '.$fwdfwsettings{'POLICY1'}; if ($fwdfwsettings{'POLICY1'} eq 'MODE1'){ $col="bgcolor='darkred'"; }else{ $col="bgcolor='green'"; } - print""; + print""; }else{ - print""; + print""; } print"
$Lang::tr{'fwdfw final_rule'} $Lang::tr{$pol}
$Lang::tr{'fwdfw final_rule'}$Lang::tr{$pol}
$Lang::tr{'fwdfw final_rule'} $Lang::tr{'fwdfw MODE1'}
$Lang::tr{'fwdfw final_rule'}$Lang::tr{'fwdfw MODE1'}


"; } @@ -2443,6 +2444,6 @@ sub show_defaultrules print"$Lang::tr{'blue'} $Lang::tr{'green'} ($Lang::tr{'fwdfw pol block'}), $Lang::tr{'red'} ($Lang::tr{'fwdfw pol allow'})$orange" if $ifaces{'BLUE_DEV'}; print"$Lang::tr{'fwdfw final_rule'} $Lang::tr{$pol}"; }elsif($col eq "bgcolor='darkred'"){ - print"$Lang::tr{'fwdfw final_rule'}$Lang::tr{$pol}"; + print"$Lang::tr{'fwdfw final_rule'}$Lang::tr{$pol}"; } }