You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/User_p.html

94 lines
1.9 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>YaCy '#[clientname]#': User Administration</title>
#[metas]#
</head>
<body>
#[header]#
<br><br>
<h2>User Administration</h2><br>
<table>
<tr>
#(page)#
<td valign="top">
<form action="User_p.html">
<select name="user">
<option value="newuser">new User</option>
#{users}#
<option>#[user]#</option>
#{/users}#
</select><br />
<input type="submit" name="change_user" value="Edit User">
<input type="submit" name="delete_user" value="Delete User">
</form>
</td>
<td width="100%">
<form action="User_p.html">
Hidden(text for debugging): <input type="text" name="current_user" value="#[current_user]#" readonly>
Current User: #[username]#
<p />
<table border="1">
<tr>
<td>Username: </td>
<td><input type="text" name="username" value="#[username]#"></td>
</tr>
<tr>
<td>Password: </td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td>Password(repeat): </td>
<td><input type="password" name="password2"></td>
</tr>
<tr>
<td>First Name: </td>
<td><input type="text" name="firstname" value="#[firstname]#"></td>
</tr>
<tr>
<td>Last Name: </td>
<td><input type="text" name="lastname" value="#[lastname]#"></td>
</tr>
<tr>
<td>Address: </td>
<td><input type="text" name="address" value="#[address]#"></td>
</tr>
<tr>
<td>Timelimit: </td>
<td><input type="text" name="timelimit" value="#[timelimit]#"></td>
</tr>
<tr>
<td>Time used: </td>
<td><input type="text" name="timeused" value="#[timeused]#"></td>
</tr>
</table>
<input type="submit" name="change" value="Save User">
</form>
</td>
</tr>
</table>
::
Result:
#(text)#
leer
::
User created: #[username]#
#(/text)#
<p />
#(error)#
no error
::
Passwords do not match.
#(/error)#
#(/page)#
#[footer]#
</body>
</html>