Changeset 3018 for branches/2.2/expressoAdmin1_2
- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- Location:
- branches/2.2/expressoAdmin1_2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoAdmin1_2/inc/class.manager.inc.php
r1913 r3018 1 <? 1 <?php 2 2 /***********************************************************************************\ 3 3 * Expresso Administração * -
branches/2.2/expressoAdmin1_2/js/jscode/connector.js
r317 r3018 499 499 500 500 id = url; 501 connector.newRequest(id, url, method, handler, params);501 admin_connector.newRequest(id, url, method, handler, params); 502 502 } 503 503 … … 508 508 // form: form element (for upload files) 509 509 function cExecuteForm(url, form, handler){ 510 connector.buildBar();510 admin_connector.buildBar(); 511 511 isExecuteForm = true; 512 512 document.onmouseup = alertBut; 513 513 514 connector.showProgressBar();514 admin_connector.showProgressBar(); 515 515 if(! (divUpload = document.getElementById('divUpload'))) { 516 516 divUpload = document.createElement('DIV'); … … 554 554 if(isExecuteForm) { 555 555 if(confirm("There's an action processing. Do you want abort it?")) { 556 connector.hideProgressBar();556 admin_connector.hideProgressBar(); 557 557 isExecuteForm = false; 558 delete connector.requests[id];559 connector.requests[id] = null;558 delete admin_connector.requests[id]; 559 admin_connector.requests[id] = null; 560 560 stop(); 561 561 return; -
branches/2.2/expressoAdmin1_2/js/jscode/users.js
r1913 r3018 139 139 if (document.forms[0].mailalternateaddress.value != '') 140 140 attrs_array['mailalternateaddress'] = document.forms[0].mailalternateaddress.value; 141 var attributes = connector.serialize(attrs_array);141 var attributes = admin_connector.serialize(attrs_array); 142 142 143 143 var handler_validate_fields = function(data) … … 156 156 if (type == 'create_user') 157 157 { 158 // Turn enabled checkbox on create user. 159 document.getElementById('changepassword').disabled = false; 158 160 cExecuteForm ("$this.user.create", document.forms[0], handler_create); 159 161 } … … 203 205 attrs_array['first_name'] = first_name; 204 206 attrs_array['second_name'] = second_name; 205 var attributes = connector.serialize(attrs_array);207 var attributes = admin_connector.serialize(attrs_array); 206 208 207 209 var handler_generate_login = function(data) { … … 539 541 attrs_array['type'] = 'rename_user'; 540 542 attrs_array['uid'] = new_uid; 541 attributes = connector.serialize(attrs_array);543 attributes = admin_connector.serialize(attrs_array); 542 544 543 545 cExecute ('$this.ldap_functions.validate_fields&attributes='+attributes, handler_validate_fields); -
branches/2.2/expressoAdmin1_2/templates/default/accounts_form.tpl
r1991 r3018 98 98 <tr bgcolor={row_on}> 99 99 <td colspan="2">{lang_password_expired}:</td> 100 <td><input onc hange="javascript:set_changepassword();" type="checkbox" {passwd_expired_checked} {disabled} name="passwd_expired" id="passwd_expired" value="1"</td>100 <td><input onclick="javascript:set_changepassword();" type="checkbox" {passwd_expired_checked} {disabled} name="passwd_expired" id="passwd_expired" value="1"></td> 101 101 </tr> 102 102 103 103 <tr bgcolor={row_off}> 104 104 <td colspan="2">{lang_change_password}:</td> 105 <td><input type="checkbox" {changepassword_checked} {disabled} name="changepassword" id="changepassword" value="1" </td>105 <td><input type="checkbox" {changepassword_checked} {disabled} name="changepassword" id="changepassword" value="1"></td> 106 106 </tr> 107 107 108 108 <tr bgcolor={row_on}> 109 109 <td colspan="2">{lang_account_active}:</td> 110 <td><input type="checkbox" {phpgwaccountstatus_checked} {disabled} name="phpgwaccountstatus" id="phpgwaccountstatus" value="1" </td>110 <td><input type="checkbox" {phpgwaccountstatus_checked} {disabled} name="phpgwaccountstatus" id="phpgwaccountstatus" value="1"></td> 111 111 </tr> 112 112 113 113 <tr bgcolor={row_off}> 114 114 <td colspan="2">{lang_do_not_show_this_account_in_the_contact_center}:</td> 115 <td><input type="checkbox" {phpgwaccountvisible_checked} {disabled} name="phpgwaccountvisible" id="phpgwaccountvisible" value="1" </td>115 <td><input type="checkbox" {phpgwaccountvisible_checked} {disabled} name="phpgwaccountvisible" id="phpgwaccountvisible" value="1"></td> 116 116 </tr> 117 117 {start_coment_expired} … … 158 158 <tr bgcolor={row_off}> 159 159 <td>{lang_active_email_account}:</td> 160 <td><input type="checkbox" {accountstatus_checked} {disabled} name="accountstatus" id="accountstatus" value="1" </td>160 <td><input type="checkbox" {accountstatus_checked} {disabled} name="accountstatus" id="accountstatus" value="1"></td> 161 161 </tr> 162 162 … … 186 186 <tr bgcolor={row_off}> 187 187 <td>{lang_only_forwarding}:</td> 188 <td><input type="checkbox" {deliverymode_checked} {disabled} name="deliverymode" id="deliverymode" value="1" </td>188 <td><input type="checkbox" {deliverymode_checked} {disabled} name="deliverymode" id="deliverymode" value="1"></td> 189 189 </tr> 190 190 … … 386 386 <script type="text/javascript"> 387 387 tab.display(1); 388 // Note: The "change_password" field must be disabled and checked when the "passwd_expired" field will be enabled. 389 set_changepassword(); 388 390 </script> 389 391
Note: See TracChangeset
for help on using the changeset viewer.