source: trunk/templates/grpman.tmpl@ 161

Last change on this file since 161 was 147, checked in by Kris Deugau, 13 years ago

/trunk

UI consistency tweak - report group and domain deletions the
same way as user delete/update

File size: 2.3 KB
RevLine 
[19]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
[100]5<td align="center" valign="top">
[22]6
[147]7<TMPL_IF resultmsg>
8<div class="result"><TMPL_VAR NAME=resultmsg></div>
9</TMPL_IF>
10<TMPL_IF errmsg>
11<div class='errmsg'><TMPL_VAR NAME=errmsg></div>
12</TMPL_IF>
[22]13
[19]14<table width="98%">
[140]15<tr><th colspan="3"><div class="center maintitle"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</div></th></tr>
[41]16<tr>
17<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
18<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
19<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
20</tr>
[40]21<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[79]22<tr>
[140]23 <td colspan="2"><TMPL_IF edgrp><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=edgroup&amp;gid=<TMPL_VAR NAME=gid>">Edit Current Group</a></TMPL_IF></td>
24 <td align="right"><TMPL_IF addgrp><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newgrp">New Group</a></TMPL_IF>
25</td>
[79]26</tr>
[19]27</table>
28
[41]29<table width="98%" border="0" cellspacing="4" cellpadding="3">
[19]30<tr>
[42]31<TMPL_LOOP NAME=colheads>
[44]32 <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>
[140]33<TMPL_IF delgrp>
[41]34 <td class="datahead_s">Delete</td>
[140]35</TMPL_IF>
[19]36</tr>
[20]37<TMPL_IF name=grouptable>
38<TMPL_LOOP name=grouptable>
[19]39<tr class="row<TMPL_VAR name=bg>">
[140]40 <td align="left"><TMPL_IF edgrp><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=edgroup&amp;gid=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a><TMPL_ELSE><TMPL_VAR NAME=groupname></TMPL_IF></td>
[38]41 <td><TMPL_VAR name=pgroup></td>
42 <td><TMPL_VAR name=nusers></td>
43 <td><TMPL_VAR name=ndomains></td>
[140]44<TMPL_IF delgrp>
[38]45 <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>
[140]46</TMPL_IF>
[19]47</tr>
48</TMPL_LOOP>
49<TMPL_ELSE>
[41]50<tr><td colspan="5" align="center">No groups found</td></tr>
[19]51</TMPL_IF>
52</table>
53
54</td>
[38]55</tr>
[19]56</table>
Note: See TracBrowser for help on using the repository browser.