forked from extern/egroupware
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>';
|
||||
}
|
||||
|
||||
// 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)
|
||||
|
||||
$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
|
||||
while ($phpgw->db->next_record())
|
||||
@ -77,4 +77,4 @@
|
||||
echo '<p><a href="' . $phpgw->link('/admin/index.php', 'SHOW_INFO=1'). '">' . lang('PHP Information') . '</a>';
|
||||
}
|
||||
$phpgw->common->phpgw_footer();
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user