BIG, experimental patch.
[cocanwiki.git] / templates / users.html
index 3798c53..bc0d823 100644 (file)
@@ -3,26 +3,30 @@
 <head>
 <title>Users</title>
 <meta name="author" content="http://www.merjis.com/" />
-<link rel="stylesheet" href="/_css/standard.css" type="text/css" title="Standard"/>
+<link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
 <link rel="stylesheet" href="/_css/users.css" type="text/css" title="Standard"/>
 </head><body>
 
 <h1>Users</h1>
 
 <ul class="menu">
-<li><a href="/_bin/create_user_form.cmo">Create a user account</a></li>
+<li class="first"><a href="/_bin/create_user_form.cmo">Create a user account</a></li>
 </ul>
 
 <table id="users">
 <tr>
-<th rowspan="2"> Name </th>
+<th rowspan="2"> Username </th>
 <th rowspan="2"> Email address </th>
 <th rowspan="2"> Registration </th>
-<th colspan="2"> Permissions </th>
+<th colspan="6"> Permissions </th>
 </tr>
 <tr>
 <th> Edit </th>
 <th> Manage users </th>
+<th> Manage contacts </th>
+<th> Manage site </th>
+<th> Edit global stylesheet </th>
+<th> Import mail </th>
 </tr>
 
 ::table(users)::
 <td> ::registration_date_html:: </td>
 <td> ::if(can_edit)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can edit"/>::end:: </td>
 <td> ::if(can_manage_users)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage users"/>::end:: </td>
+<td> ::if(can_manage_contacts)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage contacts"/>::end:: </td>
+<td> ::if(can_manage_site)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage site"/>::end:: </td>
+<td> ::if(can_edit_global_css)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can edit global stylesheet"/>::end:: </td>
+<td> ::if(can_import_mail)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can import mail"/>::end:: </td>
 </tr>
 ::end::
 
@@ -79,25 +87,77 @@ If set, user may:
 </ul>
 
 </dd>
+
+<dt> <strong>Manage contacts</strong> </dt>
+<dd>
+
+<p>
+If set, user may view and change the list of email
+addresses associated with contact forms, and create
+and delete contact forms.
+</p>
+
+</dd>
+
+<dt> <strong>Manage site</strong> </dt>
+<dd>
+
+<p>
+If set, user may:
+</p>
+
+<ul>
+<li>control the global theme for the site</li>
+<li>set whether anonymous editing and signup are allowed (<strong>note:</strong> this will allow them to indirectly create extra user accounts)</li>
+<li>set email address for feedback</li>
+</ul>
+
+</dd>
+
+<dt> <strong>Edit global stylesheet</strong> </dt>
+<dd>
+
+<p>
+If set, user may edit the global stylesheet which controls
+the look and feel of the site across all pages.
+</p>
+
+</dd>
+
+<dt> <strong>Import mail</strong> </dt>
+<dd>
+
+<p>
+If set, user may import e-mail.
+</p>
+
+</dd>
+
 </dl>
 
 <ul id="topmenu" class="menu">
-<li> <a href="/">Home&nbsp;page</a> | </li>
-<li> <a href="/_sitemap">Sitemap</a> </li>
+<li class="first"> <a href="/">Home&nbsp;page</a> </li>
+<li> <a href="/_sitemap">Sitemap</a> </li>
 <li> <a href="/_recent">Recent&nbsp;changes</a> </li>
 </ul>
 
+<div id="menu_div">
 <ul id="bottommenu" class="menu">
-<li> <a href="/">Home&nbsp;page</a> | </li>
-<li> <a href="/_sitemap">Sitemap</a> | </li>
-<li> <a href="/_recent">Recent&nbsp;changes</a> </li>
+<li class="first"> <a href="/">Home&nbsp;page</a> </li>
+::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
+::end::
+<li> <a href="/_sitemap">Sitemap</a> </li>
 </ul>
+</div>
 
+<div id="footer_div">
 <hr/>
 
 <ul id="footer" class="menu">
-<li> <a href="/copyright">Copyright &copy; 2004</a> </li>
+<li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
+<li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
 </ul>
+</div>
 
 </body>
 </html>
\ No newline at end of file