source: trunk/templates/bulkdomain.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: 1.9 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>" method="post">
7<fieldset>
8
9<input type="hidden" name="page" value="bulkchange" />
10<input type="hidden" name="offset" value="<TMPL_VAR NAME=offset>" />
11<input type="hidden" name="perpage" value="<TMPL_VAR NAME=perpage>" />
12
13<table class="container">
14<tr><td>
15 <table border="0" cellspacing="2" cellpadding="2" width="100%">
16 <tr class="darkrowheader"><td colspan="2" align="center">Bulk Domain Changes</td></tr>
17
18 <tr class="datalinelight">
19 <td>Action:</td>
20 <td align="left">
21<TMPL_IF maymove> <input type="radio" name="bulkaction" value="move" checked="checked" /> Move to group: <select name="destgroup">
22<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
23</TMPL_LOOP>
24 </select><br /></TMPL_IF>
25<TMPL_IF maystatus> <input type="radio" name="bulkaction" value="deactivate" /> Deactivate<br />
26 <input type="radio" name="bulkaction" value="activate" /> Activate<br /></TMPL_IF>
27<TMPL_IF maydelete> <input type="radio" name="bulkaction" value="delete" /> Delete<br /></TMPL_IF>
28 </td>
29 </tr>
30 <tr class="darkrowheader">
31 <td colspan="2" align="center">Domains to change:</td>
32 </tr>
33 <tr class="datalinelight">
34 <td colspan="2">
35<div class="center"><TMPL_INCLUDE NAME="pgcount.tmpl"></div>
36<div class="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></div>
37
38<table>
39<tr>
40<TMPL_LOOP NAME=domtable><td><input type="checkbox" name="dom_<TMPL_VAR NAME=domain_id>" value="<TMPL_VAR NAME=domain_id>" /> <TMPL_VAR NAME=domain></td>
41<TMPL_IF newrow></tr>
42<tr>
43</TMPL_IF></TMPL_LOOP>
44</tr>
45</table>
46 </td>
47 </tr>
48 <tr class="darkrowheader"><td colspan="2" align="center"><input type="submit" value="Make changes" /></td></tr>
49 </table>
50</td>
51</tr>
52</table>
53
54</fieldset>
55</form>
56
57</td></tr>
58</table>
Note: See TracBrowser for help on using the repository browser.