From: Michael Tremer Date: Mon, 23 Jun 2025 17:16:55 +0000 (+0000) Subject: fwhosts.cgi: Remove whitespace issues X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca811a746a79f0e02cfb780cbd4543a057131e3a;p=people%2Fstevee%2Fipfire-2.x.git fwhosts.cgi: Remove whitespace issues Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 6b4e22159..4e9c7f04d 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -1956,7 +1956,7 @@ END my $htmlparttouse=""; if ($netusedin) { $htmlparttouse = ""; - } else { + } else { $htmlparttouse = ""; } print"
$customnetwork{$key}[0]".&getcolor($colnet)."$customnetwork{$key}[3]$netcount x$htmlparttouse"; @@ -2117,7 +2117,7 @@ END my $htmlparttouse=""; if ($hostusedin) { $htmlparttouse = ""; - } else { + } else { $htmlparttouse = ""; } print"$customhost{$key}[0]".&getcolor($ip)."$customhost{$key}[3]$hostcount x$htmlparttouse"; @@ -2199,8 +2199,8 @@ sub viewtablegrp print "$Lang::tr{'used'}: $netgrpcount x "; my $groupusedin=&getusedin($grpname); if ($groupusedin) { - print ""; - } else { + print ""; + } else { print ""; } if($netgrpcount == '0') @@ -2343,8 +2343,8 @@ sub viewtablelocationgrp my $locationusedin=&getlocusedin($grpname); print "$Lang::tr{'used'}: $locationgrpcount x "; if ($locationusedin) { - print ""; - } else { + print ""; + } else { print ""; } # Only display delete icon, if the group is not used by a firewall rule. @@ -2492,7 +2492,7 @@ END my $htmlparttouse=""; if ($serviceusedin) { $htmlparttouse=""; - } else { + } else { $htmlparttouse=""; } if($customservice{$key}[3] eq 'All ICMP-Types'){print $Lang::tr{'fwdfw all icmp'};} @@ -2573,8 +2573,8 @@ sub viewtableservicegrp print "  $Lang::tr{'used'}: $grpcount x "; my $srvgrpusedin=&getsrvusedin($customservicegrp{$key}[0]); if ($srvgrpusedin) { - print ""; - } else { + print ""; + } else { print ""; } if($grpcount == '0')