5 <meta charset="utf-8" />
6 <title><!--~$title show {~-->~$host~ Admin: Manage Accounts<!--~}~--></title>
13 <h1>~$host~ Admin Control Panel</h1>
15 <h2><!--~id unset {~-->Add a new account<!--~}~--><!--~id {~-->Edit account "~name html~"<!--~}~--></h2>
17 <form action="admin_users" method="post"><!--~id {~--><div style="display: none"><input type="hidden" name="edit_id" value="~id attr~"></div><!--~}~-->
19 <div class="caption">Role</div>
20 <div class="field"><select name="role"><!--~role options~--></select></div>
22 <div class="caption">Name (optional)</div>
23 <div class="field"><input type="text" name="name" value="~name attr~"></div>
25 <div class="caption">Username</div>
26 <div class="field_notes">This is used to log in. It is not case sensitive, and symbols/spaces/etc are ignored.</div>
27 <div class="field~username_bad {~ field_error~}~"><input type="text" name="username" value="~username attr~"></div>
29 <div class="caption">Password</div>
30 <!--~id unset {~--><div class="field_notes">If this is left blank, the user will be unable to log in.</div><!--~}~-->
31 <!--~id {~--><div class="field_notes">Leave this blank to leave the password unchanged.</div><!--~}~-->
32 <div class="field_notes">Password suggestions: ~password_suggestions {~<code class="password_suggestion">~password_suggestions html~</code>~ sep {~ ~}~~}~</div>
33 <div class="field~password_bad {~ field_error~}~">
34 <input type="password" name="pass1" value=""><br>
35 <input type="password" name="pass2" value="">
38 <div class="caption"></div>
39 <div class="field"><input type="submit" name="save" value="Save"></div>
43 <div class="caption"> </div>
44 <div class="field"><a href="admin_users~id {~?id=~id~~}~">Cancel</a></div>
48 <h1>~$host~ Admin Control Panel</h1>
50 <h2>Manage Accounts</h2>
52 <p>On this page you can manage who can log into this site, and what sort of things they have permission to do once logged in.</p>
54 <!--~rows once_if {~-->
55 <p><a href="admin_users?new=1">[Add a new account]</a></p>
57 <table cellspacing="0" cellpadding="4" border="0" summary="" class="evenodd">
59 <th><a href="?sort=~sorting-by-role~role">Role</a></th>
60 <th><a href="?sort=~sorting-by-name~name">Name</a></th>
61 <th><a href="?sort=~sorting-by-username~username">Username</a></th>
62 <th><a href="?sort=~sorting-by-last_login~last_login">Last Login</a></th>
63 <th><a href="?sort=~sorting-by-last_active~last_active">Last Active</a></th>
67 <td class="listing"><a href="admin_users?edit_id=~id~">~role html~<!--~role empty {~--><em>(blank)</em><!--~}~--></a></td>
68 <td class="listing"><a href="admin_users?edit_id=~id~">~name html~<!--~name empty {~--><em>(blank)</em><!--~}~--></a></td>
69 <td class="listing"><a href="admin_users?edit_id=~id~">~username html~<!--~username empty {~--><em>(blank)</em><!--~}~--></a></td>
70 <td class="listing"><a href="admin_users?edit_id=~id~" class="unix_date">~last_login html~</a></td>
71 <td class="listing"><a href="admin_users?edit_id=~id~" class="unix_time">~last_active html~</a></td>
72 <td><a href="admin_users?admin_users_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete this account]</a></td>
76 <p><a href="?download_csv=1">Download as CSV file</a></p>
78 <!--~rows once_else {~-->
79 <p>No accounts in database.</p>
82 <p><a href="admin_users?new=1">[Add a new account]</a></p>