Last change
on this file since 526 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.5 KB
|
Line | |
---|
1 | <table class="wholepage"><tr>
|
---|
2 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
3 |
|
---|
4 | <td align="center" valign="top">
|
---|
5 |
|
---|
6 | <TMPL_IF perm_err>
|
---|
7 | <div class='errmsg'><TMPL_VAR NAME=perm_err></div>
|
---|
8 | <TMPL_ELSE>
|
---|
9 |
|
---|
10 | <form action="<TMPL_VAR NAME=script_self>" method="post">
|
---|
11 | <fieldset>
|
---|
12 |
|
---|
13 | <input type="hidden" name="page" value="location" />
|
---|
14 | <TMPL_IF id><input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /></TMPL_IF>
|
---|
15 | <input type="hidden" name="locact" value="<TMPL_VAR NAME=locact>" />
|
---|
16 |
|
---|
17 | <table class="container" width="450">
|
---|
18 | <tr><td>
|
---|
19 |
|
---|
20 | <table border="0" cellspacing="2" cellpadding="2" width="100%">
|
---|
21 | <TMPL_IF failed> <tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> location: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
|
---|
22 | <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr>
|
---|
23 | <tr class="datalinelight">
|
---|
24 | <td>Location name/description</td>
|
---|
25 | <td><input type="text" name="locname" value="<TMPL_VAR ESCAPE=HTML NAME=locname>" size="30" maxlength="40" /></td>
|
---|
26 | </tr>
|
---|
27 | <tr class="datalinelight">
|
---|
28 | <td>IP list</td>
|
---|
29 | <td><input type="text" name="iplist" value="<TMPL_VAR ESCAPE=HTML NAME=iplist>" size="30" /></td>
|
---|
30 | </tr>
|
---|
31 | <tr class="datalinelight">
|
---|
32 | <td>Comments</td>
|
---|
33 | <td><textarea name="comments" cols="50" rows="5"><TMPL_VAR ESCAPE=HTML NAME=comments></textarea></td>
|
---|
34 | </tr>
|
---|
35 | <tr class="datalinelight">
|
---|
36 | <td colspan="2" align="center"><input type="submit" value=" <TMPL_VAR NAME=todo> " /></td>
|
---|
37 | </tr>
|
---|
38 | </table>
|
---|
39 |
|
---|
40 | </td></tr>
|
---|
41 | </table>
|
---|
42 |
|
---|
43 | </fieldset>
|
---|
44 | </form>
|
---|
45 |
|
---|
46 | </TMPL_IF>
|
---|
47 |
|
---|
48 | </td>
|
---|
49 | </tr>
|
---|
50 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.