Changeset 33 for trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php
- Timestamp:
- 06/21/07 08:32:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php
r32 r33 178 178 function add_users() 179 179 { 180 $GLOBALS['phpgw']->js->validate_file('jscode','users','expressoAdmin1_2'); 181 //$GLOBALS['phpgw']->js->set_onload('get_sectors(document.forms[0].context.value);'); 180 $GLOBALS['phpgw']->js->validate_file('jscode','users','expressoAdmin1_2'); 182 181 $GLOBALS['phpgw']->js->set_onload('get_available_groups(document.forms[0].context.value);'); 183 182 $GLOBALS['phpgw']->js->set_onload('get_available_maillists(document.forms[0].context.value);'); 184 183 if ($this->current_config['expressoAdmin_samba_support'] == 'true') 184 $GLOBALS['phpgw']->js->set_onload('get_available_sambadomains(document.forms[0].context.value, \'create_user\');'); 185 185 186 $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 186 187 $tmp = $this->functions->read_acl($manager_lid); … … 220 221 foreach ($a_sambadomains as $a_sambadomain) 221 222 { 222 $sambadomainname_options .= "<option value='" . $a_sambadomain['samba_domain_sid'] . "'>" . $a_sambadomain['samba_domain_name'] . "</option>"; 223 // So mostra os sambaDomainName do contexto do manager 224 if ($this->ldap_functions->exist_sambadomains($manager_context, $a_sambadomain['samba_domain_name'])) 225 $sambadomainname_options .= "<option value='" . $a_sambadomain['samba_domain_sid'] . "'>" . $a_sambadomain['samba_domain_name'] . "</option>"; 223 226 } 224 227 } … … 234 237 'back_url' => $GLOBALS['phpgw']->link('/index.php','menuaction=expressoAdmin1_2.uiaccounts.list_users'), 235 238 'display_samba_suport' => $this->current_config['expressoAdmin_samba_support'] == 'true' ? '' : 'display:none', 239 'disabled_access_button'=> 'disabled', 236 240 237 241 // First ABA
Note: See TracChangeset
for help on using the changeset viewer.