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

112 lines
2.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>
#%env/templates/metas.template%#
</head>
<body>
#%env/templates/header.template%#
<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" method="POST">
<!-- Hidden(text for debugging): <input type="text" name="current_user" value="#[current_user]#" readonly> -->
<input type="hidden" name="current_user" value="#[current_user]#">
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>Rights</td>
<td>
<input type="checkbox" name="proxyRight" #(proxyRight)#::checked#(/proxyRight)#>Proxy<br />
<input type="checkbox" name="adminRight" #(adminRight)#::checked#(/adminRight)#>Admin<br />
<input type="checkbox" name="uploadRight" #(uploadRight)#::checked#(/uploadRight)#>Fileshare-Upload<br />
<input type="checkbox" name="downloadRight" #(downloadRight)#::checked#(/downloadRight)#>Fileshare-Download<br />
<input type="checkbox" name="blogRight" #(blogRight)#::checked#(/blogRight)#>Blog<br />
<input type="checkbox" name="wikiAdminRight" #(wikiAdminRight)#::checked#(/wikiAdminRight)#>Wiki Admin<br />
</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>
::
<!-- Page 1: Results -->
#(text)#
::
User created: #[username]#
::
User changed: #[username]#
#(/text)#
<p />
#(error)#
::
generic error.
::
Passwords do not match.
::
Username too short. Username must be >= 4 Characters.
#(/error)#
<p />
If you want to manage more Users, return to the <a href="User_p.html?change_user=true&user=#[username]#">user</a> page.
#(/page)#
#%env/templates/footer.template%#
</body>
</html>