[903] | 1 | <!-- BEGIN main --> |
---|
| 2 | |
---|
| 3 | <script type="text/javascript"> |
---|
| 4 | var tab = new Tabs(7,'activetab','inactivetab','tab','tabcontent','','','tabpage'); |
---|
| 5 | function initAll() |
---|
| 6 | { |
---|
| 7 | tab.init(); |
---|
| 8 | } |
---|
| 9 | {alert_warning}; |
---|
| 10 | </script> |
---|
| 11 | |
---|
| 12 | <center> |
---|
| 13 | <form action="{action}" enctype="multipart/form-data" name="users_form" method="post"> |
---|
| 14 | <input type="hidden" name="uidnumber" value="{uidnumber}"> |
---|
| 15 | <input type="hidden" name="photo_exist" value="{photo_exist}"> |
---|
| 16 | <input type="hidden" name="user_context" value="{user_context}"> |
---|
| 17 | <input type="hidden" name="departmentnumber" value="{departmentnumber}"> |
---|
| 18 | <input type="hidden" name="userSamba" value="{userSamba}"> |
---|
| 19 | <input type="hidden" name="defaultLogonScript" value="{defaultLogonScript}"> |
---|
| 20 | <input type="hidden" name="imapDelimiter" value="{imapDelimiter}"> |
---|
| 21 | <input type="hidden" name="minimumSizeLogin" value="{minimumSizeLogin}"> |
---|
| 22 | <input type="hidden" name="defaultDomain" value="{defaultDomain}"> |
---|
| 23 | <input type="hidden" id="ldap_context" name="ldap_context" value="{ldap_context}"> |
---|
| 24 | <input type="hidden" id="ldap_original_path" value="{ldap_original_path}"> |
---|
| 25 | <input type="hidden" id="ldap_default_path" value="{ldap_default_path}"> |
---|
| 26 | <input type="hidden" id="ldap_relative_path" name="ldap_relative_path" value="{ldap_relative_path}"> |
---|
| 27 | <input type="hidden" id="corporationAccount_ldapPath" value="{corporationAccount_ldapPath}"> |
---|
| 28 | <input type="hidden" id="meucombo" value="{meucombo}"> |
---|
| 29 | |
---|
| 30 | <br> |
---|
| 31 | <table width="90%" border="0" cellspacing="0" cellpading="0"> |
---|
| 32 | <tr> |
---|
| 33 | <th id="tab1" class="activetab" onclick="javascript:tab.display(1);"><a href="#" tabindex="0" accesskey="1" onfocus="tab.display(1);" onclick="tab.display(1); return(false);">{lang_general_information}</a></th> |
---|
| 34 | <th id="tab2" class="activetab" style="display:{display_corporative_information}"onclick="javascript:tab.display(2);"><a href="#" tabindex="0" accesskey="2" onfocus="tab.display(2);" onclick="tab.display(2); return(false);">{lang_corporative_information}</a></th> |
---|
| 35 | <th id="tab3" class="activetab" style="display:{display_emailconfig}" onclick="javascript:tab.display(3);"><a href="#" tabindex="0" accesskey="3" onfocus="tab.display(3);" onclick="tab.display(3); return(false);">{lang_email_config}</a></th> |
---|
| 36 | <th id="tab4" class="activetab" style="display:{display_groups}" onclick="javascript:tab.display(4);"><a href="#" tabindex="0" accesskey="4" onfocus="tab.display(4);" onclick="tab.display(4); return(false);">{lang_groups_permission}</a></th> |
---|
| 37 | <th id="tab5" class="activetab" style="display:{display_emaillists}" onclick="javascript:tab.display(5);"><a href="#" tabindex="0" accesskey="5" onfocus="tab.display(5);" onclick="tab.display(5); return(false);">{lang_lists_permission}</a></th> |
---|
| 38 | <th id="tab6" class="activetab" style="display:{display_applications}" onclick="javascript:tab.display(6);"><a href="#" tabindex="0" accesskey="6" onfocus="tab.display(6);" onclick="tab.display(6); return(false);">{lang_aplication_permission}</a></th> |
---|
| 39 | <th id="tab7" class="activetab" style="display:{display_samba_suport}" onclick="javascript:tab.display(7);"><a href="#" tabindex="0" accesskey="7" onfocus="tab.display(7);" onclick="tab.display(7); return(false);">{lang_samba_config}</a></th> |
---|
| 40 | </tr> |
---|
| 41 | </table> |
---|
| 42 | <br> |
---|
| 43 | |
---|
| 44 | <!-- The code for General Information Tab --> |
---|
| 45 | <div id="tabcontent1" class="inactivetab"> |
---|
| 46 | <table width="90%" border="0" cellspacing="4"> |
---|
| 47 | <tr bgcolor={row_on}> |
---|
| 48 | <!-- <td>{lang_search_organization}:</td> |
---|
| 49 | <td><input {disabled_organization} type="text" id="organization_search" {disabled} autocomplete="off" size=20 onKeyUp="javascript:search_organization(this.value, 'ea_combo_org_info');" onBlur="javascript:sinc_combos_org(context.value); get_available_groups(context.value); get_available_maillists(context.value); get_available_sambadomains(context.value, '{type}')"></td> |
---|
| 50 | --> |
---|
| 51 | <td>{lang_creation_date}:</td> |
---|
| 52 | <td><input disabled type="text" id="createDate" name="createDate" value="{createDate}" autocomplete="off" size=55></input> </td> |
---|
| 53 | <td>{lang_mailbox_state}:</td> |
---|
| 54 | <td><input disabled type="text" id="userboxstatus" name="createDate" value="{userboxstatus}" autocomplete="off" size=55></input> </td> |
---|
| 55 | |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | <tr bgcolor={row_off}> |
---|
| 59 | <td>{lang_organization}:</td> |
---|
| 60 | <td><select {disabled_organization} {disabled} id="ea_combo_org_info" name="context" onchange="javascript:sinc_combos_org(this.value); get_available_groups(this.value); get_available_maillists(this.value); get_available_sambadomains(this.value, '{type}')">{sectors}</select></td> |
---|
| 61 | <td>{lang_ldap_path}:</td> |
---|
| 62 | <td id='ldapPathBuild' align='center'> |
---|
| 63 | <div id='ldapPathBuildD' align='center'></div> |
---|
| 64 | <p> |
---|
| 65 | <input type="text" id="dn" name="dn" value="{dn}" autocomplete="off" disabled size=50></input> |
---|
| 66 | <p> |
---|
| 67 | <input {disabled_change_context} type='button' value='Pesquisar setor' onclick="javascript:add_select_ldapPath();"> |
---|
| 68 | <input {disabled_change_context} type={revert_button} value='Reverter' onclick="javascript:revert_ldapPath();" align='right'> |
---|
| 69 | <input {disabled_change_context} type='button' value='Caminho Padrao' onclick="javascript:set_default_ldapPath();" align='right'> |
---|
| 70 | </td> |
---|
| 71 | </tr> |
---|
| 72 | |
---|
| 73 | <tr bgcolor={row_on}> |
---|
| 74 | <td>{lang_account_lid}:</td> |
---|
| 75 | <td> |
---|
| 76 | <table border="0" style="{display_input_account_lid}"><tr><td> |
---|
| 77 | <input type="text" name="uid" value="{uid}" {disabled} size=20 onchange="javascript:emailSuggestion_expressoadmin('{use_suggestion_in_logon_script}','{concatenateDomain}')" onchange="javascript:emailGenerate();"></input> |
---|
| 78 | </td></tr></table> |
---|
| 79 | <spam style="{display_spam_uid}"><font size="3">{uid}</font></spam> |
---|
| 80 | </td> |
---|
| 81 | <td>{lang_email}:</td> |
---|
| 82 | <td><input type="text" name="mail1" autocomplete="off" {disabled} size=55 value="{mail1}" onblur="users_form.mail.value=this.value;"></td> |
---|
| 83 | </tr> |
---|
| 84 | |
---|
| 85 | <tr bgcolor={row_off}> |
---|
| 86 | <td width="15%">{lang_firstname}:</td> |
---|
| 87 | <td width="35%"><input type="text" name="givenname" value="{givenname}" autocomplete="off" {disabled} size=42></input> </td> |
---|
| 88 | <td width="15%">{lang_surname}:</td> |
---|
| 89 | <td width="35%"><input type="text" name="sn" value="{sn}" autocomplete="off" {disabled} size=42></input> </td> |
---|
| 90 | </tr> |
---|
| 91 | |
---|
| 92 | <tr bgcolor={row_on}> |
---|
| 93 | <td width="15%">{lang_password}:</td> |
---|
| 94 | <td width="35%"><input onchange="javascript:set_pass_expired();" type="password" name="password1" id="password1" {disabled_password} size=20></input> </td> |
---|
| 95 | <td width="15%">{lang_re-password}:</td> |
---|
| 96 | <td width="35%"><input type="password" name="password2" {disabled_password} size=20></input> </td> |
---|
| 97 | </tr> |
---|
| 98 | |
---|
| 99 | <tr bgcolor={row_on} style='display:{display_tr_default_password}'> |
---|
| 100 | <td width="15%"> </td> |
---|
| 101 | <td width="35%"> |
---|
| 102 | <input type='button' value='Inserir senha padrão' onclick="javascript:set_user_default_password();"> |
---|
| 103 | <input type='button' value='Retornar senha do usuário' onclick="javascript:return_user_password();"> |
---|
| 104 | </td> |
---|
| 105 | <td> </td> |
---|
| 106 | <td> </td> |
---|
| 107 | </tr> |
---|
| 108 | |
---|
| 109 | <tr bgcolor={row_off}> |
---|
| 110 | <td colspan="2">{lang_password_expiration}:</td> |
---|
| 111 | <td><input type="checkbox" {passwd_expired_checked} {disabled} name="passwd_expired" id="passwd_expired" value="1"</td> |
---|
| 112 | <td rowspan="4" width="35%" style="display:{display_picture}"> |
---|
| 113 | <img align="center" src="{photo_bin}" id="ea_img_photo" border="0"> |
---|
| 114 | <input type="file" id="ea_input_photo" name="photo" {disabled_edit_photo} size=20><br> |
---|
| 115 | <input type="checkbox" {disabled_delete_photo} {disabled_edit_photo} name="delete_photo" value="1">Excluir foto |
---|
| 116 | </td> |
---|
| 117 | |
---|
| 118 | </tr> |
---|
| 119 | |
---|
| 120 | <tr bgcolor={row_on}> |
---|
| 121 | <td colspan="2">{lang_changepassword}:</td> |
---|
| 122 | <td><input type="checkbox" {changepassword_checked} {disabled} name="changepassword" id="changepassword" value="1"</td> |
---|
| 123 | </tr> |
---|
| 124 | |
---|
| 125 | <tr bgcolor={row_off}> |
---|
| 126 | <td colspan="2">{lang_account_active}:</td> |
---|
| 127 | <td><input type="checkbox" {phpgwaccountstatus_checked} {disabled} name="phpgwaccountstatus" id="phpgwaccountstatus" value="1"</td> |
---|
| 128 | </tr> |
---|
| 129 | |
---|
| 130 | <tr bgcolor={row_on}> |
---|
| 131 | <td colspan="2">{lang_account_invisible}:</td> |
---|
| 132 | <td><input type="checkbox" {phpgwaccountvisible_checked} {disabled} name="phpgwaccountvisible" id="phpgwaccountvisible" value="1"</td> |
---|
| 133 | </tr> |
---|
| 134 | <tr bgcolor={row_off}> |
---|
| 135 | <td colspan="2">{lang_corporation_account}:</td> |
---|
| 136 | <td><input type="checkbox" {corporationAccount_checked} onclick="javascript:change_corporationAccount();" {disabled_corporativeAccount} name="corporation_account" id="corporation_account" value="0"</td> |
---|
| 137 | </tr> |
---|
| 138 | <tr bgcolor={row_on}> |
---|
| 139 | <td><input type='button' {disabled} {disabled_access_button} value='Exibir registros de acesso' onclick="document.location.href='./index.php?menuaction=expressoAdminSerpro.uiaccounts.show_access_log&account_id={uidnumber}';"></td> |
---|
| 140 | </tr> |
---|
| 141 | </table> |
---|
| 142 | </div> |
---|
| 143 | |
---|
| 144 | <!-- The code for Corporative Information --> |
---|
| 145 | <div id="tabcontent2" class="inactivetab"> |
---|
| 146 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
| 147 | <tr bgcolor={row_on}> |
---|
| 148 | <td>{lang_company}:</td> |
---|
| 149 | <td><input type="text" name="corporative_information_o" autocomplete="off" value="{corporative_information_o}" size="30"></td> |
---|
| 150 | </tr> |
---|
| 151 | <tr bgcolor={row_off}> |
---|
| 152 | <td>{lang_ou}:</td> |
---|
| 153 | <td><input type="text" name="corporative_information_ou" autocomplete="off" value="{corporative_information_ou}" size="30"></td> |
---|
| 154 | </tr> |
---|
| 155 | <tr bgcolor={row_on}> |
---|
| 156 | <td>{lang_employeenumber}:</td> |
---|
| 157 | <td><input type="text" name="corporative_information_employeenumber" autocomplete="off" value="{corporative_information_employeenumber}" size="30"></td> |
---|
| 158 | </tr> |
---|
| 159 | <tr bgcolor={row_off}> |
---|
| 160 | <td>{lang_description}:</td> |
---|
| 161 | <td><input type="text" name="corporative_information_description" autocomplete="off" value="{corporative_information_description}" size="30"></td> |
---|
| 162 | </tr> |
---|
| 163 | <tr bgcolor={row_on}> |
---|
| 164 | <td>Cargo:</td> |
---|
| 165 | <td><input type="text" name="corporative_information_usrcargo" autocomplete="off" value="{corporative_information_usrcargo}" size="30"></td> |
---|
| 166 | </tr> |
---|
| 167 | <tr bgcolor={row_off}> |
---|
| 168 | <td>{lang_cpf}:</td> |
---|
| 169 | <td><input type="text" name="corporative_information_cpf" autocomplete="off" value="{corporative_information_cpf}" size="30"></td> |
---|
| 170 | </tr> |
---|
| 171 | <tr bgcolor={row_on}> |
---|
| 172 | <td>{lang_rg}:</td> |
---|
| 173 | <td><input type="text" name="corporative_information_rg" autocomplete="off" value="{corporative_information_rg}" size="30"></td> |
---|
| 174 | </tr> |
---|
| 175 | <tr bgcolor={row_off}> |
---|
| 176 | <td>{lang_address}:</td> |
---|
| 177 | <td><input type="text" name="corporative_information_postaladdress" autocomplete="off" value="{corporative_information_postaladdress}" size="30"></td> |
---|
| 178 | </tr> |
---|
| 179 | <tr bgcolor={row_on}> |
---|
| 180 | <td>{lang_st}:</td> |
---|
| 181 | <td> |
---|
| 182 | <select id="corporative_information_st" name="corporative_information_st" onchange="updateCities()" style="width:200px;"> |
---|
| 183 | {options_st} |
---|
| 184 | </select> |
---|
| 185 | <!--<input type="text" name="corporative_information_st" autocomplete="off" value="{corporative_information_st}" size="30">--> |
---|
| 186 | </td> |
---|
| 187 | </tr> |
---|
| 188 | <tr bgcolor={row_off}> |
---|
| 189 | <td>{lang_city}:</td> |
---|
| 190 | <td> |
---|
| 191 | <select id="corporative_information_l" name="corporative_information_l" style="width:200px;"> |
---|
| 192 | <option value="">Escolha a cidade...</option> |
---|
| 193 | {options_l} |
---|
| 194 | </select> |
---|
| 195 | <!--<input type="text" name="corporative_information_l" autocomplete="off" value="{corporative_information_l}" size="30">--> |
---|
| 196 | </td> |
---|
| 197 | </tr> |
---|
| 198 | <tr bgcolor={row_on}> |
---|
| 199 | <td width="15%">{lang_phone}:</td> |
---|
| 200 | <td width="35%"><input type="text" name="corporative_information_telephonenumber" id="corporative_information_telephonenumber" value="{corporative_information_telephonenumber}" autocomplete="off" {disable_phonenumber} size=30 maxlength=13 onkeyPress="FormataValor(event, this);"></input> </td> |
---|
| 201 | </tr> |
---|
| 202 | <tr bgcolor={row_off}> |
---|
| 203 | <td width="15%">{lang_mobile}:</td> |
---|
| 204 | <td width="35%"><input type="text" name="corporative_information_mobile" id="corporative_information_mobile" value="{corporative_information_mobile}" autocomplete="off" {disable_mobile} size=30 maxlength=13 onkeyPress="FormataValor(event, this);" ></input> </td> |
---|
| 205 | </tr> |
---|
| 206 | <tr bgcolor={row_on}> |
---|
| 207 | <td width="15%">SIP:</td> |
---|
| 208 | <td width="35%"><input type="text" name="corporative_information_pager" id="corporative_information_pager" value="{corporative_information_pager}" autocomplete="off" {disable_pager} size=30 maxlength=13 ></input> </td> |
---|
| 209 | </tr> |
---|
| 210 | <tr bgcolor={row_off}> |
---|
| 211 | <td>{lang_owners}:</td> |
---|
| 212 | <td id="accountOwners"> |
---|
| 213 | {input_accountOwners_fields} |
---|
| 214 | <span id="corporative_information_accountOwners_cursor" style="cursor:pointer" onclick="javascript:add_input_accountOwners();"> +</span> |
---|
| 215 | </td> |
---|
| 216 | </tr> |
---|
| 217 | |
---|
| 218 | |
---|
| 219 | </table> |
---|
| 220 | </div> |
---|
| 221 | |
---|
| 222 | <!-- The code for Email Config --> |
---|
| 223 | <div id="tabcontent3" class="inactivetab"> |
---|
| 224 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
| 225 | <tr bgcolor={row_off}> |
---|
| 226 | <td>{lang_activeemailaccount}:</td> |
---|
| 227 | <td><input type="checkbox" {accountstatus_checked} {disabled} name="accountstatus" id="accountstatus" value="1"</td> |
---|
| 228 | </tr> |
---|
| 229 | |
---|
| 230 | <tr bgcolor={row_on}> |
---|
| 231 | <td>{lang_email}:</td> |
---|
| 232 | <td><input type="text" name="mail" autocomplete="off" value="{mail1}" {disabled} size=30 onblur="users_form.mail1.value=this.value"></td> |
---|
| 233 | </tr> |
---|
| 234 | |
---|
| 235 | <tr bgcolor={row_off}> |
---|
| 236 | <td>{lang_aliasemail}:</td> |
---|
| 237 | <td id="td_input_mailalternateaddress"> |
---|
| 238 | {input_mailalternateaddress_fields} |
---|
| 239 | <!--<input type="text" name="mailalternateaddress[]" id="mailalternateaddress" autocomplete="off" value="{mailalternateaddress}" {disabled} size=30>--> |
---|
| 240 | <span style="cursor:pointer" onclick="javascript:add_input_mailalternateaddress();"> +</span> |
---|
| 241 | </td> |
---|
| 242 | </tr> |
---|
| 243 | |
---|
| 244 | <tr bgcolor={row_on}> |
---|
| 245 | <td>{lang_forwardingemail}:</td> |
---|
| 246 | <td id="td_input_mailforwardingaddress"> |
---|
| 247 | {input_mailforwardingaddress_fields} |
---|
| 248 | <!--<input type="text" name="mailforwardingaddress[]" id="mailforwardingaddress" autocomplete="off" value="{mailforwardingaddress}" {disabled} size=30>--> |
---|
| 249 | <span style="cursor:pointer" onclick="javascript:add_input_mailforwardingaddress();"> +</span> |
---|
| 250 | </td> |
---|
| 251 | </tr> |
---|
| 252 | |
---|
| 253 | <tr bgcolor={row_off}> |
---|
| 254 | <td>{lang_onlyforwarding}:</td> |
---|
| 255 | <td><input type="checkbox" {deliverymode_checked} {disabled} name="deliverymode" id="deliverymode" value="1"></td> |
---|
| 256 | </tr> |
---|
| 257 | |
---|
| 258 | <tr bgcolor={row_on}> |
---|
| 259 | <td>{lang_email_quota}:</td> |
---|
| 260 | <td><input type="text" name="mailquota" autocomplete="off" value="{mailquota}" {changequote_disabled} {disabled} size=10></td> |
---|
| 261 | </tr> |
---|
| 262 | |
---|
| 263 | <tr bgcolor={row_off}> |
---|
| 264 | <td>{lang_email_quota_used}:</td> |
---|
| 265 | <td><input type="text" name="mailquota_used" id="mailquota_used" value="{mailquota_used}" disabled size=10></td> |
---|
| 266 | </tr> |
---|
| 267 | |
---|
| 268 | <tr bgcolor={row_on}> |
---|
| 269 | <td><input type='button' disabled {disabled_empty_inbox} value='Limpar Caixa do usuário' onclick="javascript:empty_inbox(uid.value);"></td> |
---|
| 270 | </tr> |
---|
| 271 | |
---|
| 272 | </table> |
---|
| 273 | </div> |
---|
| 274 | |
---|
| 275 | <!-- The code for Group --> |
---|
| 276 | <div id="tabcontent4" class="inactivetab"> |
---|
| 277 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
| 278 | <tr bgcolor={row_on}> |
---|
| 279 | |
---|
| 280 | <td valign="bottom"> |
---|
| 281 | <table width="100%" border="0"> |
---|
| 282 | <tr> |
---|
| 283 | <td width="40%" align="center"> |
---|
| 284 | <br>{lang_user_groups}<br><br> |
---|
| 285 | <select id="ea_select_user_groups" size="10" style="width: 300px" multiple name="groups[]">{ea_select_user_groups_options}</select> |
---|
| 286 | </td> |
---|
| 287 | </tr> |
---|
| 288 | </table> |
---|
| 289 | </td> |
---|
| 290 | |
---|
| 291 | <td width="20%" align="center"> |
---|
| 292 | <button type="button" {disabled} onClick="javascript:add_user2group();"><img src="expressoAdminSerpro/templates/default/images/add.png" style="vertical-align: middle;" > {lang_add}</button> |
---|
| 293 | <br><br> |
---|
| 294 | <button type="button" {disabled} onClick="javascript:remove_user2group();"><img src="expressoAdminSerpro/templates/default/images/rem.png" style="vertical-align: middle;" > {lang_rem}</button> |
---|
| 295 | </td> |
---|
| 296 | |
---|
| 297 | <td> |
---|
| 298 | <table width="100%" border="0"> |
---|
| 299 | <tr> |
---|
| 300 | <td> |
---|
| 301 | {lang_organizations}: |
---|
| 302 | <br> |
---|
| 303 | <select {disabled} id="ea_combo_org_groups" onchange="javascript:get_available_groups(this.value);">{combo_organizations}</select> |
---|
| 304 | </td> |
---|
| 305 | </tr> |
---|
| 306 | |
---|
| 307 | <tr> |
---|
| 308 | <td> |
---|
| 309 | {lang_group_search}:<br> |
---|
| 310 | <input {disabled} id="ea_input_searchGroup" size="35" autocomplete="off" onkeyup="javascript:optionFinderTimeout_group(this)"><br> |
---|
| 311 | <font color="red"><span id="ea_span_searching_group"> <span></font> |
---|
| 312 | <br> |
---|
| 313 | </td> |
---|
| 314 | </tr> |
---|
| 315 | |
---|
| 316 | <tr> |
---|
| 317 | <td width="40%"> |
---|
| 318 | {lang_available_groups}<br> |
---|
| 319 | <select {disabled} id="ea_select_available_groups" size="10" style="width:300px" multiple></select> |
---|
| 320 | </td> |
---|
| 321 | </tr> |
---|
| 322 | </table> |
---|
| 323 | </td> |
---|
| 324 | </tr> |
---|
| 325 | <tr height="30" bgcolor="{row_off}"> |
---|
| 326 | <td colspan="4" align="left"> |
---|
| 327 | {lang_primary_group}: |
---|
| 328 | <select id="ea_combo_primary_user_group" name="gidnumber" {disabled}>{ea_combo_primary_user_group_options}</select> |
---|
| 329 | </td> |
---|
| 330 | </tr> |
---|
| 331 | </table> |
---|
| 332 | </div> |
---|
| 333 | |
---|
| 334 | <!-- The code for lists Email --> |
---|
| 335 | <div id="tabcontent5" class="inactivetab"> |
---|
| 336 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
| 337 | <tr bgcolor={row_on}> |
---|
| 338 | |
---|
| 339 | <td valign="bottom"> |
---|
| 340 | <table width="100%" border="0"> |
---|
| 341 | <tr> |
---|
| 342 | <td width="40%" align="center"> |
---|
| 343 | <br>{lang_user_mail_lists}:<br><br> |
---|
| 344 | <select id="ea_select_user_maillists" size="13" style="width: 400px" multiple name="maillists[]">{ea_select_user_maillists_options}</select> |
---|
| 345 | </td> |
---|
| 346 | </tr> |
---|
| 347 | </table> |
---|
| 348 | </td> |
---|
| 349 | |
---|
| 350 | <td width="20%"> |
---|
| 351 | <button type="button" {disabled} onClick="javascript:add_user2maillist();"><img src="expressoAdminSerpro/templates/default/images/add.png" style="vertical-align: middle;" > {lang_add}</button> |
---|
| 352 | <br><br> |
---|
| 353 | <button type="button" {disabled} onClick="javascript:remove_user2maillist();"><img src="expressoAdminSerpro/templates/default/images/rem.png" style="vertical-align: middle;" > {lang_rem}</button> |
---|
| 354 | </td> |
---|
| 355 | |
---|
| 356 | <td> |
---|
| 357 | <table width="100%" border="0"> |
---|
| 358 | <tr> |
---|
| 359 | <td> |
---|
| 360 | {lang_search_organization}: |
---|
| 361 | <br> |
---|
| 362 | <input type="text" id="organization_search" autocomplete="off" size=20 onKeyUp="javascript:search_organization(this.value, 'ea_combo_org_maillists');" onblur="javascript:get_available_maillists(ea_combo_org_maillists.value);"> |
---|
| 363 | <!--<input type="text" id="organization_search" autocomplete="off" size=20 onKeyUp="javascript:search_organization(this.value, 'ea_combo_org_maillists');" onBlur="javascript:get_available_users(org_context.value, ea_check_allUsers.checked);">--> |
---|
| 364 | <br> |
---|
| 365 | {lang_organizations}: |
---|
| 366 | <br> |
---|
| 367 | <select {disabled} id="ea_combo_org_maillists" name="ea_combo_org_maillists" onchange="javascript:get_available_maillists(this.value);">{combo_all_orgs}</select> |
---|
| 368 | </td> |
---|
| 369 | </tr> |
---|
| 370 | <tr> |
---|
| 371 | <td> |
---|
| 372 | {lang_list_search}:<br> |
---|
| 373 | <input {disabled} id="ea_input_searchMailList" size="35" autocomplete="off" onkeyup="javascript:optionFinderTimeout_maillist(this)"><br> |
---|
| 374 | <font color="red"><span id="ea_span_searching_maillist"> <span></font> |
---|
| 375 | <br> |
---|
| 376 | </td> |
---|
| 377 | </tr> |
---|
| 378 | <tr> |
---|
| 379 | <td width="40%"> |
---|
| 380 | {lang_available_mail_lists}:<br> |
---|
| 381 | <select id="ea_select_available_maillists" size="13" style="width: 400px" multiple {disabled}>{account_lists}</select> |
---|
| 382 | </td> |
---|
| 383 | </tr> |
---|
| 384 | </table> |
---|
| 385 | </td> |
---|
| 386 | |
---|
| 387 | </tr> |
---|
| 388 | </table> |
---|
| 389 | </div> |
---|
| 390 | |
---|
| 391 | <!-- The code for Apps Tab --> |
---|
| 392 | <div id="tabcontent6" class="inactivetab"> |
---|
| 393 | <table id="ea_table_apps" width="80%" border="0" cellspacing="2" cellpading="0"> |
---|
| 394 | {apps} |
---|
| 395 | </table> |
---|
| 396 | </div> |
---|
| 397 | |
---|
| 398 | <!-- The code for SAMBA --> |
---|
| 399 | <!--<div id="tabcontent7" class="inactivetab" style="{display_samba_suport}">--> |
---|
| 400 | <div id="tabcontent7" class="inactivetab"> |
---|
| 401 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
| 402 | <tr bgcolor={row_on}> |
---|
| 403 | <td>{lang_use_attrs_samba}:</td> |
---|
| 404 | <td><input {use_attrs_samba_checked} {disabled_samba} name="use_attrs_samba" type="checkbox" id="use_attrs_samba" onChange="javascript:use_samba_attrs(this.checked)"></td> |
---|
| 405 | </tr> |
---|
| 406 | <tr bgcolor={row_off}> |
---|
| 407 | <td>{lang_sambaAcctFlags}:</td> |
---|
| 408 | <td> |
---|
| 409 | <select {disabled_samba} name="sambaacctflags"> |
---|
| 410 | <option value="[U ]" {active_user_selected}>{lang_active_user}</option> |
---|
| 411 | <option value="[DU ]" {desactive_user_selected}>{lang_desactive_user}</option> |
---|
| 412 | </select> |
---|
| 413 | </td> |
---|
| 414 | </tr> |
---|
| 415 | <tr bgcolor={row_on}> |
---|
| 416 | <td>{lang_sambadomain}:</td> |
---|
| 417 | <td> |
---|
| 418 | <select {disabled_samba} name="sambadomain" id="ea_combo_sambadomains"> |
---|
| 419 | {sambadomainname_options} |
---|
| 420 | </select> |
---|
| 421 | </td> |
---|
| 422 | </tr> |
---|
| 423 | <tr bgcolor={row_off}> |
---|
| 424 | <td>{lang_sambaLogonScript}:</td> |
---|
| 425 | <td><input {disabled_samba} type="text" name="sambalogonscript" autocomplete="off" value="{sambalogonscript}" size="30"></td> |
---|
| 426 | </tr> |
---|
| 427 | <tr bgcolor={row_on}> |
---|
| 428 | <td>{lang_sambaHomeDirectory}:</td> |
---|
| 429 | <td> |
---|
| 430 | <input {disabled_samba} type="text" name="sambahomedirectory" autocomplete="off" value="{sambahomedirectory}" size="30"> |
---|
| 431 | </td> |
---|
| 432 | </tr> |
---|
| 433 | </table> |
---|
| 434 | </div> |
---|
| 435 | <!-- End Tabs --> |
---|
| 436 | |
---|
| 437 | <br><br> |
---|
| 438 | <table width="90%" border="0" cellspacing="0" cellpading="1"> |
---|
| 439 | <tr> |
---|
| 440 | <td width="90%" align="left" class="td_left" bgcolor="{color_bg1}"> |
---|
| 441 | <input type="button" value="{lang_back}" onClick="document.location.href='{back_url}'"> |
---|
| 442 | </td> |
---|
| 443 | <td width="10%" align="right" class="td_right" bgcolor="{color_bg1}"> |
---|
| 444 | <input type="button" value="{lang_save}" onClick="javascript:validate_fields('{type}');"> |
---|
| 445 | </td> |
---|
| 446 | </tr> |
---|
| 447 | </table> |
---|
| 448 | |
---|
| 449 | <script type="text/javascript"> |
---|
| 450 | tab.display(1); |
---|
| 451 | </script> |
---|
| 452 | |
---|
| 453 | </form> |
---|
| 454 | </center> |
---|
| 455 | <!-- END main --> |
---|