[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr/inc class.Modules_SO.inc.php [skwashd-16-comp
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] sitemgr/inc class.Modules_SO.inc.php [skwashd-16-compat] |
Date: |
Sat, 20 Jan 2007 01:29:17 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: sitemgr
Branch: skwashd-16-compat
Changes by: Dave Hall <skwashd> 07/01/20 01:29:16
Modified files:
inc : class.Modules_SO.inc.php
Log message:
list modules alphabetically, nicer for the user
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Modules_SO.inc.php?cvsroot=phpgroupware&only_with_tag=skwashd-16-compat&r1=1.3.2.2&r2=1.3.2.2.4.1
Patches:
Index: class.Modules_SO.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Modules_SO.inc.php,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.2.4.1
diff -u -b -r1.3.2.2 -r1.3.2.2.4.1
--- class.Modules_SO.inc.php 27 Apr 2004 07:44:32 -0000 1.3.2.2
+++ class.Modules_SO.inc.php 20 Jan 2007 01:29:16 -0000 1.3.2.2.4.1
@@ -82,7 +82,7 @@
function getallmodules()
{
- $sql = "SELECT * FROM phpgw_sitemgr_modules";
+ $sql = "SELECT * FROM phpgw_sitemgr_modules ORDER BY
module_name";
return $this->constructmodulearray($sql);
}
@@ -149,7 +149,8 @@
$sql = 'SELECT * from phpgw_sitemgr_modules AS t1'
. ' LEFT JOIN phpgw_sitemgr_active_modules AS
t2 ON t1.module_id=t2.module_id '
. " WHERE area='" .
$this->db->db_addslashes($contentarea) . "'"
- . ' AND cat_id = ' . intval($cat_id);
+ . ' AND cat_id = ' . intval($cat_id)
+ . " ORDER BY module_name";
return $this->constructmodulearray($sql);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sitemgr/inc class.Modules_SO.inc.php [skwashd-16-compat],
Dave Hall <=