mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:49:44 +01:00
Let admin handle enabled but hidden apps also
This commit is contained in:
parent
424ba9c7e6
commit
1e0f13e0e8
@ -42,10 +42,10 @@
|
|||||||
echo '</td></tr></table>';
|
echo '</td></tr></table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// We only want to list applications that are enabled, plus the common stuff
|
// We only want to list applications that are enabled, even if hidden from navbar, plus the common stuff
|
||||||
// (if they can get to the admin page, the admin app is enabled, hence it is shown)
|
// (if they can get to the admin page, the admin app is enabled, hence it is shown)
|
||||||
|
|
||||||
$phpgw->db->query("select app_name from phpgw_applications where app_enabled = 1 order by app_title",__LINE__,__FILE__);
|
$phpgw->db->query("SELECT app_name FROM phpgw_applications WHERE app_enabled=1 OR app_enabled=2 ORDER BY app_title",__LINE__,__FILE__);
|
||||||
|
|
||||||
// Stuff it in an array in the off chance the admin includes need the db
|
// Stuff it in an array in the off chance the admin includes need the db
|
||||||
while ($phpgw->db->next_record())
|
while ($phpgw->db->next_record())
|
||||||
|
Loading…
Reference in New Issue
Block a user