f13e5b7b545fb882474e2c631851edd8d90c3562
[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="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 This site is only available for use to registered members.  If you
85 believe that you should be a member of this site, please contact the
86 administrator with your email address and reason for joining.
87 </p>
88
89 ::end::
90
91 <ul id="topmenu" class="menu">
92 <li class="first"> <a href="/">Home&nbsp;page</a> </li>
93 <li> <a href="/_sitemap">Sitemap</a> </li>
94 <li> <a href="/_recent">Recent&nbsp;changes</a> </li>
95 </ul>
96
97 <div id="menu_div">
98 <ul id="bottommenu" class="menu">
99 <li class="first"> <a href="/">Home&nbsp;page</a> </li>
100 ::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
101 ::end::
102 <li> <a href="/_sitemap">Sitemap</a> </li>
103 </ul>
104 </div>
105
106 <div id="footer_div">
107 <hr/>
108
109 <ul id="footer" class="menu">
110 <li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
111 <li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
112 </ul>
113 </div>
114
115 </body>
116 </html>