X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Ffwhosts.cgi;h=482ccabf5ba94a57d53a7e3076eea2438124d57b;hp=92c2d38b9475200665121d3a7e95d5e795c2d603;hb=0c2cf9e2145737cc6af6f6147f322d9ce60465f6;hpb=f195a8d763c82635bc1458bd9cd8d13cf45c95a2;ds=sidebyside diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 92c2d38b9..482ccabf5 100755 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -1494,7 +1494,7 @@ sub viewtablegrp { print "
$Lang::tr{'fwhost err emptytable'}"; }else{ - foreach my $key (sort { ncmp($customgrp{$a}[0],$customgrp{$b}[0]) } sort { ncmp ($customgrp{$a}[2],$customgrp{$b}[2]) } keys %customgrp){ + foreach my $key (sort { ncmp($customgrp{$a}[0],$customgrp{$b}[0]) } sort { ncmp($customgrp{$a}[2],$customgrp{$b}[2]) } keys %customgrp){ $count++; if ($helper ne $customgrp{$key}[0]){ $delflag='0'; @@ -1511,7 +1511,7 @@ sub viewtablegrp if ($customgrp{$key}[2] eq "none"){$customgrp{$key}[2]=$Lang::tr{'fwhost err emptytable'};} $grpname=$customgrp{$key}[0]; $remark="$customgrp{$key}[1]"; - if($count gt 2){ print"";} + if($count gt 1){ print"";} print "
$grpname   "; print " $Lang::tr{'remark'}:  $remark   " if ($remark ne ''); print "$Lang::tr{'used'}: $customgrp{$key}[4]x"; @@ -1554,7 +1554,6 @@ sub viewtablegrp $number++; } print""; - } &Header::closebox(); }