Revision: 7240 http://sourceforge.net/p/ipcop/svn/7240 Author: owes Date: 2014-02-18 22:08:00 +0000 (Tue, 18 Feb 2014) Log Message: ----------- Fix several html warnings/errors.
Modified Paths: -------------- ipcop/trunk/html/cgi-bin/addresses.cgi ipcop/trunk/html/cgi-bin/addressgrps.cgi ipcop/trunk/html/cgi-bin/changepw.cgi ipcop/trunk/html/cgi-bin/email.cgi ipcop/trunk/html/cgi-bin/fwrulesadm.cgi ipcop/trunk/html/cgi-bin/ifaces.cgi ipcop/trunk/html/cgi-bin/servicegrps.cgi ipcop/trunk/html/cgi-bin/services.cgi ipcop/trunk/html/cgi-bin/trafficadm.cgi ipcop/trunk/html/cgi-bin/wireless.cgi ipcop/trunk/updates/2.1.2/ROOTFILES.i486-2.1.2 Modified: ipcop/trunk/html/cgi-bin/addresses.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/addresses.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/addresses.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -13,10 +13,10 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with IPCop; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # # Copyright (C) 2003-09-22 Darren Critchley <darr...@telus.net> +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -180,16 +180,14 @@ # DEBUG DEBUG #&Header::openbox('100%', 'left', 'DEBUG'); #foreach my $line (keys %cgiparams) { -# print "<class IP_NAME='base'>$line = $cgiparams{$line}<BR>"; +# print "$line = $cgiparams{$line}<br />\n"; #} #print "$ENV{'QUERY_STRING'}\n"; -#print " </class>\n"; #&Header::closebox(); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); $error = 'error'; Modified: ipcop/trunk/html/cgi-bin/addressgrps.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/addressgrps.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/addressgrps.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -13,10 +13,10 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with IPCop; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # # Copyright (C) 2003-09-22 Darren Critchley <darr...@telus.net> +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -297,17 +297,15 @@ # DEBUG DEBUG #&Header::openbox('100%', 'left', 'DEBUG'); -#foreach $line (keys %cgiparams) { -# print "<class IP_NAME='base'>$line = $cgiparams{$line}<BR>"; +#foreach my $line (keys %cgiparams) { +# print "$line = $cgiparams{$line}<br />\n"; #} #print "$ENV{'QUERY_STRING'}\n"; -#print " </class>\n"; #&Header::closebox(); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); $error = 'error'; Modified: ipcop/trunk/html/cgi-bin/changepw.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/changepw.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/changepw.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -1,10 +1,22 @@ #!/usr/bin/perl # -# SmoothWall CGIs +# This file is part of the IPCop Firewall. # -# This code is distributed under the terms of the GPL +# IPCop is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # +# IPCop is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. +# # (c) The SmoothWall Team +# (c) 2001-2014, the IPCop team # # $Id$ # @@ -98,8 +110,7 @@ if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); } Modified: ipcop/trunk/html/cgi-bin/email.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/email.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/email.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -189,8 +189,7 @@ if ($infomessage) { &Header::openbox('100%', 'left', "$Lang::tr{'information messages'}:", 'warning'); - print "<class name='base'>$infomessage\n"; - print " </class>\n"; + print "<font class='base'>$infomessage </font>"; &Header::closebox(); } Modified: ipcop/trunk/html/cgi-bin/fwrulesadm.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/fwrulesadm.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/fwrulesadm.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -17,7 +17,7 @@ # # (c) The SmoothWall Team # Copyright (c) 2002/04/13 Steve Bootes - Add source IP support -# (c) 2007-2011, the IPCop team +# (c) 2007-2014, the IPCop team # # $Id$ # @@ -204,8 +204,7 @@ if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); $error = 'error'; Modified: ipcop/trunk/html/cgi-bin/ifaces.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/ifaces.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/ifaces.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -13,10 +13,10 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with IPCop; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # # Copyright (C) 2003-09-22 Darren Critchley <darr...@telus.net> +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -176,17 +176,15 @@ # DEBUG DEBUG #&Header::openbox('100%', 'left', 'DEBUG'); #foreach my $line (keys %cgiparams) { -# print "<class IFACE_NAME='base'>$line = $cgiparams{$line}<BR>"; +# print "$line = $cgiparams{$line}<br />\n"; #} #print "$ENV{'QUERY_STRING'}\n"; #print "-$cgiparams{'ACTION'}-\n"; -#print " </class>\n"; #&Header::closebox(); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); $error = 'error'; Modified: ipcop/trunk/html/cgi-bin/servicegrps.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/servicegrps.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/servicegrps.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -13,10 +13,10 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with IPCop; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # # Copyright (C) 2003-09-22 Darren Critchley <darr...@telus.net> +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -298,16 +298,14 @@ # DEBUG DEBUG #&Header::openbox('100%', 'left', 'DEBUG'); #foreach my $line (keys %cgiparams) { -# print "<class IP_NAME='base'>$line = $cgiparams{$line}<BR>"; +# print "$line = $cgiparams{$line}<br />\n"; #} #print "$ENV{'QUERY_STRING'}\n"; -#print " </class>\n"; #&Header::closebox(); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); $error = 'error'; Modified: ipcop/trunk/html/cgi-bin/services.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/services.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/services.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -13,10 +13,10 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with IPCop; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # # Copyright (C) 2003-09-22 Darren Critchley <darr...@telus.net> +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -231,18 +231,16 @@ # DEBUG DEBUG #&Header::openbox('100%', 'left', 'DEBUG'); #foreach my $line (keys %cgiparams) { -# print "<class name='base'>$line = $cgiparams{$line}<br />"; +# print "$line = $cgiparams{$line}<br />\n"; #} #print "SortCol: $sort_col<br />\n"; #print "Query: $ENV{'QUERY_STRING'}<br />\n"; #print "Script: $ENV{'SCRIPT_NAME'}<br />\n"; -#print " </class>\n"; #&Header::closebox(); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); $error = 'error'; Modified: ipcop/trunk/html/cgi-bin/trafficadm.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/trafficadm.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/trafficadm.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with IPCop. If not, see <http://www.gnu.org/licenses/>. # -# (c) 2008-2011, the IPCop team +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -210,8 +210,7 @@ if ($infomessage) { &Header::openbox('100%', 'left', "$Lang::tr{'traffic info messages'}:"); - print "<class name='base'>$infomessage\n"; - print " </class>\n"; + print "<font class='base'>$infomessage </font>"; &Header::closebox(); } @@ -286,8 +285,8 @@ } print <<END; </select> + </td> <td colspan='2'> </td> - </td> </tr> <tr> <td align='left' class='base'> @@ -318,8 +317,8 @@ } print <<END; </select> + </td> <td colspan='2'> </td> - </td> </tr> Modified: ipcop/trunk/html/cgi-bin/wireless.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/wireless.cgi 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/html/cgi-bin/wireless.cgi 2014-02-18 22:08:00 UTC (rev 7240) @@ -17,6 +17,7 @@ # # (c) 2003 Alan Hourihane <al...@fairlite.demon.co.uk> # (c) 2005 Eric Oberlander, Robert Kerr - Inline editing & DHCP leases +# (c) 2008-2014, the IPCop team # # $Id$ # @@ -225,8 +226,7 @@ if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); - print "<class name='base'>$errormessage\n"; - print " </class>\n"; + print "<font class='base'>$errormessage </font>"; &Header::closebox(); } Modified: ipcop/trunk/updates/2.1.2/ROOTFILES.i486-2.1.2 =================================================================== --- ipcop/trunk/updates/2.1.2/ROOTFILES.i486-2.1.2 2014-02-16 20:33:37 UTC (rev 7239) +++ ipcop/trunk/updates/2.1.2/ROOTFILES.i486-2.1.2 2014-02-18 22:08:00 UTC (rev 7240) @@ -1,5 +1,15 @@ ## please place IPCop files first, then packages sorted by alphabetical order +/home/httpd/cgi-bin/addresses.cgi +/home/httpd/cgi-bin/addressgrps.cgi +/home/httpd/cgi-bin/changepw.cgi +/home/httpd/cgi-bin/email.cgi +/home/httpd/cgi-bin/fwrulesadm.cgi +/home/httpd/cgi-bin/ifaces.cgi /home/httpd/cgi-bin/openvpn.cgi +/home/httpd/cgi-bin/servicegrps.cgi +/home/httpd/cgi-bin/services.cgi +/home/httpd/cgi-bin/trafficadm.cgi +/home/httpd/cgi-bin/wireless.cgi /usr/local/bin/makesquidconf.pl ## ## dhcpcd-6.2.1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn