+csv dep for PG'OCaml.
[cocanwiki.git] / templates / users.html
index 3798c53..8f6dc30 100644 (file)
@@ -2,41 +2,60 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <title>Users</title>
-<meta name="author" content="http://www.merjis.com/" />
-<link rel="stylesheet" href="/_css/standard.css" type="text/css" title="Standard"/>
+<meta name="author" content="http://merjis.com/" />
+<link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
+<link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
 <link rel="stylesheet" href="/_css/users.css" type="text/css" title="Standard"/>
 </head><body>
 
-<h1>Users</h1>
+<h1><span>Users</span></h1>
 
 <ul class="menu">
+<li class="first"><a href="/_bin/invite_user_form.cmo">Invite someone to join</a></li>
 <li><a href="/_bin/create_user_form.cmo">Create a user account</a></li>
 </ul>
 
-<table id="users">
+<table class="top_table">
 <tr>
-<th rowspan="2"> Name </th>
-<th rowspan="2"> Email address </th>
+<th rowspan="2"> Username, 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>
+<th> Edit macros </th>
 </tr>
 
 ::table(users)::
 <tr>
-<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>
+  <a href="/_bin/edit_user_form.cmo?userid=::userid::" title="Modify details, permissions, set password, or delete this user"><strong>::name_html::</strong></a> <br/>
+  <small> ::email_html:: </small>
+</td>
+<td>
+  ::registration_date_html::::if(invite_pending)::<span class="pending">*</span>::end::
+</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>
+<td> ::if(can_edit_macros)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can edit macros"/>::end:: </td>
 </tr>
 ::end::
-
 </table>
 
+<p>
+<span class="pending">*</span> User has been invited, but has not yet
+accepted the invitation.
+</p>
+
 <h2>Explanation of permissions</h2>
 
 <dl>
@@ -79,25 +98,64 @@ If set, user may:
 </ul>
 
 </dd>
-</dl>
 
-<ul id="topmenu" 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>
-</ul>
+<dt> <strong>Manage contacts</strong> </dt>
+<dd>
 
-<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>
-</ul>
+<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>
 
-<hr/>
+<p>
+If set, user may:
+</p>
 
-<ul id="footer" class="menu">
-<li> <a href="/copyright">Copyright &copy; 2004</a> </li>
+<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>
+
+<dt> <strong>Edit global stylesheet</strong> </dt>
+<dd>
+
+<p>
+If set, user may edit the <code>{{macros}}</code> which
+can affect many pages.
+</p>
+
+</dd>
+
+</dl>
+
+::include(footer.html)::
 </body>
 </html>
\ No newline at end of file