chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f230d1d
)
Only display register form if it'll work
author
rjk@greenend.org.uk
<>
Mon, 31 Dec 2007 10:13:26 +0000
(10:13 +0000)
committer
rjk@greenend.org.uk
<>
Mon, 31 Dec 2007 10:13:26 +0000
(10:13 +0000)
templates/login.html
patch
|
blob
|
blame
|
history
diff --git
a/templates/login.html
b/templates/login.html
index 9684705584f4edaa69fce5e0becc47ee238a2f2d..ee245a33167b76ddfbad4d8c24a6c098661bb1e2 100644
(file)
--- a/
templates/login.html
+++ b/
templates/login.html
@@
-29,7
+29,6
@@
USA
@if{@ne{@label:error@}{error}@}{
@#{error reporting from some earlier operation}@
@if{@ne{@label:error@}{error}@}{
@#{error reporting from some earlier operation}@
- <!-- TODO make error string visually intrusive, also error.html -->
<p class=error>@label{error.@label:error@}@</p>
}@
<p class=error>@label{error.@label:error@}@</p>
}@
@@
-68,9
+67,7
@@
USA
<input name=back type=hidden value="@arg:back@">
</form>
<input name=back type=hidden value="@arg:back@">
</form>
- <!-- TODO disable registration button if guest doesn't have
- register right -->
-
+ @right{register}{
<h2>New Users</h2>
<p>If you do not have a login enter a username, a password and your
<h2>New Users</h2>
<p>If you do not have a login enter a username, a password and your
@@
-105,7
+102,7
@@
USA
</tr>
</table>
<input name=nonce type=hidden value="@nonce@">
</tr>
</table>
<input name=nonce type=hidden value="@nonce@">
- </form>
+ </form>
}@
}{
@#{not the guest user, allow change of details and logout}@
}{
@#{not the guest user, allow change of details and logout}@