Changeset 180 for trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php
- Timestamp:
- 02/26/08 17:04:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php
r107 r180 281 281 'photo_bin' => $GLOBALS['phpgw_info']['server']['webserver_url'].'/expressoAdmin1_2/templates/default/images/photo_celepar.png', 282 282 'display_picture' => $this->functions->check_acl($manager_lid,'edit_users_picture') ? '' : 'none', 283 'disabled_delete_photo' => 'disabled',284 283 'display_tr_default_password' => 'none', 285 284 'minimumSizeLogin' => $this->current_config['expressoAdmin_minimumSizeLogin'], … … 363 362 $disabled_password = 'disabled'; 364 363 $disabled_samba = 'disabled'; 364 $disabled_edit_photo = 'disabled'; 365 $display_picture = 'none'; 365 366 if ((!$this->functions->check_acl($manager_account_lid,'edit_users')) && 366 367 (!$this->functions->check_acl($manager_account_lid,'change_users_password')) && … … 402 403 $disabled_quote = 'readonly'; 403 404 405 if ($this->functions->check_acl($manager_account_lid,'edit_users_picture')) 406 { 407 $disabled_edit_photo = ''; 408 $display_picture = ''; 409 } 404 410 // GET all infomations about the user. 405 411 $user_info = $this->user->get_user_info($_GET['account_id']); … … 625 631 'telephonenumber' => $user_info['telephonenumber'], 626 632 'photo_bin' => $photo_bin, 627 'disabled_delete_photo' => $disabled_delete_photo, 628 'display_picture' => $this->functions->check_acl($manager_account_lid,'edit_users_picture') ? '' : 'none', 633 'disabled_edit_photo' => $disabled_edit_photo, 634 //'display_picture' => $this->functions->check_acl($manager_account_lid,'edit_users_picture') ? '' : 'none', 635 'display_picture' => $display_picture, 629 636 630 637 'display_tr_default_password' => $this->functions->check_acl($manager_account_lid,'set_user_default_password') ? '' : 'none',
Note: See TracChangeset
for help on using the changeset viewer.