|
1 | 1 | <tmpl_if name="config_error_msg"> |
2 | | - <div style="background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px;"> |
| 2 | + <!--<div style="background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px;"> |
3 | 3 | <p style="font-face:bold">{tmpl_var name='configuration_error_txt'}</p> |
4 | 4 | <div> |
5 | 5 | <div style="float:left;width:150px;">{tmpl_var name='config_error_tstamp'} : </div> |
6 | 6 | <div style="padding-left:150px;">{tmpl_var name='config_error_msg'}</div> |
7 | 7 | </div> |
| 8 | + </div>--> |
| 9 | + <div class="alert alert-danger"> |
| 10 | + <p> |
| 11 | + <tmpl_var name="configuration_error_txt"> |
| 12 | + <div> |
| 13 | + <div style="float:left;width:150px;">{tmpl_var name='config_error_tstamp'} : </div> |
| 14 | + <div style="padding-left:150px;">{tmpl_var name='config_error_msg'}</div> |
| 15 | + </div> |
| 16 | + </p> |
8 | 17 | </div> |
9 | 18 | </tmpl_if> |
10 | 19 | <tmpl_if name="is_admin"> |
11 | 20 | <div class="form-group"> |
12 | 21 | <tmpl_if name="edit_disabled"> |
13 | 22 | <label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
14 | 23 | <div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
15 | | - {tmpl_var name='server_id'} |
| 24 | + {tmpl_var name='server_id'} |
16 | 25 | </select> |
17 | 26 | </div> |
18 | 27 | <input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
19 | 28 | <tmpl_else> |
20 | | - <label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
21 | | - <div class="col-sm-9"><select name="server_id" id="server_id" class="form-control"> |
22 | | - {tmpl_var name='server_id'} |
23 | | - </select> |
24 | | - </div> |
| 29 | + <label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
| 30 | + <div class="col-sm-9"><select name="server_id" id="server_id" class="form-control"> |
| 31 | + {tmpl_var name='server_id'} |
| 32 | + </select> |
| 33 | + </div> |
25 | 34 | </tmpl_if> |
26 | 35 | </div> |
27 | 36 | <tmpl_unless name="domain_option"> |
28 | 37 | <div class="form-group"> |
29 | 38 | <label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_txt'}</label> |
30 | 39 | <div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
31 | | - {tmpl_var name='client_group_id'} |
| 40 | + {tmpl_var name='client_group_id'} |
32 | 41 | </select> |
33 | 42 | </div> |
34 | 43 | </div> |
35 | 44 | </tmpl_unless> |
36 | 45 | <tmpl_else> |
37 | | - <tmpl_if name="only_one_server"> |
38 | | - <input type="hidden" id="server_id" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
39 | | - <tmpl_else> |
40 | | - <div class="form-group"> |
41 | | - <tmpl_if name="edit_disabled"> |
42 | | - <label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
43 | | - <div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
44 | | - {tmpl_var name='client_server_id'} |
45 | | - </select> |
46 | | - </div> |
47 | | - <input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
48 | | - <tmpl_else> |
49 | | - <label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
50 | | - <div class="col-sm-9"><select name="server_id" id="server_id" class="form-control"> |
51 | | - {tmpl_var name='client_server_id'} |
52 | | - </select> |
| 46 | + <tmpl_if name="only_one_server"> |
| 47 | + <input type="hidden" id="server_id" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
| 48 | + <tmpl_else> |
| 49 | + <div class="form-group"> |
| 50 | + <tmpl_if name="edit_disabled"> |
| 51 | + <label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
| 52 | + <div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
| 53 | + {tmpl_var name='client_server_id'} |
| 54 | + </select> |
| 55 | + </div> |
| 56 | + <input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
| 57 | + <tmpl_else> |
| 58 | + <label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
| 59 | + <div class="col-sm-9"><select name="server_id" id="server_id" class="form-control"> |
| 60 | + {tmpl_var name='client_server_id'} |
| 61 | + </select> |
| 62 | + </div> |
| 63 | + </tmpl_if> |
53 | 64 | </div> |
54 | | - </tmpl_if> |
55 | | - </div> |
56 | | - </tmpl_if> |
| 65 | + </tmpl_if> |
57 | 66 | </tmpl_if> |
58 | 67 | <tmpl_if name="is_reseller"> |
59 | 68 | <tmpl_unless name="domain_option"> |
60 | 69 | <div class="form-group"> |
61 | 70 | <label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_txt'}</label> |
62 | 71 | <div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
63 | | - {tmpl_var name='client_group_id'} |
| 72 | + {tmpl_var name='client_group_id'} |
64 | 73 | </select> |
65 | 74 | </div> |
66 | 75 | </div> |
|
71 | 80 | <tmpl_if name="domain_option"> |
72 | 81 | <div class="col-sm-9"> |
73 | 82 | <select name="origin" id="origin" class="form-control"> |
74 | | - {tmpl_var name='domain_option'} |
| 83 | + {tmpl_var name='domain_option'} |
75 | 84 | </select> |
76 | 85 | <p class="formHint">{tmpl_var name='eg_domain_tld'}</p> |
77 | 86 | </div> |
78 | 87 | <tmpl_else> |
79 | | - <div class="col-sm-9"> |
80 | | - <input type="text" name="origin" id="origin" value="{tmpl_var name='origin'}" class="form-control" /> |
81 | | - <p class="formHint">{tmpl_var name='eg_domain_tld'}</p> |
82 | | - </div> |
| 88 | + <div class="col-sm-9"> |
| 89 | + <input type="text" name="origin" id="origin" value="{tmpl_var name='origin'}" class="form-control" /> |
| 90 | + <p class="formHint">{tmpl_var name='eg_domain_tld'}</p> |
| 91 | + </div> |
83 | 92 | </tmpl_if> |
84 | 93 | </div> |
85 | 94 | <div class="form-group"> |
|
178 | 187 | </div> |
179 | 188 | <script language="JavaScript" type="text/javascript"> |
180 | 189 | jQuery('#xfer').ispconfigSearch({ |
181 | | - dataSrc: '/dns/ajax_get_json.php?type=get_ipv4', |
182 | | - resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">', |
183 | | - ResultsTextPrefix: '<tmpl_var name="globalsearch_suggestions_text_txt">', |
184 | | - noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">', |
185 | | - noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">', |
186 | | - minChars: 0, |
187 | | - cssPrefix: 'df-', |
188 | | - fillSearchField: true, |
189 | | - fillSearchFieldWith: 'fill_text', |
190 | | - searchFieldWatermark: '', |
191 | | - resultBoxPosition: '' |
| 190 | + dataSrc: '/dns/ajax_get_json.php?type=get_ipv4', |
| 191 | + resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">', |
| 192 | + ResultsTextPrefix: '<tmpl_var name="globalsearch_suggestions_text_txt">', |
| 193 | + noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">', |
| 194 | + noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">', |
| 195 | + minChars: 0, |
| 196 | + cssPrefix: 'df-', |
| 197 | + fillSearchField: true, |
| 198 | + fillSearchFieldWith: 'fill_text', |
| 199 | + searchFieldWatermark: '', |
| 200 | + resultBoxPosition: '' |
192 | 201 | }); |
193 | 202 | jQuery('#also_notify').ispconfigSearch({ |
194 | | - dataSrc: '/dns/ajax_get_json.php?type=get_ipv4', |
195 | | - resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">', |
196 | | - ResultsTextPrefix: '<tmpl_var name="globalsearch_suggestions_text_txt">', |
197 | | - noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">', |
198 | | - noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">', |
199 | | - minChars: 0, |
200 | | - cssPrefix: 'df-', |
201 | | - fillSearchField: true, |
202 | | - fillSearchFieldWith: 'fill_text', |
203 | | - searchFieldWatermark: '', |
204 | | - resultBoxPosition: '' |
| 203 | + dataSrc: '/dns/ajax_get_json.php?type=get_ipv4', |
| 204 | + resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">', |
| 205 | + ResultsTextPrefix: '<tmpl_var name="globalsearch_suggestions_text_txt">', |
| 206 | + noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">', |
| 207 | + noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">', |
| 208 | + minChars: 0, |
| 209 | + cssPrefix: 'df-', |
| 210 | + fillSearchField: true, |
| 211 | + fillSearchFieldWith: 'fill_text', |
| 212 | + searchFieldWatermark: '', |
| 213 | + resultBoxPosition: '' |
205 | 214 | }); |
206 | 215 | jQuery('#dnssec_wanted').on('click', function(event) { |
207 | | - if ($(this).is(':checked')) { |
208 | | - return; |
209 | | - } |
| 216 | + if ($(this).is(':checked')) { |
| 217 | + return; |
| 218 | + } |
210 | 219 |
|
211 | | - if (window.confirm('{tmpl_var name="dnssec_wanted_info"}')) { |
212 | | - return; |
213 | | - } |
| 220 | + if (window.confirm('{tmpl_var name="dnssec_wanted_info"}')) { |
| 221 | + return; |
| 222 | + } |
214 | 223 |
|
215 | | - event.preventDefault(); |
| 224 | + event.preventDefault(); |
216 | 225 | }); |
217 | 226 | </script> |
0 commit comments