mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 10:27:52 +02:00
Formatting changes
This commit is contained in:
parent
e6d9173490
commit
e0d2f43d0a
@ -114,7 +114,6 @@
|
||||
$groups_select .= '</select>';
|
||||
$t->set_var('groups_select',$groups_select);
|
||||
|
||||
|
||||
// create list of available apps
|
||||
$i = 0;
|
||||
|
||||
@ -137,7 +136,6 @@
|
||||
|
||||
// create apps output
|
||||
@reset($db_perms);
|
||||
|
||||
for ($i=0;$i<=count($perm_display);$i++)
|
||||
{
|
||||
$checked = '';
|
||||
@ -195,13 +193,12 @@
|
||||
}
|
||||
|
||||
$apps = CreateObject('phpgwapi.applications',array(intval($_userData['account_id']),'u'));
|
||||
# $apps->read_installed_apps();
|
||||
# $apps_before = $apps->read_account_specific();
|
||||
|
||||
$apps->account_type = 'u';
|
||||
$apps->account_id = $_userData['account_id'];
|
||||
$apps->account_apps = Array(Array());
|
||||
if ($_userData['account_permissions']) {
|
||||
if ($_userData['account_permissions'])
|
||||
{
|
||||
while($app = each($_userData['account_permissions']))
|
||||
{
|
||||
if($app[1])
|
||||
@ -216,7 +213,6 @@
|
||||
}
|
||||
$apps->save_repository();
|
||||
|
||||
|
||||
$account = CreateObject('phpgwapi.accounts');
|
||||
$allGroups = $account->get_list('groups');
|
||||
|
||||
@ -397,5 +393,4 @@
|
||||
{
|
||||
$phpgw->common->hook_single('show_user_data', $app[0]);
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user