Changeset 1983 for trunk/expressoAdmin1_2/inc/class.shared_accounts.inc.php
- Timestamp:
- 02/05/10 09:58:26 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.shared_accounts.inc.php
r1913 r1983 108 108 $return['display_empty_inbox'] = $this->functions->check_acl($_SESSION['phpgw_session']['session_lid'],'empty_shared_accounts_inbox') ? 'block' : 'none'; 109 109 $return['allow_edit_shared_account_acl'] = $this->functions->check_acl($_SESSION['phpgw_session']['session_lid'],'edit_shared_accounts_acl'); 110 $return['mailquota_used'] = $quota['mailquota_used']; 111 //print_r( $owners_acl); 110 $return['mailquota_used'] = $quota['mailquota_used']; 112 111 $i = 0; 113 foreach($owners_acl as $key => $value) 114 { 115 $cn = $this->ldap_functions->uid2cn($key); 116 $return['owners_options'] .= '<option value='. $key .'>' . $cn . '</option>'; 117 $return['owners'][$i] .= $key; 118 $return['owners_acl'][$i] .= $value; 119 $i++; 120 } 112 if( is_array($owners_acl) ){ 113 foreach($owners_acl as $key => $value) 114 { 115 $cn = $this->ldap_functions->uid2cn($key); 116 $return['owners_options'] .= '<option value='. $key .'>' . $cn . '</option>'; 117 $return['owners'][$i] .= $key; 118 $return['owners_acl'][$i] .= $value; 119 $i++; 120 } 121 } else { 122 $return['owners_options'] = false; 123 $return['owners'] = false; 124 $return['owners_acl'] = false; 125 } 121 126 return $return; 122 127 }
Note: See TracChangeset
for help on using the changeset viewer.