source: trunk/templates/useradmin.tmpl@ 46

Last change on this file since 46 was 44, checked in by Kris Deugau, 15 years ago

/trunk

Clean up header-munger code and templates for users, groups, domains
Still need to convert record list to use general-case

File size: 2.2 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
7 <TMPL_IF del_failed>
8 <div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
9 </TMPL_IF>
10
[41]11<div id="datatablewrapper">
[40]12
[24]13<table width="98%">
[41]14<tr><th colspan="3" align="center">Manage users</th></tr>
15<tr>
16<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
17<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
18<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
19</tr>
[40]20<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[38]21<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newuser">New User</a></td></tr>
[24]22</table>
23
[41]24<table width="98%" border="0" cellspacing="4" cellpadding="3">
[24]25<tr>
[44]26<TMPL_LOOP NAME=colheads>
27 <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]28 <td class="datahead_s">Delete</td>
[24]29</tr>
30<TMPL_IF name=usertable>
31<TMPL_LOOP name=usertable>
32<tr class="row<TMPL_VAR name=bg>">
[44]33 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=userman&amp;action=chuser&amp;user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td>
[38]34 <td><TMPL_VAR name=userfull></td>
35 <td><TMPL_VAR name=usertype></td>
36 <td><TMPL_VAR name=usergroup></td>
37 <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=mkactive>useron<TMPL_ELSE>useroff</TMPL_IF>"><TMPL_IF NAME=mkactive>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td>
38 <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]39</tr>
40</TMPL_LOOP>
41<TMPL_ELSE>
[41]42<tr><td colspan="6">No users found</td></tr>
[24]43</TMPL_IF>
44</table>
45
[40]46</div>
47
[24]48</td>
[38]49</tr>
[24]50</table>
Note: See TracBrowser for help on using the repository browser.