<title>@label:login.title@</title>
</head>
<body>
-@include{@label{menu}@}@
+@include{topbar}@
<h1 class=title>@label:login.title@</h1>
@if{@ne{@label:error@}{error}@}{
@#{error reporting from some earlier operation}@
<!-- TODO make error string visually intrusive, also error.html -->
- <p>@label{error.@label:error@}@</p>
+ <p class=error>@label{error.@label:error@}@</p>
}@
- @if{@ne{@label:registered@}{registered}@}{
- @#{registration succeeded}@
- <p>@label:login.registered@</p>
+ @if{@ne{@label:status@}{status}@}{
+ @#{some action succeeded}@
+ <p class=loginstatus>@label{login.@label:status@}@</p>
}@
@if{@eq{@user@}{guest}@}{
</tr>
<tr>
<td>@label:login.password@</td>
- <td><input class=password name=changepassword type=password value=""
+ <td><input class=password name=password type=password value=""
size=32></td>
<td>
<button class=register name=action type=submit value=register>
- @label:login.login@
+ @label:login.register@
</button>
</td>
</tr>
<p>Use this form to change your email address and/or password.</p>
- <form class=register action="@url@" method=POST
+ <form class=edituser action="@url@" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<table class=edituser>
<tr>
<p>Use this button to log out @user@.</p>
- <form class=register action="@url@" method=POST
+ <form class=logout action="@url@" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<div class=logout>
<button class=logout name=action type=submit value=logout>
}@
-@include{@label{menu}@end}@
+@include{topbarend}@
</body>
</html>
@@