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