@include:stdhead@
@label{error.@label:error@}@
}@ @if{@ne{@label:registered@}{registered}@}{ @#{registration succeeded}@@label:login.registered@
}@ @if{@eq{@user@}{guest}@}{ @#{guest user, allow login and registration}@If you have a username, use this form to log in.
If you do not have a login enter a username, a password and your email address here. You will be sent an email containing a URL, which you must visit to activate your login before you can use it.
}{ @#{not the guest user, allow change of details and logout}@
TODO none of this stuff works yet
Use this form to change your email address and/or password.
Use this button to log out @user@.
}@ @include{@label{menu}@end}@