]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Forward Firewall: Modified the Message to reread firewallrules in p2p-block.cgi....
authorAlexander Marx <amarx@ipfire.org>
Tue, 13 Aug 2013 11:58:48 +0000 (13:58 +0200)
committerAlexander Marx <amarx@ipfire.org>
Tue, 13 Aug 2013 11:58:48 +0000 (13:58 +0200)
html/cgi-bin/p2p-block.cgi

index 7c6f7b3a469cb754c684c4f864dd6c07672eccce..cfca54284a16ad833fdd1ec41425bbe0264e0a44 100755 (executable)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2013 Alexander Marx <amarx@ipfire.org>                        #
+# Copyright (C) 2013                                                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -18,6 +18,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
 #                                                                             #
 ###############################################################################
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
 #                                                                             #
 ###############################################################################
+# Author: Alexander Marx (Amarx@ipfire.org)                                   #
+###############################################################################
 
 use strict;
 no warnings 'uninitialized';
 
 use strict;
 no warnings 'uninitialized';
@@ -83,7 +85,7 @@ if ($fwdfwsettings{'ACTION'} eq $Lang::tr{'fwdfw reread'})
 sub p2pblock
 {
        if (-f "${General::swroot}/forward/reread"){
 sub p2pblock
 {
        if (-f "${General::swroot}/forward/reread"){
-               print "<table border='0'><form method='post'><td><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw reread'}' style='font-face: Comic Sans MS; color: red; font-weight: bold;'>$Lang::tr{'fwhost reread'}</td></tr></table></form><hr><br>";
+               print "<table border='1' rules='groups' bgcolor='lightgreen' width='100%'><form method='post'><td><div style='font-size:11pt; font-weight: bold;vertical-align: middle; '><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw reread'}' style='font-face: Comic Sans MS; color: green; font-weight: bold; font-size: 14pt;'>&nbsp &nbsp $Lang::tr{'fwhost reread'}</div></td></tr></table></form><br>";
        }
        my $gif;
        open( FILE, "< $p2pfile" ) or die "Unable to read $p2pfile";
        }
        my $gif;
        open( FILE, "< $p2pfile" ) or die "Unable to read $p2pfile";