]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Firewall: FIxed wrong language strings in outgoing Firewall
authorAlexander Marx <amarx@ipfire.org>
Fri, 29 Nov 2013 12:41:57 +0000 (13:41 +0100)
committerAlexander Marx <amarx@ipfire.org>
Thu, 5 Dec 2013 14:16:02 +0000 (15:16 +0100)
html/cgi-bin/firewall.cgi

index 4199965eef1d29396c47bad49656c26d0851f4fc..fc6633f2b6f87b8e6e37e492e7ec8f1da4ab314d 100755 (executable)
@@ -2579,8 +2579,14 @@ END
                                }
                        }elsif ($$hash{$key}[4] eq 'RED1'){
                                print "$ipfireiface $Lang::tr{'fwdfw red'}";
+                       }elsif ($$hash{$key}[4] eq 'ALL'){
+                               print "$ipfireiface $Lang::tr{'all'}";
                        }else{
-                               print "$$hash{$key}[4]";
+                               if ($$hash{$key}[4] eq 'GREEN' || $$hash{$key}[4] eq 'ORANGE' || $$hash{$key}[4] eq 'BLUE' || $$hash{$key}[4] eq 'RED'){
+                                       print "$ipfireiface $Lang::tr{lc($$hash{$key}[4])}";
+                               }else{
+                                       print "$ipfireiface $$hash{$key}[4]";
+                               }
                        }
                        $tdcolor='';
                        #SOURCEPORT