Add read_installed_apps()

This commit is contained in:
Miles Lott 2001-03-14 19:43:07 +00:00
parent ee62c1c62d
commit 0d7d57474f
2 changed files with 5 additions and 1 deletions

View File

@ -244,6 +244,7 @@
// end groups list
$i = 0;
$phpgw->applications->read_installed_apps();
$sorted_apps = $phpgw_info['apps'];
@asort($sorted_apps);
@reset($sorted_apps);

View File

@ -145,7 +145,7 @@
}
$phpgw->db->query("SELECT account_id,account_firstname,account_lastname,account_lid FROM phpgw_accounts WHERE "
. "account_status != 'L' AND account_type='u' ORDER BY account_lastname,account_firstname,account_lid asc");
. "account_status != 'L' ORDER BY account_lastname,account_firstname,account_lid asc");
while ($phpgw->db->next_record()) {
$user_list .= '<option value="' . $phpgw->db->f('account_id') . '"'
. $selected_users[$phpgw->db->f('account_id')] . '>'
@ -158,6 +158,9 @@
$p->set_var("lang_permissions",lang("Permissions this group has"));
$i = 0;
$phpgw->applications->read_installed_apps();
$sorted_apps = $phpgw_info["apps"];
@asort($sorted_apps);
@reset($sorted_apps);