source: trunk/templates/bulkdomain.tmpl@ 357

Last change on this file since 357 was 313, checked in by Kris Deugau, 13 years ago

/trunk

Convert SQL for bulk change choice page to existing calls to
DNSDB.pm. See #1.

File size: 2.0 KB
RevLine 
[110]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center" valign="top">
6
7<form action="dns.cgi">
8<fieldset>
9
10<input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
[112]11<input type="hidden" name="page" value="bulkchange" />
12<input type="hidden" name="offset" value="<TMPL_VAR NAME=offset>" />
13<input type="hidden" name="perpage" value="<TMPL_VAR NAME=perpage>" />
[110]14
15<table class="container">
16<tr><td>
17 <table border="0" cellspacing="2" cellpadding="2" width="100%">
18 <tr class="darkrowheader"><td colspan="2" align="center">Bulk Domain Changes</td></tr>
19
20 <tr class="datalinelight">
21 <td>Action:</td>
22 <td align="left">
[207]23<TMPL_IF maymove> <input type="radio" name="bulkaction" value="move" checked="checked" /> Move to group: <select name="destgroup">
[110]24<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
25</TMPL_LOOP>
26 </select><br /></TMPL_IF>
[207]27<TMPL_IF maystatus> <input type="radio" name="bulkaction" value="deactivate" /> Deactivate<br />
28 <input type="radio" name="bulkaction" value="activate" /> Activate<br /></TMPL_IF>
29<TMPL_IF maydelete> <input type="radio" name="bulkaction" value="delete" /> Delete<br /></TMPL_IF>
[112]30 </td>
[110]31 </tr>
32 <tr class="darkrowheader">
33 <td colspan="2" align="center">Domains to change:</td>
34 </tr>
35 <tr class="datalinelight">
36 <td colspan="2">
37<div class="center"><TMPL_INCLUDE NAME="pgcount.tmpl"></div>
38<div class="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></div>
39
40<table>
41<tr>
[313]42<TMPL_LOOP NAME=domtable><td><input type="checkbox" name="dom_<TMPL_VAR NAME=domainid>" value="<TMPL_VAR NAME=domainid>" /> <TMPL_VAR NAME=domain></td>
[110]43<TMPL_IF newrow></tr>
44<tr>
45</TMPL_IF></TMPL_LOOP>
46</tr>
47</table>
48 </td>
[166]49 </tr>
50 <tr class="darkrowheader"><td colspan="2" align="center"><input type="submit" value="Make changes" /></td></tr>
51 </table>
[112]52</td>
53</tr>
[110]54</table>
55
56</fieldset>
57</form>
58
59</td></tr>
60</table>
Note: See TracBrowser for help on using the repository browser.