source: trunk/templates/grpman.tmpl@ 42

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

/trunk

checkpoint - start coding support for filter/search on groups

File size: 3.3 KB
Line 
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 group <TMPL_VAR NAME=delgroupname>: <TMPL_VAR NAME=errmsg></div>
9 </TMPL_IF>
10
11<div id="datatablewrapper">
12
13<table width="98%">
14<tr><th colspan="3" align="center">Manage groups</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>
20<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
21<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newgrp">New Group</a></td></tr>
22</table>
23
24<table width="98%" border="0" cellspacing="4" cellpadding="3">
25<tr>
26<TMPL_IF foobarbaz>
27 <td class="datahead_l"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman&amp;<TMPL_IF
28NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=group&amp;order=<TMPL_VAR
29NAME=grporder>">Group</a><TMPL_IF NAME=sortgrp>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
30NAME=sortorder>.png" /></TMPL_IF></td>
31 <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman&amp;<TMPL_IF
32NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=parent&amp;order=<TMPL_VAR
33NAME=parentorder>">Parent Group</a><TMPL_IF NAME=sortparent>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
34src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
35 <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman&amp;<TMPL_IF
36NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=nusers&amp;order=<TMPL_VAR
37NAME=nusersorder>">Users</a><TMPL_IF NAME=sortnusers>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
38src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
39 <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman&amp;<TMPL_IF
40NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=ndomains&amp;order=<TMPL_VAR
41NAME=ndomainsorder>">Domains</a><TMPL_IF NAME=sortndomains>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
42src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
43<TMPL_ELSE>
44<TMPL_LOOP NAME=colheads>
45<td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR
46NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
47NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
48NAME=colname><TMPL_VAR NAME=sortby></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
49src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
50</TMPL_LOOP>
51</TMPL_IF>
52 <td class="datahead_s">Delete</td>
53</tr>
54<TMPL_IF name=grouptable>
55<TMPL_LOOP name=grouptable>
56<tr class="row<TMPL_VAR name=bg>">
57 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman&amp;action=chgroup&amp;group=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>
58 <td><TMPL_VAR name=pgroup></td>
59 <td><TMPL_VAR name=nusers></td>
60 <td><TMPL_VAR name=ndomains></td>
61 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=delgrp&amp;id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
62</tr>
63</TMPL_LOOP>
64<TMPL_ELSE>
65<tr><td colspan="5" align="center">No groups found</td></tr>
66</TMPL_IF>
67</table>
68
69</div>
70
71</td>
72</tr>
73</table>
Note: See TracBrowser for help on using the repository browser.