source: trunk/templates/grpman.tmpl@ 493

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

/trunk

Overhaul session handling; pure URL-based sessions are subject to
copy-paste session-stealing. Convert to cookie-based session tracking
instead. This also provides bonuses in terms of inlinks from other
utilities or copy-paste links.
While session-handling was in pieces, add "pick-up-where-I-left-off"
login handling so that logins don't always end up only on the initial
domain list. This is especially handy for copy-paste links.

Also clean up some of the docucomments, use the CGI::Simple object to
do 302 redirects, and bring the revzone default sort field setup into
line with other thing-lists.

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