source: trunk/templates/grpman.tmpl@ 621

Last change on this file since 621 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
RevLine 
[589]1<body>
2<div id="main">
3
[19]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
[100]7<td align="center" valign="top">
[22]8
[378]9<TMPL_INCLUDE NAME="msgblock.tmpl">
[22]10
[19]11<table width="98%">
[140]12<tr><th colspan="3"><div class="center maintitle"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</div></th></tr>
[41]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>
[40]18<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[79]19<tr>
[493]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>
[140]22</td>
[79]23</tr>
[19]24</table>
25
[41]26<table width="98%" border="0" cellspacing="4" cellpadding="3">
[19]27<tr>
[493]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
[379]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>
[140]34<TMPL_IF delgrp>
[41]35 <td class="datahead_s">Delete</td>
[140]36</TMPL_IF>
[19]37</tr>
[20]38<TMPL_IF name=grouptable>
39<TMPL_LOOP name=grouptable>
[398]40<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
[493]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>
[38]42 <td><TMPL_VAR name=pgroup></td>
43 <td><TMPL_VAR name=nusers></td>
44 <td><TMPL_VAR name=ndomains></td>
[314]45 <td><TMPL_VAR NAME=nrevzones></td>
[140]46<TMPL_IF delgrp>
[493]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>
[140]48</TMPL_IF>
[19]49</tr>
50</TMPL_LOOP>
[538]51<tr><td colspan="6" align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td></tr>
[19]52<TMPL_ELSE>
[538]53<tr><td colspan="6" align="center">No groups found</td></tr>
[19]54</TMPL_IF>
55</table>
56
57</td>
[38]58</tr>
[19]59</table>
Note: See TracBrowser for help on using the repository browser.