dns_wizard.htm 3.38 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>

<tmpl_if name="error">
	<div id="errorMsg"><h3>ERROR</h3><ol><tmpl_var name="error"></ol></div>
</tmpl_if>

<div class="panel panel_dns_wizard">

  <div class="pnl_formsarea">
    <fieldset class="inlineLabels"><legend>DNS Zone</legend>
      <div class="ctrlHolder">
      	<label for="template_id">{tmpl_var name='template_id_txt'}</label>
        <select name="template_id" id="template_id" class="selectInput" onChange="submitForm('pageForm','dns/dns_wizard.php')">
					{tmpl_var name='template_id_option'}
				</select>
      </div>
      <tmpl_if name="is_admin">
      <div class="ctrlHolder">
      	<label for="server_id">{tmpl_var name='server_id_txt'}</label>
        <select name="server_id" id="server_id" class="selectInput">
					{tmpl_var name='server_id'}
				</select>
      </div>
      <div class="ctrlHolder">
      	<label for="client_group_id">{tmpl_var name='client_txt'}</label>
        <select name="client_group_id" id="client_group_id" class="selectInput">
					{tmpl_var name='client_group_id'}
				</select>
      </div>
      </tmpl_if>
32
33
34
35
36
37
38
39
	  <tmpl_if name="is_reseller">
	  <div class="ctrlHolder">
      	<label for="client_group_id">{tmpl_var name='client_txt'}</label>
        <select name="client_group_id" id="client_group_id" class="selectInput">
					{tmpl_var name='client_group_id'}
				</select>
      </div>
	  </tmpl_if>
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
		  <tmpl_if name="DOMAIN_VISIBLE">
	      <div class="ctrlHolder">
	      	<label for="domain">{tmpl_var name='domain_txt'}</label>
	        <input name="domain" id="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255" type="text" class="textInput" />
				</div>
		  </tmpl_if>
		  <tmpl_if name="IP_VISIBLE">
	      <div class="ctrlHolder">
	      	<label for="ip">{tmpl_var name='ip_txt'}</label>
	        <input name="ip" id="ip" value="{tmpl_var name='ip'}" size="30" maxlength="255" type="text" class="textInput" />
				</div>
		  </tmpl_if>
		  <tmpl_if name="NS1_VISIBLE">
	      <div class="ctrlHolder">
	      	<label for="ns1">{tmpl_var name='ns1_txt'}</label>
	        <input name="ns1" id="ns1" value="{tmpl_var name='ns1'}" size="30" maxlength="255" type="text" class="textInput" />
				</div>
		  </tmpl_if>
		  <tmpl_if name="NS2_VISIBLE">
	      <div class="ctrlHolder">
	      	<label for="ns2">{tmpl_var name='ns2_txt'}</label>
	        <input name="ns2" id="ns2" value="{tmpl_var name='ns2'}" size="30" maxlength="255" type="text" class="textInput" />
				</div>
		  </tmpl_if>
		  <tmpl_if name="EMAIL_VISIBLE">
	      <div class="ctrlHolder">
	      	<label for="email">{tmpl_var name='email_txt'}</label>
	        <input name="email" id="email" value="{tmpl_var name='email'}" size="30" maxlength="255" type="text" class="textInput" />
				</div>
		  </tmpl_if>
    </fieldset>

	  <input type="hidden" name="create" value="0" />
    
    <div class="buttonHolder buttons">
      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" name="btn_create" onClick="document.pageForm.create.value=1; submitForm('pageForm','dns/dns_wizard.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
      <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('dns/dns_wizard.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
    </div>
  </div>
  
</div>