Changeset 6157 for trunk/expressoAdmin1_2
- Timestamp:
- 05/10/12 15:58:48 (12 years ago)
- Location:
- trunk/expressoAdmin1_2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uigroups.inc.php
r5593 r6157 167 167 function add_groups() 168 168 { 169 $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);');170 169 if ($this->current_config['expressoAdmin_samba_support'] == 'true') 171 170 $GLOBALS['phpgw']->js->set_onload('get_available_sambadomains(document.forms[0].context.value, \'create_group\');'); … … 246 245 function edit_groups() 247 246 { 248 $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);');249 250 247 $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 251 248 $manager_acl = $this->functions->read_acl($manager_lid); -
trunk/expressoAdmin1_2/inc/class.uimaillists.inc.php
r5593 r6157 167 167 function add_maillists() 168 168 { 169 $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);');170 171 169 $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 172 170 $manager_acl = $this->functions->read_acl($manager_lid); … … 215 213 function edit_maillists() 216 214 { 217 $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);');218 219 215 $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 220 216 $manager_acl = $this->functions->read_acl($manager_lid); … … 315 311 function scl_maillists() 316 312 { 317 $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);');318 319 313 $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 320 314 $manager_acl = $this->functions->read_acl($manager_lid); -
trunk/expressoAdmin1_2/js/jscode/expressoadmin.js
r5133 r6157 25 25 var handler_associated_domain = function(data) 26 26 { 27 if (data != null)27 if( document.forms[0].associated_domain ) 28 28 { 29 document.forms[0].associated_domain.value = data; 30 } 31 else 32 { 33 document.forms[0].associated_domain.value = ''; 29 if ( data != null ) 30 { 31 document.forms[0].associated_domain.value = data; 32 } 33 else 34 { 35 36 document.forms[0].associated_domain.value = ''; 37 } 34 38 } 35 39 }; … … 63 67 if( i < (organization_name.length - 1) ) context += '.'; 64 68 } 65 if (document.forms[0].associated_domain.value != '')69 if( document.forms[0].associated_domain && document.forms[0].associated_domain.value != '' ) 66 70 { 67 71 associatedDomain_name = document.forms[0].associated_domain.value; -
trunk/expressoAdmin1_2/templates/default/groups_form.tpl
r5133 r6157 77 77 78 78 <br> 79 <!--80 <input type="checkbox" name="ea_check_allUsers" id="ea_check_allUsers" onclick="javascript:get_available_users(org_context.value, this.checked);">{lang_show_users_from_all_sub-organizations}.81 -->82 79 <br><br> 83 80 -
trunk/expressoAdmin1_2/templates/default/institutional_accounts_modal.tpl
r5133 r6157 49 49 <select name="org_context" id="ea_combo_org_available_users" onchange="javascript:get_available_users(this.value);">{all_organizations}</select> 50 50 <br /> 51 <!--52 <input type="checkbox" name="ea_check_allUsers" id="ea_check_allUsers" onclick="javascript:get_available_users(org_context.value, this.checked);">{lang_all_users}.53 -->54 51 <br /><br /> 55 52 -
trunk/expressoAdmin1_2/templates/default/maillists_form.tpl
r5133 r6157 64 64 <select name="org_context" id="ea_combo_org_maillists" onchange="javascript:get_available_users(this.value, ea_check_allUsers.checked);">{combo_all_orgs}</select> 65 65 <br> 66 <!--67 <input type="checkbox" name="ea_check_allUsers" id="ea_check_allUsers" onclick="javascript:get_available_users(org_context.value, this.checked);">{lang_show_users_from_all_sub-organizations}.68 -->69 66 <br><br> 70 67 -
trunk/expressoAdmin1_2/templates/default/shared_accounts_modal.tpl
r5907 r6157 112 112 <select name="org_context" id="ea_combo_org_available_users" >{all_organizations}</select> 113 113 <br> 114 <!--115 <input type="checkbox" name="ea_check_allUsers" id="ea_check_allUsers">{lang_all_users}.116 -->117 114 <br><br> 118 115
Note: See TracChangeset
for help on using the changeset viewer.