X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Ffwhosts.cgi;h=efcdfb933cc3583de9d9bdd6d6b1aeb92464b449;hp=baecde31a06d164a5100bf8ff8ddadbe08834136;hb=bb3834231ec78a2d7b0bc4201906467c47ea7aa4;hpb=057652c5e548c5e0b0e4e07559c21b7916335af9 diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index baecde31a..efcdfb933 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -1492,7 +1492,7 @@ END my $netcount=&getnetcount($customnetwork{$key}[0]); print"
$customnetwork{$key}[0]".&Header::colorize($colnet)."$customnetwork{$key}[3]$netcount x"; print< + @@ -1502,7 +1502,7 @@ END END if($netcount == '0') { - print""; + print"
"; }else{ print""; } @@ -1600,7 +1600,7 @@ END $hostcount=&gethostcount($customhost{$key}[0]); print"$customhost{$key}[0]".&Header::colorize($ip)."$customhost{$key}[3]$hostcount x"; print<
+ @@ -1610,7 +1610,7 @@ END END if($hostcount == '0') { - print"
"; + print"
"; }else{ print""; } @@ -1677,10 +1677,10 @@ sub viewtablegrp print "$Lang::tr{'used'}: $netgrpcount x"; if($netgrpcount == '0') { - print"
"; + print"
"; } - print"
"; - print""; + print""; + print"
Name$Lang::tr{'ip address'}$Lang::tr{'fwhost type'}
"; } my $col=''; if ( ($fwhostsettings{'ACTION'} eq 'editgrp' || $fwhostsettings{'update'} ne '') && $fwhostsettings{'grp_name'} eq $customgrp{$key}[0]) { @@ -1712,7 +1712,7 @@ sub viewtablegrp print" - "; + print""; }else{ print""; } @@ -1844,9 +1844,9 @@ sub viewtableservicegrp print "  $Lang::tr{'used'}: $grpcount x"; if($grpcount == '0') { - print""; + print""; } - print""; + print""; print"
$Lang::tr{'name'}$Lang::tr{'fwhost ip_mac'}$Lang::tr{'fwhost type'}
".&Header::colorize($ip)."$customgrp{$key}[3]
"; } if ($delflag > 0 && $ip ne ''){ - print""; + print""; #check if this group has only one entry foreach my $key2 (keys %hash) { if ($hash{$key2}<2 && $key2 eq $customgrp{$key}[0]){ @@ -1770,7 +1770,7 @@ END elsif($customservice{$key}[3] ne 'BLANK'){print $customservice{$key}[3];} print<
$srvcount x + @@ -1778,7 +1778,7 @@ END END if ($srvcount eq '0') { - print"
"; } if( $fwhostsettings{'SRVGRP_NAME'} eq $customservicegrp{$key}[0]) { @@ -1885,7 +1885,7 @@ sub viewtableservicegrp print"
Name$Lang::tr{'port'}$Lang::tr{'fwhost prot'}
$port$protocol
"; if ($delflag gt '0'){ if ($customservicegrp{$key}[2] ne $Lang::tr{'fwhost err emptytable'}){ - print""; + print""; } #check if this group has only one entry foreach my $key2 (keys %hash) {