web_domain_edit.htm 4.68 KB
Newer Older
1
2
3
4
5
6
7
8
9
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>

<div class="panel panel_web_domain">

  <div class="pnl_formsarea">
    <fieldset class="inlineLabels">
      <tmpl_if name="is_admin">
      <div class="ctrlHolder">
10
11
12
13
14
15
16
17
		<tmpl_if name="edit_disabled">
		<label for="server_id_disabled">{tmpl_var name='server_id_txt'}</label>
		<select name="server_id_disabled" id="server_id_disabled" class="selectInput" disabled="disabled">
		  {tmpl_var name='server_id'}
		</select>
		<input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" />
		<tmpl_else>
		<label for="server_id">{tmpl_var name='server_id_txt'}</label>
18
        <select name="server_id" id="server_id" class="selectInput" onChange="loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)">
19
20
21
		  {tmpl_var name='server_id'}
		</select>
		</tmpl_if>
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
      </div>
      <div class="ctrlHolder">
      	<label for="client_group_id">{tmpl_var name='client_group_id_txt'}</label>
        <select name="client_group_id" id="client_group_id" class="selectInput">
					{tmpl_var name='client_group_id'}
				</select>
      </div>
      </tmpl_if>
      <tmpl_if name="is_reseller">
      <div class="ctrlHolder">
      	<label for="client_group_id">{tmpl_var name='client_group_id_txt'}</label>
        <select name="client_group_id" id="client_group_id" class="selectInput">
					{tmpl_var name='client_group_id'}
				</select>
      </div>
      </tmpl_if>
      <div class="ctrlHolder">
      	<label for="ip_address">{tmpl_var name='ip_address_txt'}</label>
        <select name="ip_address" id="ip_address" class="selectInput formLengthIPv4">
					{tmpl_var name='ip_address'}
				</select>
      </div>
      <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>
      <div class="ctrlHolder">
      	<label for="hd_quota">{tmpl_var name='hd_quota_txt'}</label>
50
        <input name="hd_quota" id="hd_quota" value="{tmpl_var name='hd_quota'}" size="7" maxlength="7" type="text" class="textInput formLengthLimit" />&nbsp;MB
51
			</div>
redray's avatar
redray committed
52
<!--
53
54
55
56
      <div class="ctrlHolder">
      	<label for="traffic_quota">{tmpl_var name='traffic_quota_txt'}</label>
        <input name="traffic_quota" id="traffic_quota" value="{tmpl_var name='traffic_quota'}" size="7" maxlength="7" type="text" class="textInput formLengthLimit" />
			</div>
redray's avatar
redray committed
57
-->
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='cgi_txt'}</p>
					<div class="multiField">
						{tmpl_var name='cgi'}
					</div>
			</div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='ssi_txt'}</p>
					<div class="multiField">
						{tmpl_var name='ssi'}
					</div>
			</div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='suexec_txt'}</p>
					<div class="multiField">
						{tmpl_var name='suexec'}
					</div>
			</div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='errordocs_txt'}</p>
					<div class="multiField">
						{tmpl_var name='errordocs'}
					</div>
			</div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='is_subdomainwww_txt'}</p>
					<div class="multiField">
						{tmpl_var name='is_subdomainwww'}
					</div>
			</div>
      <div class="ctrlHolder">
      	<label for="subdomain">{tmpl_var name='subdomain_txt'}</label>
        <select name="subdomain" id="subdomain" class="selectInput formLengthHalf">
					{tmpl_var name='subdomain'}
				</select>
      </div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='ssl_txt'}</p>
					<div class="multiField">
						{tmpl_var name='ssl'}
					</div>
			</div>
      <div class="ctrlHolder">
      	<label for="php">{tmpl_var name='php_txt'}</label>
        <select name="php" id="php" class="selectInput formLengthHalf">
					{tmpl_var name='php'}
				</select>
      </div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='active_txt'}</p>
					<div class="multiField">
						{tmpl_var name='active'}
					</div>
			</div>
    </fieldset>

    <input type="hidden" name="id" value="{tmpl_var name='id'}">

    <div class="buttonHolder buttons">
      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','sites/web_domain_edit.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('sites/web_domain_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
    </div>
  </div>
  
</div>