Signup for an account.
[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="/_css/standard.css" type="text/css" title="Standard"/>
8 <link rel="stylesheet" href="/_css/login.css" type="text/css" title="Standard"/>
9 </head><body>
10
11 <h1>Create an account or log in</h1>
12
13 <h2>Existing users log in</h2>
14
15 <form method="post" action="/_bin/login.cmo">
16 ::if(has_redirect)::<input type="hidden" name="redirect" value="::redirect_html_tag::"/>::end::
17 <table class="create">
18
19 <tr>
20 <th> Username: </th>
21 <td> <input name="username" value="" size="32"/> </td>
22 </tr>
23
24 <tr>
25 <th> Password: </th>
26 <td> <input type="password" name="password" value="" size="32"/> </td>
27 </tr>
28
29 <tr>
30 <th> </th>
31 <td> <input type="checkbox" name="permanent" value="1" checked="checked" id="permanent"/><label for="permanent">Keep me logged in on this computer.</label> </td>
32 </tr>
33
34 <tr>
35 <th> </th>
36 <td> <input type="submit" value="     Login     " /> </td>
37 </tr>
38
39 </table>
40 </form>
41
42 <p>
43 <a href="/_bin/forgot_password_form.cmo">Forgotten your password?</a>
44 </p>
45
46 <h2>Create an account</h2>
47
48 ::if(create_account_anon)::
49
50 <form method="post" action="/_bin/signup.cmo">
51 <table class="create">
52
53 <tr>
54 <th> Username: </th>
55 <td> <input name="username" value="" size="32" maxlength="32"/> </td>
56 </tr>
57
58 <tr>
59 <th> Password: </th>
60 <td> <input type="password" name="password1" value="" size="32" maxlength="32"/> </td>
61 </tr>
62
63 <tr>
64 <th> Password again: </th>
65 <td> <input type="password" name="password2" value="" size="32" maxlength="32"/> </td>
66 </tr>
67
68 <tr>
69 <th> Email address: </th>
70 <td> <input name="email" value="" size="50" /> </td>
71 </tr>
72
73 <tr>
74 <th> </th>
75 <td> <input type="submit" value="     Create account     " /> </td>
76 </tr>
77
78 </table>
79 </form>
80
81 ::else::
82
83 <p>
84 Sorry, but the administrator of this site has stopped
85 people from anonymously creating accounts.  You will have
86 to contact the administrator and ask them to create an
87 account for you.
88 </p>
89
90 ::end::
91
92 <ul id="topmenu" class="menu">
93 <li> <a href="/">Home&nbsp;page</a> | </li>
94 <li> <a href="/_sitemap">Sitemap</a> | </li>
95 <li> <a href="/_recent">Recent&nbsp;changes</a> </li>
96 </ul>
97
98 <ul id="bottommenu" class="menu">
99 <li> <a href="/">Home&nbsp;page</a> | </li>
100 <li> <a href="/_sitemap">Sitemap</a> | </li>
101 <li> <a href="/_recent">Recent&nbsp;changes</a> </li>
102 </ul>
103
104 <hr/>
105
106 <ul id="footer" class="menu">
107 <li> <a href="/copyright">Copyright &copy; 2004</a> </li>
108 </ul>
109
110 </body>
111 </html>