Added the per-user 'manage contacts' permission.
[cocanwiki.git] / templates / users.html
index f4cd067..6a6e8aa 100644 (file)
@@ -3,14 +3,14 @@
 <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">
 <th rowspan="2"> Username </th>
 <th rowspan="2"> Email address </th>
 <th rowspan="2"> Registration </th>
-<th colspan="2"> Permissions </th>
+<th colspan="3"> Permissions </th>
 </tr>
 <tr>
 <th> Edit </th>
 <th> Manage users </th>
+<th> Manage contacts </th>
 </tr>
 
 ::table(users)::
@@ -32,6 +33,7 @@
 <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>
 </tr>
 ::end::
 
@@ -79,24 +81,38 @@ 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>
+
 </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>
 
 <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>
 
 <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>
 
 </body>