70053c1f504142994f53b17278ec3ea595d78898
[cocanwiki.git] / templates / login_form.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>Create an account or log in</title>
5 <meta name="description" content="Log in to this site for extra features." />
6 <meta name="author" content="http://www.merjis.com/" />
7 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
8 <link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
9 <link rel="stylesheet" href="/_css/login.css" type="text/css" title="Standard"/>
10 </head><body>
11
12 <h1><span>Create an account or log in</span></h1>
13
14 <h2>Existing users log in</h2>
15
16 <form method="post" action="/_bin/login.cmo">
17 ::if(has_redirect)::<input type="hidden" name="redirect" value="::redirect_html_tag::"/>::end::
18 <table class="create">
19
20 <tr>
21 <th> Username: </th>
22 <td> <input name="username" value="::username_html_tag::" size="32"/> </td>
23 </tr>
24
25 <tr>
26 <th> Password: </th>
27 <td> <input type="password" name="password" value="" size="32"/> </td>
28 </tr>
29
30 <tr>
31 <th> </th>
32 <td> <input type="checkbox" name="permanent" value="1" checked="checked" id="permanent"/><label for="permanent">Keep me logged in on this computer.</label> </td>
33 </tr>
34
35 <tr>
36 <th> </th>
37 <td> <input type="submit" value="     Login     " /> </td>
38 </tr>
39
40 </table>
41 </form>
42
43 <p>
44 <a href="/_bin/forgot_password_form.cmo">Forgotten your password?</a>
45 </p>
46
47 <h2>Create an account</h2>
48
49 ::if(create_account_anon)::
50
51 <form method="post" action="/_bin/signup.cmo">
52 <table class="create">
53
54 <tr>
55 <th> Username: </th>
56 <td> <input name="username" value="" size="32" maxlength="32"/> </td>
57 </tr>
58
59 <tr>
60 <th> Password: </th>
61 <td> <input type="password" name="password1" value="" size="32" maxlength="32"/> </td>
62 </tr>
63
64 <tr>
65 <th> Password again: </th>
66 <td> <input type="password" name="password2" value="" size="32" maxlength="32"/> </td>
67 </tr>
68
69 <tr>
70 <th> Email address: </th>
71 <td> <input name="email" value="" size="50" /> </td>
72 </tr>
73
74 <tr>
75 <th> </th>
76 <td> <input type="submit" value="     Create account     " /> </td>
77 </tr>
78
79 </table>
80 </form>
81
82 ::else::
83
84 <p>
85 This site is only available for use to registered members.  If you
86 believe that you should be a member of this site, please contact the
87 administrator with your email address and reason for joining.
88 </p>
89
90 ::end::
91
92 ::include(footer.html)::
93 </body>
94 </html>