Added the per-user 'manage contacts' permission.
[cocanwiki.git] / templates / users.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>Users</title>
5 <meta name="author" content="http://www.merjis.com/" />
6 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
7 <link rel="stylesheet" href="/_css/users.css" type="text/css" title="Standard"/>
8 </head><body>
9
10 <h1>Users</h1>
11
12 <ul class="menu">
13 <li class="first"><a href="/_bin/create_user_form.cmo">Create a user account</a></li>
14 </ul>
15
16 <table id="users">
17 <tr>
18 <th rowspan="2"> Username </th>
19 <th rowspan="2"> Email address </th>
20 <th rowspan="2"> Registration </th>
21 <th colspan="3"> Permissions </th>
22 </tr>
23 <tr>
24 <th> Edit </th>
25 <th> Manage users </th>
26 <th> Manage contacts </th>
27 </tr>
28
29 ::table(users)::
30 <tr>
31 <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>
32 <td> ::email_html:: </td>
33 <td> ::registration_date_html:: </td>
34 <td> ::if(can_edit)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can edit"/>::end:: </td>
35 <td> ::if(can_manage_users)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage users"/>::end:: </td>
36 <td> ::if(can_manage_contacts)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage contacts"/>::end:: </td>
37 </tr>
38 ::end::
39
40 </table>
41
42 <h2>Explanation of permissions</h2>
43
44 <dl>
45 <dt> <strong>Edit</strong> </dt>
46 <dd>
47 <p>
48 If set, user may:
49 </p>
50 <ul>
51 <li>view recent changes</li>
52 <li>view older versions of pages</li>
53 <li>edit pages</li>
54 <li>edit stylesheets</li>
55 <li>upload, delete images</li>
56 <li>upload, delete files</li>
57 <li>restore old versions of pages</li>
58 </ul>
59
60 <p>
61 <strong>Important note:</strong>
62 If your site is configured as a <q>wiki</q> then anybody has
63 edit permissions, regardless of whether they are logged in,
64 and regardless of the setting of the <q>Edit</q> permission.
65 Ask the web server administrator about this setting.
66 </p>
67 </dd>
68
69 <dt> <strong>Manage users</strong> </dt>
70 <dd>
71
72 <p>
73 If set, user may:
74 </p>
75
76 <ul>
77 <li>view list of users</li>
78 <li>edit user permissions</li>
79 <li>delete users</li>
80 <li>create user accounts</li>
81 </ul>
82
83 </dd>
84
85 <dt> <strong>Manage contacts</strong> </dt>
86 <dd>
87
88 <p>
89 If set, user may view and change the list of email
90 addresses associated with contact forms, and create
91 and delete contact forms.
92 </p>
93
94 </dd>
95
96 </dl>
97
98 <ul id="topmenu" class="menu">
99 <li class="first"> <a href="/">Home&nbsp;page</a> </li>
100 <li> <a href="/_sitemap">Sitemap</a> </li>
101 <li> <a href="/_recent">Recent&nbsp;changes</a> </li>
102 </ul>
103
104 <ul id="bottommenu" class="menu">
105 <li class="first"> <a href="/">Home&nbsp;page</a> </li>
106 ::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
107 ::end::
108 <li> <a href="/_sitemap">Sitemap</a> </li>
109 </ul>
110
111 <hr/>
112
113 <ul id="footer" class="menu">
114 <li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
115 <li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
116 </ul>
117
118 </body>
119 </html>