source: trunk/templates/useradmin.tmpl@ 74

Last change on this file since 74 was 67, checked in by Kris Deugau, 14 years ago

/trunk

checkpoint
Add user ACL handling nearing function
Add user/edit user pages merged; they're next to identical anyway
Group list images tweaked with proper "alpha channel", CSS fiddled again

  • final arrangement will probably be a couple of small triangles; pointing right for an expandable group, down for an expanded one

Option to add user to a different group removed

File size: 2.3 KB
RevLine 
[24]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
[67]7<TMPL_IF warnmsg>
8<div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div>
9</TMPL_IF>
[24]10 <TMPL_IF del_failed>
11 <div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
12 </TMPL_IF>
13
[41]14<div id="datatablewrapper">
[40]15
[24]16<table width="98%">
[41]17<tr><th colspan="3" align="center">Manage users</th></tr>
18<tr>
19<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
20<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
21<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
22</tr>
[40]23<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[67]24<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=user">New User</a></td></tr>
[24]25</table>
26
[41]27<table width="98%" border="0" cellspacing="4" cellpadding="3">
[24]28<tr>
[44]29<TMPL_LOOP NAME=colheads>
30 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
[41]31 <td class="datahead_s">Delete</td>
[24]32</tr>
33<TMPL_IF name=usertable>
34<TMPL_LOOP name=usertable>
35<tr class="row<TMPL_VAR name=bg>">
[67]36 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=user&amp;action=edit&amp;user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td>
[59]37 <td class="data_nowrap"><TMPL_VAR name=userfull></td>
[38]38 <td><TMPL_VAR name=usertype></td>
39 <td><TMPL_VAR name=usergroup></td>
[51]40 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=useradmin<TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;id=<TMPL_VAR NAME=userid>&amp;action=<TMPL_IF NAME=active>useroff<TMPL_ELSE>useron</TMPL_IF>"><TMPL_IF NAME=active>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td>
[38]41 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deluser&amp;id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
[24]42</tr>
43</TMPL_LOOP>
44<TMPL_ELSE>
[41]45<tr><td colspan="6">No users found</td></tr>
[24]46</TMPL_IF>
47</table>
48
[40]49</div>
50
[24]51</td>
[38]52</tr>
[24]53</table>
Note: See TracBrowser for help on using the repository browser.