mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Forward Firewall: Modified the Message to reread firewallrules in p2p-block.cgi. This is now the same as in forwardfw.cgi and fwhost.cgi
This commit is contained in:
@@ -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 #
|
# 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 #
|
# 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;
|
use strict;
|
||||||
no warnings 'uninitialized';
|
no warnings 'uninitialized';
|
||||||
@@ -83,7 +85,7 @@ if ($fwdfwsettings{'ACTION'} eq $Lang::tr{'fwdfw reread'})
|
|||||||
sub p2pblock
|
sub p2pblock
|
||||||
{
|
{
|
||||||
if (-f "${General::swroot}/forward/reread"){
|
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;'>    $Lang::tr{'fwhost reread'}</div></td></tr></table></form><br>";
|
||||||
}
|
}
|
||||||
my $gif;
|
my $gif;
|
||||||
open( FILE, "< $p2pfile" ) or die "Unable to read $p2pfile";
|
open( FILE, "< $p2pfile" ) or die "Unable to read $p2pfile";
|
||||||
|
|||||||
Reference in New Issue
Block a user