source: trunk/templates/bulkdomain.tmpl@ 827

Last change on this file since 827 was 729, checked in by Kris Deugau, 8 years ago

/trunk

Fix bug in bulk operations page due to adding location to record list return

File size: 2.3 KB
Line 
1<body onload="document.getElementById('selall').style.display='block';">
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<form action="<TMPL_VAR NAME=script_self>" method="post">
10<fieldset>
11
12<input type="hidden" name="page" value="confirmbulk" />
13<input type="hidden" name="offset" value="<TMPL_VAR NAME=offset>" />
14<input type="hidden" name="perpage" value="<TMPL_VAR NAME=perpage>" />
15
16<table class="container">
17<tr><td>
18 <table border="0" cellspacing="2" cellpadding="2" width="100%">
19 <tr class="darkrowheader"><td colspan="2" align="center">Bulk Zone Changes</td></tr>
20
21 <tr class="datalinelight">
22 <td>Action:</td>
23 <td align="left">
24<TMPL_IF maymove> <input type="radio" name="bulkaction" value="move" checked="checked" /> Move to group: <select name="destgroup">
25<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
26</TMPL_LOOP>
27 </select><br /></TMPL_IF>
28<TMPL_IF maystatus> <input type="radio" name="bulkaction" value="deactivate" /> Deactivate<br />
29 <input type="radio" name="bulkaction" value="activate" /> Activate<br /></TMPL_IF>
30<TMPL_IF maydelete> <input type="radio" name="bulkaction" value="delete" /> Delete<br /></TMPL_IF>
31 </td>
32 </tr>
33 <tr class="darkrowheader">
34 <td colspan="2" align="center">Zones to change:</td>
35 </tr>
36 <tr class="datalinelight">
37 <td colspan="2">
38<div class="center"><TMPL_INCLUDE NAME="pgcount.tmpl"></div>
39<div class="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></div>
40<div class="center hidden" id="selall"><input type="checkbox" name="selall" id="master" onclick="bulk_selall();"
41/> Select all zones on this page</div>
42
43<table>
44<tr>
45<TMPL_LOOP NAME=domtable><td><input type="checkbox" name="<TMPL_IF fwdzone>dom<TMPL_ELSE>rev</TMPL_IF>_<TMPL_VAR NAME=zoneid>" value="<TMPL_VAR NAME=zoneid>" /> <TMPL_VAR NAME=zone><TMPL_IF location> (<TMPL_VAR NAME=location>)</TMPL_IF></td>
46<TMPL_IF newrow><TMPL_UNLESS __last__></tr>
47<tr>
48</TMPL_UNLESS></TMPL_IF></TMPL_LOOP>
49</tr>
50</table>
51 </td>
52 </tr>
53 <tr class="darkrowheader"><td colspan="2" align="center"><input type="submit" value="Make changes" /></td></tr>
54 </table>
55</td>
56</tr>
57</table>
58
59</fieldset>
60</form>
61
62</td></tr>
63</table>
Note: See TracBrowser for help on using the repository browser.