BIG, experimental patch.
[cocanwiki.git] / templates / users.html
index 79c2d5e..bc0d823 100644 (file)
 <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> Can edit </th>
-<th> Can manage users </th>
+<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)::
 <tr>
-<td> <a href="/_bin/edit_user_form.cmo" title="Modify details, permissions, set password, or delete this user"><strong>::name_html::</strong></a> </td>
+<td> <a href="/_bin/edit_user_form.cmo?userid=::userid::" title="Modify details, permissions, set password, or delete this user"><strong>::name_html::</strong></a> </td>
 <td> ::email_html:: </td>
 <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::
 
 </table>
 
+<h2>Explanation of permissions</h2>
+
+<dl>
+<dt> <strong>Edit</strong> </dt>
+<dd>
+<p>
+If set, user may:
+</p>
+<ul>
+<li>view recent changes</li>
+<li>view older versions of pages</li>
+<li>edit pages</li>
+<li>edit stylesheets</li>
+<li>upload, delete images</li>
+<li>upload, delete files</li>
+<li>restore old versions of pages</li>
+</ul>
+
+<p>
+<strong>Important note:</strong>
+If your site is configured as a <q>wiki</q> then anybody has
+edit permissions, regardless of whether they are logged in,
+and regardless of the setting of the <q>Edit</q> permission.
+Ask the web server administrator about this setting.
+</p>
+</dd>
+
+<dt> <strong>Manage users</strong> </dt>
+<dd>
+
+<p>
+If set, user may:
+</p>
+
+<ul>
+<li>view list of users</li>
+<li>edit user permissions</li>
+<li>delete users</li>
+<li>create user accounts</li>
+</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