Added the can_manage_site and can_edit_global_css permissions.
[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 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 class="first"> <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 <div id="menu_div">
99 <ul id="bottommenu" class="menu">
100 <li class="first"> <a href="/">Home&nbsp;page</a> </li>
101 ::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
102 ::end::
103 <li> <a href="/_sitemap">Sitemap</a> </li>
104 </ul>
105 </div>
106
107 <div id="footer_div">
108 <hr/>
109
110 <ul id="footer" class="menu">
111 <li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
112 <li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
113 </ul>
114 </div>
115
116 </body>
117 </html>