]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
fwhosts.cgi: Remove whitespace issues
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Jun 2025 17:16:55 +0000 (17:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jun 2025 16:02:36 +0000 (16:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/fwhosts.cgi

index 6b4e22159a292de337d79b22677f33ebd4e64752..4e9c7f04dd7d24e06870ec698ec4de71096198dd 100644 (file)
@@ -1956,7 +1956,7 @@ END
                        my $htmlparttouse="";
                        if ($netusedin) {
                                $htmlparttouse = "<input type='image' align='top' src='/images/info.gif' alt='$netusedin' title='$netusedin'>";
-                       } else { 
+                       } else {
                                $htmlparttouse = "<input type='image' align='top' src='/images/info.gif' alt='Unused' title='Unused'>";
                        }
                        print"<td width='20%' $col><form method='post'>$customnetwork{$key}[0]</td><td width='15%' align='center' $col>".&getcolor($colnet)."</td><td width='40%' $col>$customnetwork{$key}[3]</td><td align='center' $col>$netcount x</td><td>$htmlparttouse</td>";
@@ -2117,7 +2117,7 @@ END
                        my $htmlparttouse="";
                        if ($hostusedin) {
                                $htmlparttouse = "<input type='image' align='top' src='/images/info.gif' alt='$hostusedin' title='$hostusedin'>";
-                       } else { 
+                       } else {
                                $htmlparttouse = "<input type='image' align='top' src='/images/info.gif' alt='Unused' title='Unused'>";
                        }
                        print"<td width='20%' $col>$customhost{$key}[0]</td><td width='20%' align='center' $col >".&getcolor($ip)."</td><td width='50%' align='left' $col>$customhost{$key}[3]</td><td align='center' $col>$hostcount x</td><td>$htmlparttouse</td>";
@@ -2199,8 +2199,8 @@ sub viewtablegrp
                                print "<b>$Lang::tr{'used'}:</b> $netgrpcount x ";
                                my $groupusedin=&getusedin($grpname);
                                if ($groupusedin) {
-                                       print "<input type='image' align='top' src='/images/info.gif' alt='$groupusedin' title='$groupusedin'>";                                
-                               } else { 
+                                       print "<input type='image' align='top' src='/images/info.gif' alt='$groupusedin' title='$groupusedin'>";
+                               } else {
                                        print "<input type='image' align='top' src='/images/info.gif' alt='$Lang::tr{'Unused'}' title='$Lang::tr{'Unused'}'>";
                                }
                                if($netgrpcount == '0')
@@ -2343,8 +2343,8 @@ sub viewtablelocationgrp
                        my $locationusedin=&getlocusedin($grpname);
                        print "<b>$Lang::tr{'used'}:</b> $locationgrpcount x ";
                        if ($locationusedin) {
-                               print "<input type='image' align='top' src='/images/info.gif' alt='$locationusedin' title='$locationusedin'>";                          
-                       } else { 
+                               print "<input type='image' align='top' src='/images/info.gif' alt='$locationusedin' title='$locationusedin'>";
+                       } else {
                                print "<input type='image' align='top' src='/images/info.gif' alt='$Lang::tr{'Unused'}' title='$Lang::tr{'Unused'}'>";
                        }
                        # Only display delete icon, if the group is not used by a firewall rule.
@@ -2492,7 +2492,7 @@ END
                        my $htmlparttouse="";
                        if ($serviceusedin) {
                                $htmlparttouse="<input type='image' align='top' src='/images/info.gif' alt='$serviceusedin' title='$serviceusedin'>";
-                       } else { 
+                       } else {
                                $htmlparttouse="<input type='image' align='top' src='/images/info.gif' alt='$Lang::tr{'Unused'}' title='$Lang::tr{'Unused'}'>";
                        }
                        if($customservice{$key}[3] eq 'All ICMP-Types'){print $Lang::tr{'fwdfw all icmp'};}
@@ -2573,8 +2573,8 @@ sub viewtableservicegrp
                                print "&nbsp; <b>$Lang::tr{'used'}:</b> $grpcount x ";
                                my $srvgrpusedin=&getsrvusedin($customservicegrp{$key}[0]);
                                if ($srvgrpusedin) {
-                                       print "<input type='image' align='top' src='/images/info.gif' alt='$srvgrpusedin' title='$srvgrpusedin'>";                              
-                               } else { 
+                                       print "<input type='image' align='top' src='/images/info.gif' alt='$srvgrpusedin' title='$srvgrpusedin'>";
+                               } else {
                                        print "<input type='image' align='top' src='/images/info.gif' alt='$Lang::tr{'Unused'}' title='$Lang::tr{'Unused'}'>";
                                }
                                if($grpcount == '0')