From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bQvs10Hjyz34Pc for ; Mon, 23 Jun 2025 17:17:09 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bQvrx3xZmz336H for ; Mon, 23 Jun 2025 17:17:05 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "michael.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bQvrw3TPwz1sd; Mon, 23 Jun 2025 17:17:04 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4bQvrw219dzTgQR; Mon, 23 Jun 2025 17:17:04 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: dietzmann@brecht-schule.hamburg, Michael Tremer Subject: [PATCH 2/5] fwhosts.cgi: Remove whitespace issues Date: Mon, 23 Jun 2025 17:16:55 +0000 Message-Id: <20250623171658.530138-2-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250623171658.530138-1-michael.tremer@ipfire.org> References: <20250623171658.530138-1-michael.tremer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tremer --- html/cgi-bin/fwhosts.cgi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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') -- 2.39.5