1 | <!-- BEGIN main --> |
---|
2 | |
---|
3 | <script type="text/javascript"> |
---|
4 | var tab = new Tabs(6,'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="manager_context" value="{manager_context}"> |
---|
16 | <input type="hidden" name="photo_exist" value="{photo_exist}"> |
---|
17 | <input type="hidden" name="user_context" value="{user_context}"> |
---|
18 | <input type="hidden" name="departmentnumber" value="{departmentnumber}"> |
---|
19 | <input type="hidden" name="userSamba" value="{userSamba}"> |
---|
20 | <input type="hidden" name="defaultLogonScript" value="{defaultLogonScript}"> |
---|
21 | <input type="hidden" name="imapDelimiter" value="{imapDelimiter}"> |
---|
22 | <input type="hidden" name="minimumSizeLogin" value="{minimumSizeLogin}"> |
---|
23 | <input type="hidden" name="defaultDomain" value="{defaultDomain}"> |
---|
24 | <input type="hidden" name="ldap_context" value="{ldap_context}"> |
---|
25 | |
---|
26 | <br> |
---|
27 | <table width="90%" border="0" cellspacing="0" cellpading="0"> |
---|
28 | <tr> |
---|
29 | <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> |
---|
30 | <th id="tab2" class="activetab" onclick="javascript:tab.display(2);"><a href="#" tabindex="0" accesskey="2" onfocus="tab.display(2);" onclick="tab.display(2); return(false);">{lang_email_config}</a></th> |
---|
31 | <th id="tab3" class="activetab" onclick="javascript:tab.display(3);"><a href="#" tabindex="0" accesskey="3" onfocus="tab.display(3);" onclick="tab.display(3); return(false);">{lang_groups_permission}</a></th> |
---|
32 | <th id="tab4" class="activetab" onclick="javascript:tab.display(4);"><a href="#" tabindex="0" accesskey="4" onfocus="tab.display(4);" onclick="tab.display(4); return(false);">{lang_lists_permission}</a></th> |
---|
33 | <th id="tab5" class="activetab" onclick="javascript:tab.display(5);"><a href="#" tabindex="0" accesskey="5" onfocus="tab.display(5);" onclick="tab.display(5); return(false);">{lang_aplication_permission}</a></th> |
---|
34 | <th style="{display_samba_suport}" id="tab6" class="activetab" onclick="javascript:tab.display(6);"><a href="#" tabindex="0" accesskey="6" onfocus="tab.display(6);" onclick="tab.display(6); return(false);">{lang_samba_config}</a></th> |
---|
35 | </tr> |
---|
36 | </table> |
---|
37 | <br> |
---|
38 | |
---|
39 | <!-- The code for General Information Tab --> |
---|
40 | <div id="tabcontent1" class="inactivetab"> |
---|
41 | <table width="90%" border="0" cellspacing="4"> |
---|
42 | <tr bgcolor={row_on}> |
---|
43 | <td>{lang_organizations}:</td> |
---|
44 | <td><input type="text" name="sector" autocomplete="off" disabled size=42 value="{sectors}"></td> |
---|
45 | |
---|
46 | </tr> |
---|
47 | |
---|
48 | <tr bgcolor={row_off}> |
---|
49 | <td>{lang_account_lid}:</td> |
---|
50 | <td> |
---|
51 | <table border="0" style="{display_input_account_lid}"><tr><td> |
---|
52 | <input type="text" name="uid" value="{uid}"autocomplete="off" {disabled} size=20 onKeyUp="javascript:emailSuggestion_expressoadmin('{use_suggestion_in_logon_script}','{concatenateDomain}')" onblur="users_form.mail.value=users_form.mail1.value;"></input> |
---|
53 | </td></tr></table> |
---|
54 | <spam style="{display_spam_uid}"><font size="3">{uid}</font></spam> |
---|
55 | </td> |
---|
56 | <td>{lang_email}:</td> |
---|
57 | <td><input type="text" name="mail1" autocomplete="off" {disabled} size=42 value="{mail1}" onblur="users_form.mail.value=this.value;"></td> |
---|
58 | </tr> |
---|
59 | |
---|
60 | <tr bgcolor={row_on}> |
---|
61 | <td width="15%">{lang_firstname}:</td> |
---|
62 | <td width="35%"><input type="text" name="givenname" value="{givenname}" autocomplete="off" disabled size=42></input> </td> |
---|
63 | <td width="15%">{lang_lastname}:</td> |
---|
64 | <td width="35%"><input type="text" name="sn" value="{sn}" autocomplete="off" disabled size=42></input> </td> |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr bgcolor={row_on}> |
---|
68 | <td width="15%">{lang_password}:</td> |
---|
69 | <td width="35%"><input type="password" name="password1" {disabled_password} size=20></input> </td> |
---|
70 | <td width="15%">{lang_re-password}:</td> |
---|
71 | <td width="35%"><input type="password" name="password2" {disabled_password} size=20></input> </td> |
---|
72 | </tr> |
---|
73 | |
---|
74 | <tr bgcolor={row_on} style='display:{display_tr_default_password}'> |
---|
75 | <td width="15%"> </td> |
---|
76 | <td width="35%"> |
---|
77 | <input type='button' value='Inserir senha padrï¿œo' onclick="javascript:set_user_default_password();"> |
---|
78 | <input type='button' value='Retornar senha do usuï¿œrio' onclick="javascript:return_user_password();"> |
---|
79 | </td> |
---|
80 | </tr> |
---|
81 | |
---|
82 | <tr bgcolor={row_off}> |
---|
83 | <td width="15%">{lang_phone}:</td> |
---|
84 | <td width="35%"><input type="text" name="telephonenumber" id="telephonenumber" value="{telephonenumber}" autocomplete="off" {disabled} size=20 onkeyUp="FormataValor(event, this);"></input> </td> |
---|
85 | <td> </td> |
---|
86 | <td rowspan="4" width="35%"> |
---|
87 | <img align="center" src="{photo_bin}" id="ea_img_photo" border="0"> |
---|
88 | <input type="file" id="ea_input_photo" name="photo" {disabled} size=20> |
---|
89 | <input type="checkbox" {disabled_delete_photo} {disabled} name="delete_photo" value="1">Deletar foto |
---|
90 | </td> |
---|
91 | </tr> |
---|
92 | <!-- Cadastro de celular --> |
---|
93 | <tr bgcolor={row_off}> |
---|
94 | <td width="15%">Celular:</td> |
---|
95 | <td width="35%"><input type="text" name="mobile" id="mobile" value="{mobile}" autocomplete="off" {disabled} size=20 onkeyUp="FormataValor(event, this);"></input> </td> |
---|
96 | <td> </td> |
---|
97 | </tr> |
---|
98 | <tr bgcolor={row_off}> |
---|
99 | <td width="15%">SIP:</td> |
---|
100 | <td width="35%"><input type="text" name="pager" id="pager" value="{pager}" autocomplete="off" {disabled} size=20></input> </td> |
---|
101 | <td> </td> |
---|
102 | </tr> |
---|
103 | <tr bgcolor={row_on}> |
---|
104 | <td colspan="2">{lang_changepassword}:</td> |
---|
105 | <td><input type="checkbox" {changepassword_checked} {disabled} name="changepassword" id="changepassword" value="1" checked disabled</td> |
---|
106 | </tr> |
---|
107 | |
---|
108 | <tr bgcolor={row_off}> |
---|
109 | <td colspan="2">{lang_account_active}:</td> |
---|
110 | <td><input type="checkbox" {phpgwaccountstatus_checked} {disabled} name="phpgwaccountstatus" id="phpgwaccountstatus" value="1" checked</td> |
---|
111 | </tr> |
---|
112 | |
---|
113 | <tr bgcolor={row_on}> |
---|
114 | <td colspan="2">{lang_account_invisible}:</td> |
---|
115 | <td><input type="checkbox" {phpgwaccountvisible_checked} {disabled} name="phpgwaccountvisible" id="phpgwaccountvisible" value="1"</td> |
---|
116 | </tr> |
---|
117 | |
---|
118 | <tr bgcolor={row_off}> |
---|
119 | <td><input type='button' {disabled} value='Exibir registros de acesso' onclick="document.location.href='./index.php?menuaction=expressoAdmin1_2.uiaccounts.show_access_log&account_id={uidnumber}';"></td> |
---|
120 | </tr> |
---|
121 | </table> |
---|
122 | </div> |
---|
123 | |
---|
124 | <!-- The code for Email Config --> |
---|
125 | <div id="tabcontent2" class="inactivetab"> |
---|
126 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
127 | <tr bgcolor={row_off}> |
---|
128 | <td>{lang_activeemailaccount}:</td> |
---|
129 | <td><input type="checkbox" {accountstatus_checked} {disabled} name="accountstatus" id="accountstatus" value="1" checked</td> |
---|
130 | </tr> |
---|
131 | |
---|
132 | <tr bgcolor={row_on}> |
---|
133 | <td>{lang_email}:</td> |
---|
134 | <td><input type="text" name="mail" autocomplete="off" value="{mail1}" {disabled} size=30 onblur="users_form.mail1.value=this.value"></td> |
---|
135 | </tr> |
---|
136 | |
---|
137 | <tr bgcolor={row_off}> |
---|
138 | <td>{lang_aliasemail}:</td> |
---|
139 | <td><input type="text" name="mailalternateaddress" id="mailalternateaddress" autocomplete="off" value="{mailalternateaddress}" {disabled} size=30></td> |
---|
140 | </tr> |
---|
141 | |
---|
142 | <tr bgcolor={row_on}> |
---|
143 | <td>{lang_forwardingemail}:</td> |
---|
144 | <td><input type="text" name="mailforwardingaddress" id="mailforwardingaddress" autocomplete="off" value="{mailforwardingaddress}" {disabled} size=30></td> |
---|
145 | </tr> |
---|
146 | |
---|
147 | <tr bgcolor={row_off}> |
---|
148 | <td>{lang_onlyforwarding}:</td> |
---|
149 | <td><input type="checkbox" {deliverymode_checked} {disabled} name="deliverymode" id="deliverymode" value="1"</td> |
---|
150 | </tr> |
---|
151 | |
---|
152 | <tr bgcolor={row_on}> |
---|
153 | <td>{lang_email_quota}:</td> |
---|
154 | <td><input type="text" name="mailquota" autocomplete="off" value="{mailquota}" {changequote_disabled} {disabled} size=10></td> |
---|
155 | </tr> |
---|
156 | |
---|
157 | <tr bgcolor={row_off}> |
---|
158 | <td>{lang_email_quota_used}:</td> |
---|
159 | <td><input type="text" name="mailquota_used" value="{mailquota_used}" disabled size=10></td> |
---|
160 | </tr> |
---|
161 | |
---|
162 | </table> |
---|
163 | </div> |
---|
164 | |
---|
165 | <!-- The code for Group --> |
---|
166 | <div id="tabcontent3" class="inactivetab"> |
---|
167 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
168 | <tr bgcolor={row_on}> |
---|
169 | |
---|
170 | <td valign="bottom"> |
---|
171 | <table width="100%" border="0"> |
---|
172 | <tr> |
---|
173 | <td width="40%" align="center"> |
---|
174 | <br>{lang_user_groups}<br><br> |
---|
175 | <select id="ea_select_user_groups" size="10" style="width: 300px" multiple name="groups[]">{ea_select_user_groups_options}</select> |
---|
176 | </td> |
---|
177 | </tr> |
---|
178 | </table> |
---|
179 | </td> |
---|
180 | |
---|
181 | <td width="20%" align="center"> |
---|
182 | <button type="button" {disabled} onClick="javascript:add_user2group();"><img src="expressoAdmin1_2/templates/default/images/add.png" style="vertical-align: middle;" > {lang_add}</button> |
---|
183 | <br><br> |
---|
184 | <button type="button" {disabled} onClick="javascript:remove_user2group();"><img src="expressoAdmin1_2/templates/default/images/rem.png" style="vertical-align: middle;" > {lang_rem}</button> |
---|
185 | </td> |
---|
186 | |
---|
187 | <td> |
---|
188 | <table width="100%" border="0"> |
---|
189 | <tr> |
---|
190 | <td> |
---|
191 | {lang_organizations}: |
---|
192 | <br> |
---|
193 | <input disabled {disabled} id="ea_combo_org_groups" size="42" autocomplete="off" value="{sectors}"><br> |
---|
194 | </td> |
---|
195 | </tr> |
---|
196 | |
---|
197 | <tr> |
---|
198 | <td> |
---|
199 | Procurar grupo:<br> |
---|
200 | <input {disabled} id="ea_input_searchGroup" size="35" autocomplete="off" onkeyup="javascript:optionFinderTimeout_group(this)"><br> |
---|
201 | <font color="red"><span id="ea_span_searching_group"> <span></font> |
---|
202 | <br> |
---|
203 | </td> |
---|
204 | </tr> |
---|
205 | |
---|
206 | <tr> |
---|
207 | <td width="40%"> |
---|
208 | {lang_available_groups}<br> |
---|
209 | <select {disabled} id="ea_select_available_groups" size="10" style="width:300px" multiple>{groups}</select> |
---|
210 | </td> |
---|
211 | </tr> |
---|
212 | </table> |
---|
213 | </td> |
---|
214 | </tr> |
---|
215 | |
---|
216 | <tr height="30" bgcolor="{row_off}"> |
---|
217 | <td colspan="4" align="left"> |
---|
218 | {lang_primary_group}: |
---|
219 | <select id="ea_combo_primary_user_group" name="gidnumber" {disabled}>{ea_combo_primary_user_group_options}</select> |
---|
220 | </td> |
---|
221 | </tr> |
---|
222 | </table> |
---|
223 | </div> |
---|
224 | <!-- The code for lists Email --> |
---|
225 | <div id="tabcontent4" class="inactivetab"> |
---|
226 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
227 | <tr bgcolor={row_on}> |
---|
228 | |
---|
229 | <td valign="bottom"> |
---|
230 | <table width="100%" border="0"> |
---|
231 | <tr> |
---|
232 | <td width="40%" align="center"> |
---|
233 | <br>{lang_user_mail_lists}:<br><br> |
---|
234 | <select id="ea_select_user_maillists" size="13" style="width: 400px" multiple name="maillists[]">{ea_select_user_maillists_options}</select> |
---|
235 | </td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | </td> |
---|
239 | |
---|
240 | <td width="20%"> |
---|
241 | <button type="button" {disabled} onClick="javascript:add_user2maillist();"><img src="expressoAdmin1_2/templates/default/images/add.png" style="vertical-align: middle;" > {lang_add}</button> |
---|
242 | <br><br> |
---|
243 | <button type="button" {disabled} onClick="javascript:remove_user2maillist();"><img src="expressoAdmin1_2/templates/default/images/rem.png" style="vertical-align: middle;" > {lang_rem}</button> |
---|
244 | </td> |
---|
245 | |
---|
246 | <td> |
---|
247 | <table width="100%" border="0"> |
---|
248 | <tr> |
---|
249 | <td> |
---|
250 | {lang_organizations}: |
---|
251 | <br> |
---|
252 | <input disabled id="ea_combo_org_maillists" size="42" autocomplete="off" value="{sectors}"><br> |
---|
253 | </td> |
---|
254 | </tr> |
---|
255 | <tr> |
---|
256 | <td> |
---|
257 | Procurar lista:<br> |
---|
258 | <input {disabled} id="ea_input_searchMailList" size="35" autocomplete="off" onkeyup="javascript:optionFinderTimeout_maillist(this)"><br> |
---|
259 | <font color="red"><span id="ea_span_searching_maillist"> <span></font> |
---|
260 | <br> |
---|
261 | </td> |
---|
262 | </tr> |
---|
263 | <tr> |
---|
264 | <td width="40%"> |
---|
265 | {lang_available_mail_lists}:<br> |
---|
266 | <select id="ea_select_available_maillists" size="13" style="width: 400px" multiple {disabled}>{lists}</select> |
---|
267 | </td> |
---|
268 | </tr> |
---|
269 | </table> |
---|
270 | </td> |
---|
271 | |
---|
272 | </tr> |
---|
273 | </table> |
---|
274 | </div> |
---|
275 | |
---|
276 | <!-- The code for Apps Tab --> |
---|
277 | <div id="tabcontent5" class="inactivetab"> |
---|
278 | <table id="ea_table_apps" width="80%" border="0" cellspacing="2" cellpading="0"> |
---|
279 | {apps} |
---|
280 | </table> |
---|
281 | </div> |
---|
282 | |
---|
283 | <!-- The code for SAMBA --> |
---|
284 | <div id="tabcontent6" class="inactivetab" style="{display_samba_suport}"> |
---|
285 | <table width="60%" border="0" cellspacing="4" cellpading="0"> |
---|
286 | <tr bgcolor={row_off}> |
---|
287 | <td>{lang_use_attrs_samba}:</td> |
---|
288 | <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> |
---|
289 | </tr> |
---|
290 | <tr bgcolor={row_on}> |
---|
291 | <td>{lang_sambaAcctFlags}:</td> |
---|
292 | <td> |
---|
293 | <select {disabled_samba} name="sambaacctflags"> |
---|
294 | <option value="[U ]" {active_user_selected}>{lang_active_user}</option> |
---|
295 | <option value="[DU ]" {desactive_user_selected}>{lang_desactive_user}</option> |
---|
296 | </select> |
---|
297 | </td> |
---|
298 | </tr> |
---|
299 | <tr bgcolor={row_off}> |
---|
300 | <td>{lang_sambaLogonScript}:</td> |
---|
301 | <td><input {disabled_samba} type="text" name="sambalogonscript" autocomplete="off" value="{sambalogonscript}" size=30></td> |
---|
302 | </tr> |
---|
303 | <tr bgcolor={row_on}> |
---|
304 | <td>{lang_sambaHomeDirectory}:</td> |
---|
305 | <td><input {disabled_samba} type="text" name="sambahomedirectory" autocomplete="off" value="{sambahomedirectory}" size=30></td> |
---|
306 | </tr> |
---|
307 | </table> |
---|
308 | </div> |
---|
309 | <!-- End Tabs --> |
---|
310 | |
---|
311 | <br><br> |
---|
312 | <table width="90%" border="0" cellspacing="0" cellpading="1"> |
---|
313 | <tr> |
---|
314 | <td width="90%" align="left" class="td_left" bgcolor="{color_bg1}"> |
---|
315 | <input type="button" value="{lang_back}" onClick="document.location.href='{back_url}'"> |
---|
316 | </td> |
---|
317 | <td width="10%" align="right" class="td_right" bgcolor="{color_bg1}"> |
---|
318 | <input type="button" value="{lang_save}" onClick="javascript:validate_fields('{type}');"> |
---|
319 | </td> |
---|
320 | </tr> |
---|
321 | </table> |
---|
322 | |
---|
323 | <script type="text/javascript"> |
---|
324 | tab.display(1); |
---|
325 | </script> |
---|
326 | |
---|
327 | </form> |
---|
328 | </center> |
---|
329 | <!-- END main --> |
---|