forked from extern/egroupware
7b2b823835
+ setup_demo gives errors under postgres + setup_demo can save special chars in the admin name - renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it - fixed warning db::delete missing params, if delete_all was checked
53 lines
1.5 KiB
Smarty
53 lines
1.5 KiB
Smarty
<!-- BEGIN admin_account -->
|
|
<form method="post" action="{action_url}">
|
|
<table border="0" width="90%" cellspacing="0" cellpadding="2">
|
|
<tr>
|
|
<td>
|
|
{description}
|
|
<p>
|
|
<input type="checkbox" name="delete_all" />{lang_deleteall}
|
|
</p>
|
|
<font color="red">{error}</font>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" bgcolor="#cccccc">{detailadmin}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table border="0">
|
|
<tr>
|
|
<td>{adminusername}</td>
|
|
<td><input type="text" name="username" value="{username}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{adminfirstname}</td>
|
|
<td><input type="text" name="fname" value="{fname}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{adminlastname}</td>
|
|
<td><input type="text" name="lname" value="{lname}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{adminpassword}</td>
|
|
<td><input type="password" name="passwd" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{adminpassword2}</td>
|
|
<td><input type="password" name="passwd2" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{create_demo_accounts}</td>
|
|
<td><input type="checkbox" name="create_demo" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="submit" name="submit" value="{lang_submit}" /></td>
|
|
<td><input type="submit" name="cancel" value="{lang_cancel}" /></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<!-- END admin_account -->
|