[21202] Fix: minor fix - formatting 4746:5203
Sigurd Nes <[email protected]> Wed, 14 Apr 2010 19:40:43 +0000
| Newsgroups | gmane.comp.web.phpgroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 21202
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21202
Author: sigurdne
Date: 2010-04-14 19:40:42 +0000 (Wed, 14 Apr 2010)
Log Message:
-----------
Fix: minor fix - formatting 4746:5203
Modified Paths:
--------------
people/sigurdne/modules/preferences/trunk/inc/class.boadmin_acl.inc.php
Modified: people/sigurdne/modules/preferences/trunk/inc/class.boadmin_acl.inc.php
===================================================================
--- people/sigurdne/modules/preferences/trunk/inc/class.boadmin_acl.inc.php 2010-04-14 19:37:30 UTC (rev 21201)
+++ people/sigurdne/modules/preferences/trunk/inc/class.boadmin_acl.inc.php 2010-04-14 19:40:42 UTC (rev 21202)
@@ -160,7 +160,7 @@
'descr' => "{$loc_id} [{$loc_descr}]",
'selected' => $sel_loc
);
-
+
if ($location_list[$i]['selected'] != 'selected')
{
unset($location_list[$i]['selected']);
@@ -186,7 +186,7 @@
$categories[0]['name'] = lang('Groups');
$categories[1]['id'] = 'accounts';
$categories[1]['name'] = lang('Users');
-
+
foreach ( $categories as $row => $category )
{
if ($category['id']==$selected)
@@ -252,7 +252,7 @@
}
$users_at_location = $this->acl->get_accounts_at_location($this->acl_app, $this->location, $grantor ,$type);
-
+
if(is_array($user_delete) && count($user_delete)>0)
{
foreach ($user_delete as $user_id)
@@ -299,7 +299,7 @@
$this->set_permission2($values['right'], $process, $grantor, 0);
$this->set_permission2($values['mask'], $process, $grantor, 1);
$receipt['message'][] = array('msg' => lang('permissions are updated!'));
-
+
// this feature will probably move into the api as standard
if($this->acl_app == 'property')
{
@@ -374,7 +374,7 @@
$this->start = 0;
$length = $this->total_records;
}
-
+
$allusers = array_slice($allusers, $this->start , $length, true);
if ( isset($allusers) && is_array($allusers))
@@ -384,7 +384,7 @@
{
$user_list[$j]['account_id'] = $account->id;
$user_list[$j]['account_lid'] = $account->lid;
- $user_list[$j]['account_firstname'] = $account->firstname;
+ $user_list[$j]['account_firstname'] = $account->firstname;
$user_list[$j]['account_lastname'] = $account->lastname;
$this->acl->set_account_id($account->id, true, $this->acl_app, $this->location, $acl_account_type);
@@ -448,7 +448,7 @@
{
$group_list[] = array
(
- 'id' => $group->id,
+ 'id' => $group->id,
'name' => $group->firstname,
'selected' => 'selected'
);
@@ -457,7 +457,7 @@
{
$group_list[] = array
(
- 'id' => $group->id,
+ 'id' => $group->id,
'name' => $group->firstname,
);
}