|
|
|
<!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 Page</title>
|
|
|
|
#%env/templates/metas.template%#
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
#%env/templates/header.template%#
|
|
|
|
<br><br>
|
|
|
|
<h2>User Page</h2><br>
|
|
|
|
#(logged-in)#
|
|
|
|
You are not logged in.<br />
|
|
|
|
<form action="User.html" method="post">
|
|
|
|
Username: <input type="text" name="username"><br />
|
|
|
|
Password: <input type="password" name="password"><br />
|
|
|
|
<input type="submit" value="login">
|
|
|
|
</form>
|
|
|
|
::
|
|
|
|
You are currently logged in as #[username]#.<br />
|
|
|
|
(Identified by #(identified-by)#IP::Username/Password::Cookie#(/identified-by)#)<br />
|
|
|
|
<form action="User.html">
|
|
|
|
<input type="submit" name="logout" value="logout">
|
|
|
|
</form>
|
|
|
|
#(limit)#::
|
|
|
|
#{percent}#<img src="/env/grafics/red-block.png">#{/percent}##{percent2}#<img src="/env/grafics/green-block.png">#{/percent2}#
|
|
|
|
<br />
|
|
|
|
You have used <strong>#[timeused]#</strong> minutes of your onlinetime limit of <strong>#[timelimit]#</strong> minutes per day.<br />
|
|
|
|
#(/limit)#
|
|
|
|
<form action="User.html" method="POST">
|
|
|
|
<table border="1">
|
|
|
|
<tr>
|
|
|
|
<td>old Password</td>
|
|
|
|
<td><input type="password" name="oldpass" /></td>
|
|
|
|
</tr><tr>
|
|
|
|
<td>new Password</td>
|
|
|
|
<td><input type="password" name="newpass"></td>
|
|
|
|
</tr><tr>
|
|
|
|
<td>new Password(repetition)</td>
|
|
|
|
<td><input type="password" name="newpass2"></td>
|
|
|
|
</tr><tr>
|
|
|
|
<td colspan="2"><input type="submit" name="changepass" value="change"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
<p />
|
|
|
|
<b>
|
|
|
|
::
|
|
|
|
You are currently logged in as admin.<br />
|
|
|
|
<form action="User.html">
|
|
|
|
<input type="submit" name="logout" value="logout">
|
|
|
|
</form>
|
|
|
|
<br />
|
|
|
|
(after logout you will be prompted for your password again. simply click "cancel")
|
|
|
|
#(/logged-in)#
|
|
|
|
#(status)#
|
|
|
|
::
|
|
|
|
#(password)#
|
|
|
|
Password was changed.
|
|
|
|
::
|
|
|
|
old Password is wrong.
|
|
|
|
::
|
|
|
|
new Password and its repetition do not match.
|
|
|
|
::
|
|
|
|
new Password is empty.
|
|
|
|
#(/password)#
|
|
|
|
#(/status)#
|
|
|
|
</b>
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
</body>
|
|
|
|
</html>
|