Revision: 7484
http://sourceforge.net/p/ipcop/svn/7484
Author: owes
Date: 2014-04-16 05:51:13 +0000 (Wed, 16 Apr 2014)
Log Message:
-----------
Add proper titles whilst waiting and viewing the auto-refreshing pages.
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/proxy.cgi
ipcop/trunk/html/cgi-bin/updates.cgi
ipcop/trunk/html/cgi-bin/urlfilter.cgi
ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5
Modified: ipcop/trunk/html/cgi-bin/proxy.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/proxy.cgi 2014-04-16 05:09:04 UTC (rev 7483)
+++ ipcop/trunk/html/cgi-bin/proxy.cgi 2014-04-16 05:51:13 UTC (rev 7484)
@@ -240,7 +240,7 @@
# In case proxy is still restarting, show box and refresh
if (! system("/bin/ps ax | /bin/grep -q [r]estartsquid") ) {
- &Header::page_show('title', 'warning', $Lang::tr{'web proxy will now
restart'}, "<meta http-equiv='refresh' content='5; URL=/cgi-bin/proxy.cgi' />");
+ &Header::page_show($Lang::tr{'web proxy configuration'}, 'warning',
$Lang::tr{'web proxy will now restart'}, "<meta http-equiv='refresh'
content='5; URL=/cgi-bin/proxy.cgi' />");
exit(0);
}
Modified: ipcop/trunk/html/cgi-bin/updates.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/updates.cgi 2014-04-16 05:09:04 UTC (rev
7483)
+++ ipcop/trunk/html/cgi-bin/updates.cgi 2014-04-16 05:51:13 UTC (rev
7484)
@@ -178,7 +178,7 @@
else {
$langtxt = 'IPCop will now update.';
}
- &Header::page_show('title', 'warning', $langtxt, "<meta
http-equiv='refresh' content='5; URL=/cgi-bin/updates.cgi' />");
+ &Header::page_show($Lang::tr{'updates'}, 'warning', $langtxt, "<meta
http-equiv='refresh' content='5; URL=/cgi-bin/updates.cgi' />");
exit(0);
}
Modified: ipcop/trunk/html/cgi-bin/urlfilter.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/urlfilter.cgi 2014-04-16 05:09:04 UTC (rev
7483)
+++ ipcop/trunk/html/cgi-bin/urlfilter.cgi 2014-04-16 05:51:13 UTC (rev
7484)
@@ -3377,6 +3377,6 @@
my $restart = shift;
system('/usr/local/bin/restartsquid --waitpid >/dev/null &') if ($restart);
- &Header::page_show('title', 'warning', $Lang::tr{'web proxy will now
restart'}, "<meta http-equiv='refresh' content='5; URL=/cgi-bin/urlfilter.cgi'
/>");
+ &Header::page_show($Lang::tr{'urlfilter configuration'}, 'warning',
$Lang::tr{'web proxy will now restart'}, "<meta http-equiv='refresh'
content='5; URL=/cgi-bin/urlfilter.cgi' />");
exit 0;
}
Modified: ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5
===================================================================
--- ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 2014-04-16 05:09:04 UTC
(rev 7483)
+++ ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 2014-04-16 05:51:13 UTC
(rev 7484)
@@ -3,8 +3,11 @@
/home/httpd/cgi-bin/ddns.cgi
/home/httpd/cgi-bin/index.cgi
/home/httpd/cgi-bin/iptablesgui.cgi
+/home/httpd/cgi-bin/proxy.cgi
/home/httpd/cgi-bin/proxygraphs.cgi
+/home/httpd/cgi-bin/updates.cgi
/home/httpd/cgi-bin/upload.cgi
+/home/httpd/cgi-bin/urlfilter.cgi
/usr/local/bin/makegraphs.pl
/usr/local/bin/upgrade.sh
/usr/local/sbin/setup
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn