source: trunk/templates/newgrp.tmpl@ 559

Last change on this file since 559 was 493, checked in by Kris Deugau, 12 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: 1.4 KB
Line 
1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
4<td align="center" valign="top">
5
6<form action="<TMPL_VAR NAME=script_self>">
7<fieldset>
8
9<input type="hidden" name="page" value="newgrp" />
10<input type="hidden" name="grpaction" value="add" />
11
12<table class="container" width="450">
13<tr><td>
14 <table border="0" cellspacing="2" cellpadding="2" width="100%">
15<TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding group <TMPL_VAR NAME=newgroup>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
16 <tr class="darkrowheader"><td colspan="2" align="center">Add Group</td></tr>
17
18 <tr class="datalinelight">
19 <td>Group Name:</td>
20 <td align="left"><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>" /></td>
21 </tr>
22 <tr class="datalinelight">
23 <td>Add as subgroup of:</td>
24 <td><select name="pargroup">
25<TMPL_LOOP name=pargroup> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
26</TMPL_LOOP>
27 </select></td>
28 </tr>
29 <tr class="darkrowheader border">
30 <td colspan="2" align="center">Default permissions for users created in this group:</td>
31 </tr>
32 <tr><td colspan="2"><table>
33<TMPL_INCLUDE name="permlist.tmpl">
34 </table></td></tr>
35 <tr class="darkrowheader">
36 <td colspan="2" align="center"><input type="submit" value="Add group" /></td>
37 </tr>
38 </table>
39 </td>
40</tr>
41</table>
42
43</fieldset>
44</form>
45
46</td></tr>
47</table>
Note: See TracBrowser for help on using the repository browser.