Revision: 5974
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5974&view=rev
Author:   owes
Date:     2011-10-23 09:14:28 +0000 (Sun, 23 Oct 2011)
Log Message:
-----------
A long standing wish, display 'Disconnecting...' instead of 'Connecting...' 
when disconnecting. Code implementation for this to follow shortly.

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/index.cgi

Modified: ipcop/trunk/html/cgi-bin/index.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/index.cgi  2011-10-22 21:32:53 UTC (rev 5973)
+++ ipcop/trunk/html/cgi-bin/index.cgi  2011-10-23 09:14:28 UTC (rev 5974)
@@ -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) 2007-2011, the IPCop team
 #
 # $Id$
 #
@@ -52,6 +64,9 @@
 elsif ($connstate =~ /$Lang::tr{'connecting'}/) {
     $refresh = "<meta http-equiv='refresh' content='5;' />";
 }
+elsif ($connstate =~ /$Lang::tr{'disconnecting'}/) {
+    $refresh = "<meta http-equiv='refresh' content='5;' />";
+}
 elsif ($mainsettings{'REFRESHINDEX'} eq 'on') {
     $refresh = "<meta http-equiv='refresh' content='600;' />";
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to