source: trunk/templates/bulkdomain.tmpl@ 111

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

/trunk

Add "Bulk domain operations" area - move-to-group, activate/deactivate, delete

File size: 1.8 KB
Line 
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>" />
11<input type="hidden" name="page" value="bulkdomain" />
12
13<table class="container">
14<tr><td>
15 <table border="0" cellspacing="2" cellpadding="2" width="100%">
16<TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding domain <TMPL_VAR NAME=domain>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
17 <tr class="darkrowheader"><td colspan="2" align="center">Bulk Domain Changes</td></tr>
18
19 <tr class="datalinelight">
20 <td>Action:</td>
21 <td align="left">
22<TMPL_IF maymove><input type="radio" name="action" value="move" /> Move to group: <select name="group">
23<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
24</TMPL_LOOP>
25 </select><br /></TMPL_IF>
26<TMPL_IF maystatus><input type="radio" name="action" value="deactivate" /> Deactivate<br />
27<input type="radio" name="action" value="activate" /> Activate<br /></TMPL_IF>
28<TMPL_IF maydelete><input type="radio" name="action" value="delete" /> Delete<br /></TMPL_IF>
29</td>
30 </tr>
31 <tr class="darkrowheader">
32 <td colspan="2" align="center">Domains to change:</td>
33 </tr>
34 <tr class="datalinelight">
35 <td colspan="2">
36<div class="center"><TMPL_INCLUDE NAME="pgcount.tmpl"></div>
37<div class="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></div>
38
39<table>
40<tr>
41<TMPL_LOOP NAME=domtable><td><input type="checkbox" name="dom_<TMPL_VAR NAME=domid>" value="<TMPL_VAR NAME=domid>"> <TMPL_VAR NAME=domain></td>
42<TMPL_IF newrow></tr>
43<tr>
44</TMPL_IF></TMPL_LOOP>
45</tr>
46</table>
47 </td>
48 </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.