chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doxygen: add some missing docstrings.
[disorder]
/
templates
/
login.tmpl
diff --git
a/templates/login.tmpl
b/templates/login.tmpl
index 24b26be308db509f34dec208a4aea1fe0972acb8..972ed93c534e0fcbff7e7509c19411ebae5e77b2 100644
(file)
--- a/
templates/login.tmpl
+++ b/
templates/login.tmpl
@@
-3,20
+3,18
@@
This file is part of DisOrder.
Copyright (C) 2007, 2008 Richard Kettlewell
This file is part of DisOrder.
Copyright (C) 2007, 2008 Richard Kettlewell
-This program is free software
;
you can redistribute it and/or modify
+This program is free software
:
you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
-the Free Software Foundation
; either version 2
of the License, or
+the Free Software Foundation
, either version 3
of the License, or
(at your option) any later version.
(at your option) any later version.
-This program is distributed in the hope that it will be useful,
but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU
-General Public License for more details.
+This program is distributed in the hope that it will be useful,
+
but
WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+G
NU G
eneral Public License for more details.
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
+along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<html>
<head>
-->
<html>
<head>
@@
-63,9
+61,7
@@
USA
</tr>
<tr>
<td colspan=2>
</tr>
<tr>
<td colspan=2>
- <button class=login name=button type=submit>
- @label{login.login}
- </button>
+ @submit{@label{login.login}}
</td>
</tr>
</table>
</td>
</tr>
</table>
@@
-78,6
+74,11
@@
USA
your email address, and if a reminder has been sent too recently
then it won't be possible to send one.</p>
your email address, and if a reminder has been sent too recently
then it won't be possible to send one.</p>
+ <p>Logging in will set a cookie. This cookie is only used for
+ authentication purposes. Do not log in if you do not consent to this cookie
+ being set. The cookie should be deleted when you log out, and will
+ eventually expire in any case.</p>
+
<form class=reminder action="@url" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<table class=login>
<form class=reminder action="@url" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<table class=login>
@@
-90,9
+91,7
@@
USA
</tr>
<tr>
<td colspan=2>
</tr>
<tr>
<td colspan=2>
- <button class=login name=button type=submit>
- @label{login.reminder}
- </button>
+ @submit{@label{login.reminder}}
</td>
</tr>
</table>
</td>
</tr>
</table>
@@
-144,9
+143,7
@@
USA
</tr>
<tr>
<td colspan=3>
</tr>
<tr>
<td colspan=3>
- <button class=register name=button>
- @label{login.register}
- </button>
+ @submit{@label{login.register}}
</td>
</tr>
</table>
</td>
</tr>
</table>
@@
-159,9
+156,7
@@
USA
<form class=logout action="@url" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<div class=logout>
<form class=logout action="@url" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<div class=logout>
- <button class=logout name=submit type=submit>
- @label{login.logout}
- </button>
+ @submit{@label{login.logout}}
</div>
<input name=action type=hidden value=logout>
</form>
</div>
<input name=action type=hidden value=logout>
</form>
@@
-197,9
+192,7
@@
USA
</tr>
<tr>
<td colspan=3>
</tr>
<tr>
<td colspan=3>
- <button class=edituser name=submit type=submit>
- @label{login.edituser}
- </button>
+ @submit{@label{login.edituser}}
</td>
</tr>
</table>
</td>
</tr>
</table>