]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
firewall: Fix firewall policy table if only RED, GREEN + BLUE are present.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Feb 2014 19:53:25 +0000 (20:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Feb 2014 19:53:25 +0000 (20:53 +0100)
html/cgi-bin/firewall.cgi

index ce8d0f3f15e536d8cb6e1d7d76f73908e433bfe3..7b75765b2cd51a0df87f14ac77ff4ca801540ab1 100644 (file)
@@ -2792,14 +2792,16 @@ END
                                                <font color="$Header::colourorange">$Lang::tr{'orange'}</font>
                                                ($Lang::tr{'fwdfw pol block'})
                                        </td>
                                                <font color="$Header::colourorange">$Lang::tr{'orange'}</font>
                                                ($Lang::tr{'fwdfw pol block'})
                                        </td>
+END
+                       }
+
+                       print <<END;
                                        <td align='center'>
                                                <font color="$Header::colourgreen">$Lang::tr{'green'}</font>
                                                ($Lang::tr{'fwdfw pol block'})
                                        </td>
                                        <td align='center'>
                                                <font color="$Header::colourgreen">$Lang::tr{'green'}</font>
                                                ($Lang::tr{'fwdfw pol block'})
                                        </td>
+                               </tr>
 END
 END
-                       }
-
-                       print"</tr>";
                }
 
                print <<END;
                }
 
                print <<END;