|
1 | | -<h2><tmpl_var name="list_head_txt"></h2> |
2 | | - |
3 | | -<div class="panel panel_web_domain"> |
4 | | - |
5 | | - <div class="pnl_formsarea"> |
6 | | - <fieldset id="wf_area_web_domain"><legend>Domain</legend> |
7 | | - <tmpl_if name="is_admin"> |
8 | | - <span class="wf_oneField"> |
9 | | - <label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label> |
10 | | - <select id="server_id" name="server_id" onChange="loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)">{tmpl_var name='server_id'}</select> |
11 | | - </span> |
12 | | - <span class="wf_oneField"> |
13 | | - <label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label> |
14 | | - <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
15 | | - </span> |
16 | | - </tmpl_if> |
17 | | - <tmpl_if name="is_reseller"> |
18 | | - <span class="wf_oneField"> |
19 | | - <label for="client_group_id" class="wf_preField">{tmpl_var name='client_group_id_txt'}</label> |
20 | | - <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
21 | | - </span> |
22 | | - </tmpl_if> |
23 | | - <span class="wf_oneField"> |
24 | | - <label for="ip_address" class="wf_preField">{tmpl_var name='ip_address_txt'}</label> |
25 | | - <select id="ip_address" name="ip_address">{tmpl_var name='ip_address'}</select> |
26 | | - </span> |
27 | | - <span class="wf_oneField"> |
28 | | - <label for="domain" class="wf_preField">{tmpl_var name='domain_txt'}</label> |
29 | | - <input type="text" id="domain" name="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255"> |
30 | | - </span> |
31 | | -<!-- |
32 | | - <span class="wf_oneField"> |
33 | | - <label for="type" class="wf_preField">{tmpl_var name='type_txt'}</label> |
34 | | - <select id="type" name="type">{tmpl_var name='type'}</select> |
35 | | - </span> |
36 | | - <span class="wf_oneField"> |
37 | | - <label for="parent_domain_id" class="wf_preField">{tmpl_var name='parent_domain_id_txt'}</label> |
38 | | - <select id="parent_domain_id" name="parent_domain_id">{tmpl_var name='parent_domain_id'}</select> |
39 | | - </span> |
40 | | - <span class="wf_oneField"> |
41 | | - <label for="vhost_type" class="wf_preField">{tmpl_var name='vhost_type_txt'}</label> |
42 | | - <select id="vhost_type" name="vhost_type">{tmpl_var name='vhost_type'}</select> |
43 | | - </span> |
44 | | ---> |
45 | | - <span class="wf_oneField"> |
46 | | - <label for="hd_quota" class="wf_preField">{tmpl_var name='hd_quota_txt'}</label> |
47 | | - <input type="text" id="hd_quota" name="hd_quota" value="{tmpl_var name='hd_quota'}" size="7" maxlength="7"> |
48 | | - </span> |
49 | | - <span class="wf_oneField"> |
50 | | - <label for="traffic_quota" class="wf_preField">{tmpl_var name='traffic_quota_txt'}</label> |
51 | | - <input type="text" id="traffic_quota" name="traffic_quota" value="{tmpl_var name='traffic_quota'}" size="7" maxlength="7"> |
52 | | - </span> |
53 | | - <span class="wf_oneField"> |
54 | | - <label for="cgi" class="wf_preField">{tmpl_var name='cgi_txt'}</label> |
55 | | - <span class="">{tmpl_var name='cgi'}</span> |
56 | | - </span> |
57 | | - <span class="wf_oneField"> |
58 | | - <label for="ssi" class="wf_preField">{tmpl_var name='ssi_txt'}</label> |
59 | | - <span class="">{tmpl_var name='ssi'}</span> |
60 | | - </span> |
61 | | - <span class="wf_oneField"> |
62 | | - <label for="suexec" class="wf_preField">{tmpl_var name='suexec_txt'}</label> |
63 | | - <span class="">{tmpl_var name='suexec'}</span> |
64 | | - </span> |
65 | | - <span class="wf_oneField"> |
66 | | - <label for="errordocs" class="wf_preField">{tmpl_var name='errordocs_txt'}</label> |
67 | | - <span class="">{tmpl_var name='errordocs'}</span> |
68 | | - </span> |
69 | | - <span class="wf_oneField"> |
70 | | - <label for="is_subdomainwww" class="wf_preField">{tmpl_var name='is_subdomainwww_txt'}</label> |
71 | | - <span class="">{tmpl_var name='is_subdomainwww'}</span> |
72 | | - </span> |
73 | | - <span class="wf_oneField"> |
74 | | - <label for="subdomain" class="wf_preField">{tmpl_var name='subdomain_txt'}</label> |
75 | | - <select id="subdomain" name="subdomain">{tmpl_var name='subdomain'}</select> |
76 | | - </span> |
77 | | - <span class="wf_oneField"> |
78 | | - <label for="ssl" class="wf_preField">{tmpl_var name='ssl_txt'}</label> |
79 | | - <span class="">{tmpl_var name='ssl'}</span> |
80 | | - </span> |
81 | | - <span class="wf_oneField"> |
82 | | - <label for="php" class="wf_preField">{tmpl_var name='php_txt'}</label> |
83 | | - <select id="php" name="php">{tmpl_var name='php'}</select> |
84 | | - </span> |
85 | | - <span class="wf_oneField"> |
86 | | - <label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label> |
87 | | - <span class="">{tmpl_var name='active'}</span> |
88 | | - </span> |
89 | | - </fieldset> |
90 | | - |
91 | | - <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
92 | | - |
93 | | - <div class="wf_actions buttons"> |
94 | | - <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> |
95 | | - <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> |
96 | | - </div> |
97 | | - </div> |
98 | | - |
99 | | -</div> |
| 1 | +<h2><tmpl_var name="list_head_txt"></h2> |
| 2 | + |
| 3 | +<div class="panel panel_web_domain"> |
| 4 | + |
| 5 | + <div class="pnl_formsarea"> |
| 6 | + <fieldset id="wf_area_web_domain"><legend>Domain</legend> |
| 7 | + <tmpl_if name="is_admin"> |
| 8 | + <span class="wf_oneField"> |
| 9 | + <label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label> |
| 10 | + <select id="server_id" name="server_id" onChange="loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)">{tmpl_var name='server_id'}</select> |
| 11 | + </span> |
| 12 | + <span class="wf_oneField"> |
| 13 | + <label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label> |
| 14 | + <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
| 15 | + </span> |
| 16 | + </tmpl_if> |
| 17 | + <tmpl_if name="is_reseller"> |
| 18 | + <span class="wf_oneField"> |
| 19 | + <label for="client_group_id" class="wf_preField">{tmpl_var name='client_group_id_txt'}</label> |
| 20 | + <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
| 21 | + </span> |
| 22 | + </tmpl_if> |
| 23 | + <span class="wf_oneField"> |
| 24 | + <label for="ip_address" class="wf_preField">{tmpl_var name='ip_address_txt'}</label> |
| 25 | + <select id="ip_address" name="ip_address">{tmpl_var name='ip_address'}</select> |
| 26 | + </span> |
| 27 | + <span class="wf_oneField"> |
| 28 | + <label for="domain" class="wf_preField">{tmpl_var name='domain_txt'}</label> |
| 29 | + <input type="text" id="domain" name="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255"> |
| 30 | + </span> |
| 31 | +<!-- |
| 32 | + <span class="wf_oneField"> |
| 33 | + <label for="type" class="wf_preField">{tmpl_var name='type_txt'}</label> |
| 34 | + <select id="type" name="type">{tmpl_var name='type'}</select> |
| 35 | + </span> |
| 36 | + <span class="wf_oneField"> |
| 37 | + <label for="parent_domain_id" class="wf_preField">{tmpl_var name='parent_domain_id_txt'}</label> |
| 38 | + <select id="parent_domain_id" name="parent_domain_id">{tmpl_var name='parent_domain_id'}</select> |
| 39 | + </span> |
| 40 | + <span class="wf_oneField"> |
| 41 | + <label for="vhost_type" class="wf_preField">{tmpl_var name='vhost_type_txt'}</label> |
| 42 | + <select id="vhost_type" name="vhost_type">{tmpl_var name='vhost_type'}</select> |
| 43 | + </span> |
| 44 | +--> |
| 45 | + <span class="wf_oneField"> |
| 46 | + <label for="hd_quota" class="wf_preField">{tmpl_var name='hd_quota_txt'}</label> |
| 47 | + <input type="text" id="hd_quota" name="hd_quota" value="{tmpl_var name='hd_quota'}" size="7" maxlength="7"> |
| 48 | + </span> |
| 49 | +<!-- |
| 50 | + <span class="wf_oneField"> |
| 51 | + <label for="traffic_quota" class="wf_preField">{tmpl_var name='traffic_quota_txt'}</label> |
| 52 | + <input type="text" id="traffic_quota" name="traffic_quota" value="{tmpl_var name='traffic_quota'}" size="7" maxlength="7"> |
| 53 | + </span> |
| 54 | +--> |
| 55 | + <span class="wf_oneField"> |
| 56 | + <label for="cgi" class="wf_preField">{tmpl_var name='cgi_txt'}</label> |
| 57 | + <span class="">{tmpl_var name='cgi'}</span> |
| 58 | + </span> |
| 59 | + <span class="wf_oneField"> |
| 60 | + <label for="ssi" class="wf_preField">{tmpl_var name='ssi_txt'}</label> |
| 61 | + <span class="">{tmpl_var name='ssi'}</span> |
| 62 | + </span> |
| 63 | + <span class="wf_oneField"> |
| 64 | + <label for="suexec" class="wf_preField">{tmpl_var name='suexec_txt'}</label> |
| 65 | + <span class="">{tmpl_var name='suexec'}</span> |
| 66 | + </span> |
| 67 | + <span class="wf_oneField"> |
| 68 | + <label for="errordocs" class="wf_preField">{tmpl_var name='errordocs_txt'}</label> |
| 69 | + <span class="">{tmpl_var name='errordocs'}</span> |
| 70 | + </span> |
| 71 | + <span class="wf_oneField"> |
| 72 | + <label for="is_subdomainwww" class="wf_preField">{tmpl_var name='is_subdomainwww_txt'}</label> |
| 73 | + <span class="">{tmpl_var name='is_subdomainwww'}</span> |
| 74 | + </span> |
| 75 | + <span class="wf_oneField"> |
| 76 | + <label for="subdomain" class="wf_preField">{tmpl_var name='subdomain_txt'}</label> |
| 77 | + <select id="subdomain" name="subdomain">{tmpl_var name='subdomain'}</select> |
| 78 | + </span> |
| 79 | + <span class="wf_oneField"> |
| 80 | + <label for="ssl" class="wf_preField">{tmpl_var name='ssl_txt'}</label> |
| 81 | + <span class="">{tmpl_var name='ssl'}</span> |
| 82 | + </span> |
| 83 | + <span class="wf_oneField"> |
| 84 | + <label for="php" class="wf_preField">{tmpl_var name='php_txt'}</label> |
| 85 | + <select id="php" name="php">{tmpl_var name='php'}</select> |
| 86 | + </span> |
| 87 | + <span class="wf_oneField"> |
| 88 | + <label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label> |
| 89 | + <span class="">{tmpl_var name='active'}</span> |
| 90 | + </span> |
| 91 | + </fieldset> |
| 92 | + |
| 93 | + <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
| 94 | + |
| 95 | + <div class="wf_actions buttons"> |
| 96 | + <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> |
| 97 | + <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> |
| 98 | + </div> |
| 99 | + </div> |
| 100 | + |
| 101 | +</div> |
0 commit comments