Revision: 7872
          http://sourceforge.net/p/ipcop/svn/7872
Author:   owes
Date:     2015-02-06 14:24:33 +0000 (Fri, 06 Feb 2015)
Log Message:
-----------
Sort logsections. Why did we not think of this 5+ years ago?

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/logsystem.cgi
    ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0

Modified: ipcop/trunk/html/cgi-bin/logsystem.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/logsystem.cgi      2015-02-06 14:23:18 UTC (rev 
7871)
+++ ipcop/trunk/html/cgi-bin/logsystem.cgi      2015-02-06 14:24:33 UTC (rev 
7872)
@@ -16,7 +16,7 @@
 # along with IPCop.  If not, see <http://www.gnu.org/licenses/>.
 #
 # (c) The SmoothWall Team
-# Copyright (c) 2001-2014 The IPCop Team
+# Copyright (c) 2001-2015 The IPCop Team
 #
 # $Id$
 #
@@ -253,7 +253,7 @@
        <select name='SECTION' onchange='this.form.submit()'>
 END
     ;
-foreach $section (keys %sections) {
+foreach $section (sort {$trsections{$a} cmp $trsections{$b}} keys %sections) {
     print "\t<option ";
     if ($section eq $cgiparams{'SECTION'}) {
         print "selected='selected' ";

Modified: ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0
===================================================================
--- ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0      2015-02-06 14:23:18 UTC 
(rev 7871)
+++ ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0      2015-02-06 14:24:33 UTC 
(rev 7872)
@@ -1,6 +1,7 @@
 ## please place IPCop files first, then packages sorted by alphabetical order
 ##
 /etc/rc.d/rc.red
+/home/httpd/cgi-bin/logsystem.cgi
 /home/httpd/cgi-bin/updates.cgi
 /usr/local/bin/accountingctrl
 /usr/local/bin/conntrack_helper

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


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to