Added styling to some pages which previously were "outside" the site
[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 ::if(has_host_css)::<link rel="stylesheet" href="/_global.css" type="text/css" title="Standard"/>::end::
10 <link rel="stylesheet" href="/_css/login.css" type="text/css" title="Standard"/>
11 </head><body>
12
13 <h1><span>Create an account or log in</span></h1>
14
15 <h2>Existing users log in</h2>
16
17 <form method="post" action="/_bin/login.cmo">
18 ::if(has_redirect)::<input type="hidden" name="redirect" value="::redirect_html_tag::"/>::end::
19 <table class="create">
20
21 <tr>
22 <th> Username: </th>
23 <td> <input name="username" value="::username_html_tag::" size="32"/> </td>
24 </tr>
25
26 <tr>
27 <th> Password: </th>
28 <td> <input type="password" name="password" value="" size="32"/> </td>
29 </tr>
30
31 <tr>
32 <th> </th>
33 <td> <input type="checkbox" name="permanent" value="1" checked="checked" id="permanent"/><label for="permanent">Keep me logged in on this computer.</label> </td>
34 </tr>
35
36 <tr>
37 <th> </th>
38 <td> <input type="submit" value="     Login     " /> </td>
39 </tr>
40
41 </table>
42 </form>
43
44 <p>
45 <a href="/_bin/forgot_password_form.cmo">Forgotten your password?</a>
46 </p>
47
48 ::if(create_account_anon)::
49
50 <h2>Create an account</h2>
51
52 <form method="post" action="/_bin/signup.cmo">
53 <table class="create">
54
55 <tr>
56 <th> Username: </th>
57 <td> <input name="username" value="" size="32" maxlength="32"/> </td>
58 </tr>
59
60 <tr>
61 <th> Password: </th>
62 <td> <input type="password" name="password1" value="" size="32" maxlength="32"/> </td>
63 </tr>
64
65 <tr>
66 <th> Password again: </th>
67 <td> <input type="password" name="password2" value="" size="32" maxlength="32"/> </td>
68 </tr>
69
70 <tr>
71 <th> Email address: </th>
72 <td> <input name="email" value="" size="50" /> </td>
73 </tr>
74
75 <tr>
76 <th> </th>
77 <td> <input type="submit" value="     Create account     " /> </td>
78 </tr>
79
80 </table>
81 </form>
82
83 ::else::
84
85 <p>
86 This site is only available for use to registered members.  If you
87 believe that you should be a member of this site, please contact the
88 administrator with your email address and reason for joining.
89 </p>
90
91 ::end::
92
93 ::include(footer.html)::
94 </body>
95 </html>