2001-05-11 14:44:12 +02:00
|
|
|
<!-- BEGIN form -->
|
2001-03-29 05:09:30 +02:00
|
|
|
{error_messages}
|
|
|
|
|
2009-11-20 16:04:29 +01:00
|
|
|
<script>
|
|
|
|
var email_set=0;
|
|
|
|
function check_account_email(id)
|
|
|
|
{
|
|
|
|
account = document.getElementById('account').value;
|
|
|
|
firstname = document.getElementById('firstname').value;
|
|
|
|
lastname = document.getElementById('lastname').value;
|
|
|
|
email = document.getElementById('email').value;
|
|
|
|
|
|
|
|
if (!email || email_set || id == 'account')
|
|
|
|
{
|
|
|
|
xajax_doXMLHTTP('admin.uiaccounts.ajax_check_account_email',firstname,lastname,account,{account_id},email_set ? '' : email,id);
|
|
|
|
email_set = !email || email_set;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function check_password(id)
|
|
|
|
{
|
|
|
|
password = document.getElementById('password').value;
|
|
|
|
password2 = document.getElementById('password2').value;
|
|
|
|
|
|
|
|
if (password && (password2 || id == 'password2') && password != password2)
|
|
|
|
{
|
|
|
|
alert('{lang_passwds_unequal}');
|
2010-08-24 10:36:54 +02:00
|
|
|
document.getElementById('password2').value = '';
|
|
|
|
document.getElementById('password').select();
|
|
|
|
document.getElementById('password').focus();
|
2009-11-20 16:04:29 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
</script>
|
2001-03-29 05:09:30 +02:00
|
|
|
<form method="POST" action="{form_action}">
|
2003-08-28 16:16:30 +02:00
|
|
|
<div align="center">
|
|
|
|
<table border="0" width="95%">
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
|
|
|
{rows}
|
|
|
|
</td>
|
|
|
|
<td valign="top">
|
|
|
|
|
|
|
|
<table border=0 width=100%>
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="th">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td colspan="4"><b>{lang_action}</b></td>
|
|
|
|
</tr>
|
|
|
|
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_on">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td width="25%">{lang_loginid}</td>
|
|
|
|
<td width="25%">{account_lid} </td>
|
|
|
|
|
|
|
|
<td width="25%">{lang_account_active}:</td>
|
|
|
|
<td width="25%">{account_status}</td>
|
|
|
|
</tr>
|
|
|
|
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_off">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td>{lang_firstname}</td>
|
|
|
|
<td>{account_firstname} </td>
|
|
|
|
<td>{lang_lastname}</td>
|
|
|
|
<td>{account_lastname} </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
{password_fields}
|
|
|
|
|
2010-09-22 13:22:16 +02:00
|
|
|
<tr class="row_on">
|
|
|
|
<td>{lang_mustchangepassword}</td>
|
|
|
|
<td>{mustchangepassword}</td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_off">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td>{lang_homedir}</td>
|
|
|
|
<td>{homedirectory} </td>
|
|
|
|
<td>{lang_shell}</td>
|
|
|
|
<td>{loginshell} </td>
|
|
|
|
</tr>
|
|
|
|
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_off">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td>{lang_expires}</td>
|
2004-07-04 19:33:13 +02:00
|
|
|
<td>{input_expires} {lang_never} {never_expires}</td>
|
|
|
|
<td>{lang_email}</td>
|
|
|
|
<td>{account_email}</td>
|
2003-08-28 16:16:30 +02:00
|
|
|
</tr>
|
|
|
|
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_on">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td>{lang_changepassword}</td>
|
|
|
|
<td>{changepassword}</td>
|
|
|
|
<td>{lang_anonymous}</td>
|
|
|
|
<td>{anonymous}</td>
|
|
|
|
</tr>
|
|
|
|
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_off">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td>{lang_groups}</td>
|
2003-09-13 16:09:41 +02:00
|
|
|
<td>{groups_select} </td>
|
2003-09-13 19:14:30 +02:00
|
|
|
<td>{lang_primary_group}</td>
|
|
|
|
<td>{primary_group_select} </td>
|
2003-08-28 16:16:30 +02:00
|
|
|
</tr>
|
2004-08-28 15:48:32 +02:00
|
|
|
|
|
|
|
<tr class="th">
|
|
|
|
<td>{lang_app}</td>
|
|
|
|
<td>{lang_acl}</td>
|
|
|
|
<td>{lang_app}</td>
|
|
|
|
<td>{lang_acl}</td>
|
|
|
|
</tr>
|
|
|
|
|
2003-08-28 16:16:30 +02:00
|
|
|
{permissions_list}
|
|
|
|
|
|
|
|
{form_buttons}
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2001-03-29 05:09:30 +02:00
|
|
|
</form>
|
2001-05-11 14:44:12 +02:00
|
|
|
<!-- END form -->
|
|
|
|
|
|
|
|
<!-- BEGIN form_passwordinfo -->
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_on">
|
2001-05-11 14:44:12 +02:00
|
|
|
<td>{lang_password}</td>
|
|
|
|
<td><input type="password" name="account_passwd" value="{account_passwd}"></td>
|
|
|
|
<td>{lang_reenter_password}</td>
|
|
|
|
<td><input type="password" name="account_passwd_2" value="{account_passwd_2}"></td>
|
|
|
|
</tr>
|
|
|
|
<!-- END form_passwordinfo -->
|
|
|
|
|
|
|
|
<!-- BEGIN form_buttons_ -->
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_off">
|
2003-08-28 16:16:30 +02:00
|
|
|
<td colspan="4" align="right"><input type="submit" name="submit" value="{lang_button}"></td>
|
2001-05-11 14:44:12 +02:00
|
|
|
</tr>
|
|
|
|
<!-- END form_buttons_ -->
|
2001-05-11 14:50:37 +02:00
|
|
|
|
|
|
|
<!-- BEGIN form_logininfo -->
|
2004-07-04 19:33:13 +02:00
|
|
|
<tr class="row_on">
|
2001-05-11 14:50:37 +02:00
|
|
|
<td>{lang_lastlogin}</td>
|
|
|
|
<td>{account_lastlogin}</td>
|
|
|
|
|
|
|
|
<td>{lang_lastloginfrom}</td>
|
|
|
|
<td>{account_lastloginfrom}</td>
|
|
|
|
</tr>
|
|
|
|
<!-- END form_logininfo -->
|
2001-07-01 19:29:49 +02:00
|
|
|
|
2001-09-08 06:52:17 +02:00
|
|
|
<!-- BEGIN link_row -->
|
2003-08-28 16:16:30 +02:00
|
|
|
<tr bgcolor="{tr_color}">
|
|
|
|
<td> <a href="{row_link}">{row_text}</a></td>
|
|
|
|
</tr>
|
2001-09-08 06:52:17 +02:00
|
|
|
<!-- END link_row -->
|