Revision: 5184
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5184&view=rev
Author:   owes
Date:     2010-11-28 16:10:32 +0000 (Sun, 28 Nov 2010)

Log Message:
-----------
Make the current page also a link when the GUI is in non-javascript mode

Modified Paths:
--------------
    ipcop/trunk/src/libs/header.pl
    ipcop/trunk/updates/1.9.18/ROOTFILES.i486-1.9.18

Modified: ipcop/trunk/src/libs/header.pl
===================================================================
--- ipcop/trunk/src/libs/header.pl      2010-11-28 16:07:15 UTC (rev 5183)
+++ ipcop/trunk/src/libs/header.pl      2010-11-28 16:10:32 UTC (rev 5184)
@@ -8,7 +8,7 @@
 # Copyright (c) 2002/04/13 Steve Bootes - add alias section, helper functions
 # Copyright (c) 2002/08/23 Mark Wormgoor <[email protected]> validfqdn()
 # Copyright (c) 2003/09/11 Darren Critchley <[email protected]> srtarray()
-# Copyright (c) 2004-2008 The IPCop Team - way to many changes to specify here
+# Copyright (c) 2004-2010 The IPCop Team - way to many changes to specify here
 #
 # $Id$
 #
@@ -195,7 +195,7 @@
                 if (@{$k2}[1] eq "$URI[0]\?$URI[1]" || (@{$k2}[1] eq $URI[0] 
&& length($URI[1]) == 0)) {
 
                     #if (@{$k2}[1] eq "$URI[0]") {
-                    print "<b>@{$k2}[0]</b>";
+                    print "<a href='@{$k2}[1]'><b>@{$k2}[0]</b></a>";
                 }
                 else {
                     print "<a href='@{$k2}[1]'>@{$k2}[0]</a>";

Modified: ipcop/trunk/updates/1.9.18/ROOTFILES.i486-1.9.18
===================================================================
--- ipcop/trunk/updates/1.9.18/ROOTFILES.i486-1.9.18    2010-11-28 16:07:15 UTC 
(rev 5183)
+++ ipcop/trunk/updates/1.9.18/ROOTFILES.i486-1.9.18    2010-11-28 16:10:32 UTC 
(rev 5184)
@@ -16,6 +16,7 @@
 /home/httpd/cgi-bin/updates.cgi
 /home/httpd/cgi-bin/vpnca.cgi
 /usr/lib/ipcop/general-functions.pl
+/usr/lib/ipcop/header.pl
 /usr/local/bin/accountingctrl
 /usr/local/bin/conntrack_helper
 /usr/local/bin/dhcpcd.sh


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

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to