source: trunk/templates/grpman.tmpl@ 689

Last change on this file since 689 was 589, checked in by Kris Deugau, 11 years ago

/trunk

Le sigh. Move a small fragment of HTML from the header back to all the
individual pages that need it, so we can selectively load and use
Javascript, and do some initial tweaking with body.onload.

File size: 2.3 KB
Line 
1<body>
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<TMPL_INCLUDE NAME="msgblock.tmpl">
10
11<table width="98%">
12<tr><th colspan="3"><div class="center maintitle"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</div></th></tr>
13<tr>
14<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
15<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
16<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
17</tr>
18<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
19<tr>
20 <td colspan="2"><TMPL_IF edgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=edgroup&amp;gid=<TMPL_VAR NAME=gid>">Edit Current Group</a></TMPL_IF></td>
21 <td align="right"><TMPL_IF addgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=newgrp">New Group</a></TMPL_IF>
22</td>
23</tr>
24</table>
25
26<table width="98%" border="0" cellspacing="4" cellpadding="3">
27<tr>
28<TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><a href="<TMPL_VAR
29 NAME=script_self>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
30 NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
31 NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
32 NAME=sortorder>.png" /></TMPL_IF></td>
33</TMPL_LOOP>
34<TMPL_IF delgrp>
35 <td class="datahead_s">Delete</td>
36</TMPL_IF>
37</tr>
38<TMPL_IF name=grouptable>
39<TMPL_LOOP name=grouptable>
40<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
41 <td align="left"><TMPL_IF edgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=edgroup&amp;gid=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a><TMPL_ELSE><TMPL_VAR NAME=groupname></TMPL_IF></td>
42 <td><TMPL_VAR name=pgroup></td>
43 <td><TMPL_VAR name=nusers></td>
44 <td><TMPL_VAR name=ndomains></td>
45 <td><TMPL_VAR NAME=nrevzones></td>
46<TMPL_IF delgrp>
47 <td align="center"><a href="<TMPL_VAR NAME=script_self>&amp;page=delgrp&amp;id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
48</TMPL_IF>
49</tr>
50</TMPL_LOOP>
51<tr><td colspan="6" align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td></tr>
52<TMPL_ELSE>
53<tr><td colspan="6" align="center">No groups found</td></tr>
54</TMPL_IF>
55</table>
56
57</td>
58</tr>
59</table>
Note: See TracBrowser for help on using the repository browser.