commit | author | age
|
61f1f5
|
1 |
<tmpl_if name="list_head_txt"> |
825dd6
|
2 |
<div class='page-header'> |
MC |
3 |
<h1><tmpl_var name="list_head_txt"></h1> |
|
4 |
</div> |
61f1f5
|
5 |
</tmpl_if> |
MC |
6 |
<tmpl_if name="list_desc_txt"><p><tmpl_var name="list_desc_txt"></p></tmpl_if> |
532ae5
|
7 |
|
L |
8 |
<div class="panel panel_client"> |
94c961
|
9 |
|
0e2694
|
10 |
<div class="pnl_formsarea"> |
825dd6
|
11 |
<legend>Limits</legend> |
94c961
|
12 |
<tmpl_if name="is_admin"> |
825dd6
|
13 |
<div class="form-group"> |
MC |
14 |
<label for="template_master" class="col-sm-3 control-label">{tmpl_var name='template_master_txt'}</label> |
|
15 |
<div class="col-sm-9"><select name="template_master" id="template_master" class="form-control"> |
94c961
|
16 |
{tmpl_var name='template_master'} |
e645fa
|
17 |
</select></div> |
MC |
18 |
</div> |
825dd6
|
19 |
<div class="form-group"> |
MC |
20 |
<label for="template_additional" class="col-sm-3 control-label">{tmpl_var name='template_additional_txt'}</label> |
|
21 |
<div class="col-sm-9"><select name="tpl_add_select" id="tpl_add_select" class="form-control"> |
94c961
|
22 |
{tmpl_var name='tpl_add_select'} |
e645fa
|
23 |
</select></div> |
MC |
24 |
</div> |
61f1f5
|
25 |
<tmpl_if name="is_admin"> |
MC |
26 |
<div class="clear"><div class="right"> |
|
27 |
<button class="btn btn-default formbutton-success" type="button" onclick="ISPConfig.addAdditionalTemplate();">{tmpl_var name="add_additional_template_txt"}</button> |
|
28 |
</div></div> |
|
29 |
</tmpl_if> |
825dd6
|
30 |
<div class="form-group"> |
MC |
31 |
<label class="col-sm-3 control-label">{tmpl_var name='active_template_additional_txt'}</label> |
61f1f5
|
32 |
<div id="template_additional_list" class="col-sm-9 col-text"> |
94c961
|
33 |
<ul> |
TB |
34 |
{tmpl_var name='template_additional_list'} |
|
35 |
</ul> |
|
36 |
</div> |
|
37 |
<input type="hidden" id="template_additional" name="template_additional" value="{tmpl_var name='template_additional'}"> |
|
38 |
</div> |
825dd6
|
39 |
<div class="form-group"> |
94c961
|
40 |
|
TB |
41 |
</div> |
0e2694
|
42 |
</tmpl_if> |
825dd6
|
43 |
<div class="form-group"> |
MC |
44 |
<label for="customer_no_template" class="col-sm-3 control-label">{tmpl_var name='customer_no_template_txt'}</label> |
dec3e3
|
45 |
<div class="col-sm-9"><input type="text" name="customer_no_template" id="customer_no_template" value="{tmpl_var name='customer_no_template'}" class="form-control" /></div></div> |
825dd6
|
46 |
<div class="form-group"> |
MC |
47 |
<label for="customer_no_start" class="col-sm-3 control-label">{tmpl_var name='customer_no_start_txt'}</label> |
dec3e3
|
48 |
<div class="col-sm-9"><input type="text" name="customer_no_start" id="customer_no_start" value="{tmpl_var name='customer_no_start'}" class="form-control" /></div></div> |
825dd6
|
49 |
<div class="form-group"> |
MC |
50 |
<label for="customer_no_counter" class="col-sm-3 control-label">{tmpl_var name='customer_no_counter_txt'}</label> |
6659cd
|
51 |
<div class="col-sm-9"><input type="text" name="customer_no_counter" id="customer_no_counter" value="{tmpl_var name='customer_no_counter'}" class="form-control" /></div> |
TB |
52 |
</div> |
|
53 |
|
|
54 |
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> |
|
55 |
<div class="panel panel-default"> |
|
56 |
<div class="panel-heading" role="tab" id="headingWeb"> |
|
57 |
<h4 class="panel-title"> |
|
58 |
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseWeb" aria-expanded="true" aria-controls="collapseWeb"> |
|
59 |
{tmpl_var name='web_limits_txt'} |
|
60 |
</a> |
|
61 |
</h4> |
|
62 |
</div> |
|
63 |
<div id="collapseWeb" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingWeb"> |
|
64 |
<div class="panel-body"> |
|
65 |
<div class="form-group"> |
|
66 |
<label for="web_servers" class="col-sm-3 control-label">{tmpl_var name='web_servers_txt'}</label> |
|
67 |
<div class="col-sm-9"><select data-placeholder="{tmpl_var name='web_servers_placeholder'}" multiple name="web_servers[]" id="web_servers" class="form-control"> |
|
68 |
{tmpl_var name='web_servers'} |
|
69 |
</select></div> |
|
70 |
</div> |
|
71 |
<div class="form-group"> |
|
72 |
<label for="limit_web_domain" class="col-sm-3 control-label">{tmpl_var name='limit_web_domain_txt'}</label> |
|
73 |
<div class="col-sm-9"><input type="text" name="limit_web_domain" id="limit_web_domain" value="{tmpl_var name='limit_web_domain'}" class="form-control" /></div></div> |
|
74 |
<div class="form-group"> |
|
75 |
<label for="limit_web_quota" class="col-sm-3 control-label">{tmpl_var name='limit_web_quota_txt'}</label> |
|
76 |
<div class="col-sm-6"><input type="text" name="limit_web_quota" id="limit_web_quota" value="{tmpl_var name='limit_web_quota'}" class="form-control" /></div><div class="col-sm-3 input-sm"> MB |
|
77 |
</div></div> |
|
78 |
<div class="form-group"> |
|
79 |
<label for="limit_traffic_quota" class="col-sm-3 control-label">{tmpl_var name='limit_traffic_quota_txt'}</label> |
|
80 |
<div class="col-sm-6"><input type="text" name="limit_traffic_quota" id="limit_traffic_quota" value="{tmpl_var name='limit_traffic_quota'}" class="form-control" /></div><div class="col-sm-3 input-sm"> MB |
|
81 |
</div></div> |
|
82 |
<div class="form-group"> |
|
83 |
<label class="col-sm-3 control-label">{tmpl_var name='web_php_options_txt'}</label> |
|
84 |
<div class="col-sm-9"> |
|
85 |
{tmpl_var name='web_php_options'} |
|
86 |
</div> |
|
87 |
</div> |
|
88 |
<div class="form-group"> |
|
89 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_cgi_txt'}</label> |
|
90 |
<div class="col-sm-9"> |
|
91 |
{tmpl_var name='limit_cgi'} |
|
92 |
</div> |
|
93 |
</div> |
|
94 |
<div class="form-group"> |
|
95 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_ssi_txt'}</label> |
|
96 |
<div class="col-sm-9"> |
|
97 |
{tmpl_var name='limit_ssi'} |
|
98 |
</div> |
|
99 |
</div> |
|
100 |
<div class="form-group"> |
|
101 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_perl_txt'}</label> |
|
102 |
<div class="col-sm-9"> |
|
103 |
{tmpl_var name='limit_perl'} |
|
104 |
</div> |
|
105 |
</div> |
|
106 |
<div class="form-group"> |
|
107 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_ruby_txt'}</label> |
|
108 |
<div class="col-sm-9"> |
|
109 |
{tmpl_var name='limit_ruby'} |
|
110 |
</div> |
|
111 |
</div> |
|
112 |
<div class="form-group"> |
|
113 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_python_txt'}</label> |
|
114 |
<div class="col-sm-9"> |
|
115 |
{tmpl_var name='limit_python'} |
|
116 |
</div> |
|
117 |
</div> |
|
118 |
<div class="form-group"> |
|
119 |
<label class="col-sm-3 control-label">{tmpl_var name='force_suexec_txt'}</label> |
|
120 |
<div class="col-sm-9"> |
|
121 |
{tmpl_var name='force_suexec'} |
|
122 |
</div> |
|
123 |
</div> |
|
124 |
<div class="form-group"> |
|
125 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_hterror_txt'}</label> |
|
126 |
<div class="col-sm-9"> |
|
127 |
{tmpl_var name='limit_hterror'} |
|
128 |
</div> |
|
129 |
</div> |
|
130 |
<div class="form-group"> |
|
131 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_wildcard_txt'}</label> |
|
132 |
<div class="col-sm-9"> |
|
133 |
{tmpl_var name='limit_wildcard'} |
|
134 |
</div> |
|
135 |
</div> |
|
136 |
<div class="form-group"> |
|
137 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_ssl_txt'}</label> |
|
138 |
<div class="col-sm-9"> |
|
139 |
{tmpl_var name='limit_ssl'} |
|
140 |
</div> |
|
141 |
</div> |
|
142 |
<div class="form-group"> |
67b0cb
|
143 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_ssl_letsencrypt_txt'}</label> |
MB |
144 |
<div class="col-sm-9"> |
|
145 |
{tmpl_var name='limit_ssl_letsencrypt'} |
|
146 |
</div> |
|
147 |
</div> |
|
148 |
<div class="form-group"> |
6659cd
|
149 |
<label for="limit_web_aliasdomain" class="col-sm-3 control-label">{tmpl_var name='limit_web_aliasdomain_txt'}</label> |
TB |
150 |
<div class="col-sm-9"><input type="text" name="limit_web_aliasdomain" id="limit_web_aliasdomain" value="{tmpl_var name='limit_web_aliasdomain'}" class="form-control" /></div></div> |
|
151 |
<div class="form-group"> |
|
152 |
<label for="limit_web_subdomain" class="col-sm-3 control-label">{tmpl_var name='limit_web_subdomain_txt'}</label> |
|
153 |
<div class="col-sm-9"><input type="text" name="limit_web_subdomain" id="limit_web_subdomain" value="{tmpl_var name='limit_web_subdomain'}" class="form-control" /></div></div> |
|
154 |
<div class="form-group"> |
|
155 |
<label for="limit_ftp_user" class="col-sm-3 control-label">{tmpl_var name='limit_ftp_user_txt'}</label> |
|
156 |
<div class="col-sm-9"><input type="text" name="limit_ftp_user" id="limit_ftp_user" value="{tmpl_var name='limit_ftp_user'}" class="form-control" /></div></div> |
|
157 |
<div class="form-group"> |
|
158 |
<label for="limit_shell_user" class="col-sm-3 control-label">{tmpl_var name='limit_shell_user_txt'}</label> |
|
159 |
<div class="col-sm-9"><input type="text" name="limit_shell_user" id="limit_shell_user" value="{tmpl_var name='limit_shell_user'}" class="form-control" /></div></div> |
|
160 |
<div class="form-group"> |
|
161 |
<label class="col-sm-3 control-label">{tmpl_var name='ssh_chroot_txt'}</label> |
|
162 |
<div class="col-sm-9"> |
|
163 |
{tmpl_var name='ssh_chroot'} |
|
164 |
</div> |
|
165 |
</div> |
|
166 |
<div class="form-group"> |
|
167 |
<label for="limit_webdav_user" class="col-sm-3 control-label">{tmpl_var name='limit_webdav_user_txt'}</label> |
|
168 |
<div class="col-sm-9"><input type="text" name="limit_webdav_user" id="limit_webdav_user" value="{tmpl_var name='limit_webdav_user'}" class="form-control" /></div></div> |
|
169 |
<div class="form-group"> |
|
170 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_backup_txt'}</label> |
|
171 |
<div class="col-sm-9"> |
|
172 |
{tmpl_var name='limit_backup'} |
|
173 |
</div> |
|
174 |
</div> |
67b0cb
|
175 |
<div class="form-group"> |
MB |
176 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_directive_snippets_txt'}</label> |
|
177 |
<div class="col-sm-9"> |
|
178 |
{tmpl_var name='limit_directive_snippets'} |
|
179 |
</div> |
|
180 |
</div> |
6659cd
|
181 |
</div> |
TB |
182 |
</div> |
|
183 |
</div> |
|
184 |
<div class="panel panel-default"> |
|
185 |
<div class="panel-heading" role="tab" id="headingMail"> |
|
186 |
<h4 class="panel-title"> |
|
187 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseMail" aria-expanded="false" aria-controls="collapseMail"> |
|
188 |
{tmpl_var name='email_limits_txt'} |
|
189 |
</a> |
|
190 |
</h4> |
|
191 |
</div> |
06a347
|
192 |
<div id="collapseMail" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingMail"> |
6659cd
|
193 |
<div class="panel-body"> |
TB |
194 |
<div class="form-group"> |
|
195 |
<label for="mail_servers" class="col-sm-3 control-label">{tmpl_var name='mail_servers_txt'}</label> |
|
196 |
<div class="col-sm-9"><select data-placeholder="{tmpl_var name='mail_servers_placeholder'}" multiple name="mail_servers[]" id="mail_servers" class="form-control"> |
|
197 |
{tmpl_var name='mail_servers'} |
|
198 |
</select></div> |
|
199 |
</div> |
|
200 |
<div class="form-group"> |
|
201 |
<label for="limit_maildomain" class="col-sm-3 control-label">{tmpl_var name='limit_maildomain_txt'}</label> |
|
202 |
<div class="col-sm-9"><input type="text" name="limit_maildomain" id="limit_maildomain" value="{tmpl_var name='limit_maildomain'}" class="form-control" /></div></div> |
|
203 |
<div class="form-group"> |
|
204 |
<label for="limit_mailbox" class="col-sm-3 control-label">{tmpl_var name='limit_mailbox_txt'}</label> |
|
205 |
<div class="col-sm-9"><input type="text" name="limit_mailbox" id="limit_mailbox" value="{tmpl_var name='limit_mailbox'}" class="form-control" /></div></div> |
|
206 |
<div class="form-group"> |
|
207 |
<label for="limit_mailalias" class="col-sm-3 control-label">{tmpl_var name='limit_mailalias_txt'}</label> |
|
208 |
<div class="col-sm-9"><input type="text" name="limit_mailalias" id="limit_mailalias" value="{tmpl_var name='limit_mailalias'}" class="form-control" /></div></div> |
|
209 |
<div class="form-group"> |
|
210 |
<label for="limit_mailaliasdomain" class="col-sm-3 control-label">{tmpl_var name='limit_mailaliasdomain_txt'}</label> |
|
211 |
<div class="col-sm-9"><input type="text" name="limit_mailaliasdomain" id="limit_mailaliasdomain" value="{tmpl_var name='limit_mailaliasdomain'}" class="form-control" /></div></div> |
|
212 |
<div class="form-group"> |
|
213 |
<label for="limit_mailmailinglist" class="col-sm-3 control-label">{tmpl_var name='limit_mailmailinglist_txt'}</label> |
|
214 |
<div class="col-sm-9"><input type="text" name="limit_mailmailinglist" id="limit_mailmailinglist" value="{tmpl_var name='limit_mailmailinglist'}" class="form-control" /></div></div> |
|
215 |
<div class="form-group"> |
|
216 |
<label for="limit_mailforward" class="col-sm-3 control-label">{tmpl_var name='limit_mailforward_txt'}</label> |
|
217 |
<div class="col-sm-9"><input type="text" name="limit_mailforward" id="limit_mailforward" value="{tmpl_var name='limit_mailforward'}" class="form-control" /></div></div> |
|
218 |
<div class="form-group"> |
|
219 |
<label for="limit_mailcatchall" class="col-sm-3 control-label">{tmpl_var name='limit_mailcatchall_txt'}</label> |
|
220 |
<div class="col-sm-9"><input type="text" name="limit_mailcatchall" id="limit_mailcatchall" value="{tmpl_var name='limit_mailcatchall'}" class="form-control" /></div></div> |
|
221 |
<div class="form-group"> |
|
222 |
<label for="limit_mailrouting" class="col-sm-3 control-label">{tmpl_var name='limit_mailrouting_txt'}</label> |
|
223 |
<div class="col-sm-9"><input type="text" name="limit_mailrouting" id="limit_mailrouting" value="{tmpl_var name='limit_mailrouting'}" class="form-control" /></div></div> |
|
224 |
<div class="form-group"> |
|
225 |
<label for="limit_mailfilter" class="col-sm-3 control-label">{tmpl_var name='limit_mailfilter_txt'}</label> |
|
226 |
<div class="col-sm-9"><input type="text" name="limit_mailfilter" id="limit_mailfilter" value="{tmpl_var name='limit_mailfilter'}" class="form-control" /></div></div> |
|
227 |
<div class="form-group"> |
|
228 |
<label for="limit_fetchmail" class="col-sm-3 control-label">{tmpl_var name='limit_fetchmail_txt'}</label> |
|
229 |
<div class="col-sm-9"><input type="text" name="limit_fetchmail" id="limit_fetchmail" value="{tmpl_var name='limit_fetchmail'}" class="form-control" /></div></div> |
|
230 |
<div class="form-group"> |
|
231 |
<label for="limit_mailquota" class="col-sm-3 control-label">{tmpl_var name='limit_mailquota_txt'}</label> |
|
232 |
<div class="col-sm-6"><input type="text" name="limit_mailquota" id="limit_mailquota" value="{tmpl_var name='limit_mailquota'}" class="form-control" /></div><div class="col-sm-3 input-sm"> MB |
|
233 |
</div></div> |
|
234 |
<div class="form-group"> |
|
235 |
<label for="limit_spamfilter_wblist" class="col-sm-3 control-label">{tmpl_var name='limit_spamfilter_wblist_txt'}</label> |
|
236 |
<div class="col-sm-9"><input type="text" name="limit_spamfilter_wblist" id="limit_spamfilter_wblist" value="{tmpl_var name='limit_spamfilter_wblist'}" class="form-control" /></div></div> |
|
237 |
<div class="form-group"> |
|
238 |
<label for="limit_spamfilter_user" class="col-sm-3 control-label">{tmpl_var name='limit_spamfilter_user_txt'}</label> |
|
239 |
<div class="col-sm-9"><input type="text" name="limit_spamfilter_user" id="limit_spamfilter_user" value="{tmpl_var name='limit_spamfilter_user'}" class="form-control" /></div></div> |
|
240 |
<div class="form-group"> |
|
241 |
<label for="limit_spamfilter_policy" class="col-sm-3 control-label">{tmpl_var name='limit_spamfilter_policy_txt'}</label> |
|
242 |
<div class="col-sm-9"><input type="text" name="limit_spamfilter_policy" id="limit_spamfilter_policy" value="{tmpl_var name='limit_spamfilter_policy'}" class="form-control" /></div> |
|
243 |
</div> |
|
244 |
</div> |
|
245 |
</div> |
|
246 |
<div class="panel panel-default"> |
|
247 |
<div class="panel-heading" role="tab" id="headingXMPP"> |
|
248 |
<h4 class="panel-title"> |
|
249 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseXMPP" aria-expanded="false" aria-controls="collapseXMPP"> |
|
250 |
{tmpl_var name='xmpp_limits_txt'} |
|
251 |
</a> |
|
252 |
</h4> |
|
253 |
</div> |
|
254 |
<div id="collapseXMPP" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingXMPP"> |
|
255 |
<div class="panel-body"> |
|
256 |
<div class="form-group"> |
|
257 |
<label for="xmpp_servers" class="col-sm-3 control-label">{tmpl_var name='xmpp_servers_txt'}</label> |
|
258 |
<div class="col-sm-9"><select data-placeholder="{tmpl_var name='xmpp_servers_placeholder'}" multiple name="xmpp_servers[]" id="xmpp_servers" class="form-control"> |
|
259 |
{tmpl_var name='xmpp_servers'} |
|
260 |
</select></div> |
|
261 |
</div> |
|
262 |
<div class="form-group"> |
|
263 |
<label for="limit_xmpp_domain" class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_domain_txt'}</label> |
|
264 |
<div class="col-sm-9"><input type="text" name="limit_xmpp_domain" id="limit_xmpp_domain" value="{tmpl_var name='limit_xmpp_domain'}" class="form-control" /></div></div> |
|
265 |
<div class="form-group"> |
|
266 |
<label for="limit_xmpp_user" class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_user_txt'}</label> |
|
267 |
<div class="col-sm-9"><input type="text" name="limit_xmpp_user" id="limit_xmpp_user" value="{tmpl_var name='limit_xmpp_user'}" class="form-control" /></div></div> |
|
268 |
<!--<div class="form-group"> |
|
269 |
<label class="col-sm-3 control-label">{tmpl_var name='xmpp_auth_options_txt'}</label> |
|
270 |
<div class="col-sm-9"> |
|
271 |
{tmpl_var name='xmpp_auth_options'} |
|
272 |
</div> |
|
273 |
</div>--> |
|
274 |
<div class="form-group"> |
|
275 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_muc_txt'}</label> |
|
276 |
<div class="col-sm-9"> |
|
277 |
{tmpl_var name='limit_xmpp_muc'} |
|
278 |
</div> |
|
279 |
</div> |
|
280 |
<div class="form-group"> |
|
281 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_pastebin_txt'}</label> |
|
282 |
<div class="col-sm-9"> |
|
283 |
{tmpl_var name='limit_xmpp_pastebin'} |
|
284 |
</div> |
|
285 |
</div> |
|
286 |
<div class="form-group"> |
|
287 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_httparchive_txt'}</label> |
|
288 |
<div class="col-sm-9"> |
|
289 |
{tmpl_var name='limit_xmpp_httparchive'} |
|
290 |
</div> |
|
291 |
</div> |
|
292 |
<div class="form-group"> |
|
293 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_anon_txt'}</label> |
|
294 |
<div class="col-sm-9"> |
|
295 |
{tmpl_var name='limit_xmpp_anon'} |
|
296 |
</div> |
|
297 |
</div> |
|
298 |
<div class="form-group"> |
|
299 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_vjud_txt'}</label> |
|
300 |
<div class="col-sm-9"> |
|
301 |
{tmpl_var name='limit_xmpp_vjud'} |
|
302 |
</div> |
|
303 |
</div> |
|
304 |
<div class="form-group"> |
|
305 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_proxy_txt'}</label> |
|
306 |
<div class="col-sm-9"> |
|
307 |
{tmpl_var name='limit_xmpp_proxy'} |
|
308 |
</div> |
|
309 |
</div> |
|
310 |
<div class="form-group"> |
|
311 |
<label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_status_txt'}</label> |
|
312 |
<div class="col-sm-9"> |
|
313 |
{tmpl_var name='limit_xmpp_status'} |
|
314 |
</div> |
|
315 |
</div> |
|
316 |
</div> |
|
317 |
</div> |
|
318 |
</div> |
|
319 |
<div class="panel panel-default"> |
|
320 |
<div class="panel-heading" role="tab" id="headingDB"> |
|
321 |
<h4 class="panel-title"> |
|
322 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseDB" aria-expanded="false" aria-controls="collapseDB"> |
|
323 |
{tmpl_var name='database_limits_txt'} |
|
324 |
</a> |
|
325 |
</h4> |
|
326 |
</div> |
|
327 |
<div id="collapseDB" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingDB"> |
|
328 |
<div class="panel-body"> |
|
329 |
<div class="form-group"> |
|
330 |
<label for="db_servers" class="col-sm-3 control-label">{tmpl_var name='db_servers_txt'}</label> |
|
331 |
<div class="col-sm-9"><select data-placeholder="{tmpl_var name='db_servers_placeholder'}" multiple name="db_servers[]" id="db_servers" class="form-control"> |
|
332 |
{tmpl_var name='db_servers'} |
|
333 |
</select></div> |
|
334 |
</div> |
|
335 |
<div class="form-group"> |
|
336 |
<label for="limit_database" class="col-sm-3 control-label">{tmpl_var name='limit_database_txt'}</label> |
|
337 |
<div class="col-sm-9"><input type="text" name="limit_database" id="limit_database" value="{tmpl_var name='limit_database'}" class="form-control" /></div></div> |
7e2a3f
|
338 |
<div class="form-group"> |
FS |
339 |
<label for="limit_database_user" class="col-sm-3 control-label">{tmpl_var name='limit_database_user_txt'}</label> |
|
340 |
<div class="col-sm-9"><input type="text" name="limit_database_user" id="limit_database_user" value="{tmpl_var name='limit_database_user'}" class="form-control" /></div></div> |
6659cd
|
341 |
<div class="form-group"> |
TB |
342 |
<label for="limit_database_quota" class="col-sm-3 control-label">{tmpl_var name='limit_database_quota_txt'}</label> |
|
343 |
<div class="col-sm-6"><input type="text" name="limit_database_quota" id="limit_database_quota" value="{tmpl_var name='limit_database_quota'}" class="form-control" /></div><div class="col-sm-3 input-sm"> MB |
|
344 |
</div> |
|
345 |
</div> |
|
346 |
</div> |
|
347 |
</div> |
|
348 |
</div> |
|
349 |
<div class="panel panel-default"> |
|
350 |
<div class="panel-heading" role="tab" id="headingCron"> |
|
351 |
<h4 class="panel-title"> |
|
352 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseCron" aria-expanded="false" aria-controls="collapseCron"> |
|
353 |
{tmpl_var name='cron_job_limits_txt'} |
|
354 |
</a> |
|
355 |
</h4> |
|
356 |
</div> |
|
357 |
<div id="collapseCron" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingCron"> |
|
358 |
<div class="panel-body"> |
|
359 |
<div class="form-group"> |
|
360 |
<label for="limit_cron" class="col-sm-3 control-label">{tmpl_var name='limit_cron_txt'}</label> |
|
361 |
<div class="col-sm-9"><input type="text" name="limit_cron" id="limit_cron" value="{tmpl_var name='limit_cron'}" class="form-control" /></div></div> |
|
362 |
<div class="form-group"> |
|
363 |
<label for="limit_cron_type" class="col-sm-3 control-label">{tmpl_var name='limit_cron_type_txt'}</label> |
|
364 |
<div class="col-sm-9"><select name="limit_cron_type" id="limit_cron_type" class="form-control"> |
|
365 |
{tmpl_var name='limit_cron_type'} |
|
366 |
</select></div> |
|
367 |
</div> |
|
368 |
<div class="form-group"> |
|
369 |
<label for="limit_cron_frequency" class="col-sm-3 control-label">{tmpl_var name='limit_cron_frequency_txt'}</label> |
|
370 |
<div class="col-sm-9"><input type="text" name="limit_cron_frequency" id="limit_cron_frequency" value="{tmpl_var name='limit_cron_frequency'}" class="form-control" /></div> |
|
371 |
</div> |
|
372 |
|
|
373 |
</div> |
|
374 |
</div> |
|
375 |
</div> |
|
376 |
<div class="panel panel-default"> |
|
377 |
<div class="panel-heading" role="tab" id="headingDNS"> |
|
378 |
<h4 class="panel-title"> |
|
379 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseDNS" aria-expanded="false" aria-controls="collapseDNS"> |
|
380 |
{tmpl_var name='dns_servers_txt'} |
|
381 |
</a> |
|
382 |
</h4> |
|
383 |
</div> |
|
384 |
<div id="collapseDNS" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingDNS"> |
|
385 |
<div class="panel-body"> |
|
386 |
<div class="form-group"> |
|
387 |
<label for="dns_servers" class="col-sm-3 control-label">{tmpl_var name='dns_servers_txt'}</label> |
|
388 |
<div class="col-sm-9"><select data-placeholder="{tmpl_var name='dns_servers_placeholder'}" multiple name="dns_servers[]" id="dns_servers" class="form-control"> |
|
389 |
{tmpl_var name='dns_servers'} |
|
390 |
</select></div> |
|
391 |
</div> |
|
392 |
<div class="form-group"> |
|
393 |
<label for="limit_dns_zone" class="col-sm-3 control-label">{tmpl_var name='limit_dns_zone_txt'}</label> |
|
394 |
<div class="col-sm-9"><input type="text" name="limit_dns_zone" id="limit_dns_zone" value="{tmpl_var name='limit_dns_zone'}" class="form-control" /></div></div> |
|
395 |
<div class="form-group"> |
|
396 |
<label for="default_slave_dnsserver" class="col-sm-3 control-label">{tmpl_var name='default_slave_dnsserver_txt'}</label> |
|
397 |
<div class="col-sm-9"><select name="default_slave_dnsserver" id="default_slave_dnsserver" class="form-control"> |
|
398 |
{tmpl_var name='default_slave_dnsserver'} |
|
399 |
</select></div> |
|
400 |
</div> |
|
401 |
<div class="form-group"> |
|
402 |
<label for="limit_dns_slave_zone" class="col-sm-3 control-label">{tmpl_var name='limit_dns_slave_zone_txt'}</label> |
|
403 |
<div class="col-sm-9"><input type="text" name="limit_dns_slave_zone" id="limit_dns_slave_zone" value="{tmpl_var name='limit_dns_slave_zone'}" class="form-control" /></div></div> |
|
404 |
<div class="form-group"> |
|
405 |
<label for="limit_dns_record" class="col-sm-3 control-label">{tmpl_var name='limit_dns_record_txt'}</label> |
|
406 |
<div class="col-sm-9"><input type="text" name="limit_dns_record" id="limit_dns_record" value="{tmpl_var name='limit_dns_record'}" class="form-control" /></div> |
|
407 |
</div> |
|
408 |
</div> |
|
409 |
</div> |
|
410 |
</div> |
|
411 |
<div class="panel panel-default"> |
|
412 |
<div class="panel-heading" role="tab" id="headingVM"> |
|
413 |
<h4 class="panel-title"> |
|
414 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseVM" aria-expanded="false" aria-controls="collapseVM"> |
|
415 |
{tmpl_var name='virtualization_limits_txt'} |
|
416 |
</a> |
|
417 |
</h4> |
|
418 |
</div> |
|
419 |
<div id="collapseVM" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingVM"> |
|
420 |
<div class="panel-body"> |
|
421 |
<div class="form-group"> |
|
422 |
<label for="limit_openvz_vm" class="col-sm-3 control-label">{tmpl_var name='limit_openvz_vm_txt'}</label> |
|
423 |
<div class="col-sm-9"><input type="text" name="limit_openvz_vm" id="limit_openvz_vm" value="{tmpl_var name='limit_openvz_vm'}" class="form-control" /></div></div> |
|
424 |
<div class="form-group"> |
|
425 |
<label for="limit_openvz_vm_template_id" class="col-sm-3 control-label">{tmpl_var name='limit_openvz_vm_template_id_txt'}</label> |
|
426 |
<div class="col-sm-9"><select name="limit_openvz_vm_template_id" id="limit_openvz_vm_template_id" class="form-control"> |
|
427 |
{tmpl_var name='limit_openvz_vm_template_id'} |
|
428 |
</select></div> |
|
429 |
</div> |
|
430 |
</div> |
|
431 |
</div> |
|
432 |
</div> |
|
433 |
<!-- APS --> |
|
434 |
<div class="panel panel-default"> |
|
435 |
<div class="panel-heading" role="tab" id="headingAPS"> |
|
436 |
<h4 class="panel-title"> |
|
437 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseAPS" aria-expanded="false" aria-controls="collapseAPS"> |
|
438 |
{tmpl_var name='aps_limits_txt'} |
|
439 |
</a> |
|
440 |
</h4> |
|
441 |
</div> |
|
442 |
<div id="collapseAPS" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingAPS"> |
|
443 |
<div class="panel-body"> |
|
444 |
<div class="form-group"> |
|
445 |
<label for="limit_aps" class="col-sm-3 control-label">{tmpl_var name='limit_aps_txt'}</label> |
|
446 |
<div class="col-sm-9"><input type="text" name="limit_aps" id="limit_aps" value="{tmpl_var name='limit_aps'}" class="form-control" /></div> |
|
447 |
</div> |
|
448 |
</div> |
|
449 |
</div> |
|
450 |
</div> |
|
451 |
<!-- Client --> |
|
452 |
<div class="panel panel-default"> |
|
453 |
<div class="panel-heading" role="tab" id="headingClient"> |
|
454 |
<h4 class="panel-title"> |
|
455 |
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseClient" aria-expanded="false" aria-controls="collapseClient"> |
|
456 |
{tmpl_var name='limit_client_txt'} |
|
457 |
</a> |
|
458 |
</h4> |
|
459 |
</div> |
|
460 |
<div id="collapseClient" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingClient"> |
|
461 |
<div class="panel-body"> |
|
462 |
<div class="form-group"> |
|
463 |
<label for="limit_client" class="col-sm-3 control-label">{tmpl_var name='limit_client_txt'}</label> |
|
464 |
<div class="col-sm-9"><input type="text" name="limit_client" id="limit_client" value="{tmpl_var name='limit_client'}" class="form-control" /></div></div> |
|
465 |
<div class="form-group"> |
|
466 |
<label for="limit_domainmodule" class="col-sm-3 control-label">{tmpl_var name='limit_domainmodule_txt'}</label> |
|
467 |
<div class="col-sm-9"><input type="text" name="limit_domainmodule" id="limit_domainmodule" value="{tmpl_var name='limit_domainmodule'}" class="form-control" /></div> |
|
468 |
</div> |
|
469 |
</div> |
|
470 |
</div> |
|
471 |
</div> |
|
472 |
</div> |
532ae5
|
473 |
|
0e2694
|
474 |
<input type="hidden" name="id" value="{tmpl_var name='id'}"> |
C |
475 |
|
825dd6
|
476 |
<div class="clear"><div class="right"> |
2d0eba
|
477 |
<button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="client/reseller_edit.php">{tmpl_var name='btn_save_txt'}</button> |
ba7316
|
478 |
<button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="client/reseller_list.php">{tmpl_var name='btn_cancel_txt'}</button> |
825dd6
|
479 |
</div></div> |
532ae5
|
480 |
</div> |
0e2694
|
481 |
|
94c961
|
482 |
</div> |
TB |
483 |
<tmpl_if name="is_admin"> |
|
484 |
<script type="text/javascript"> |
|
485 |
<!-- |
|
486 |
function custom_template_selected() { |
|
487 |
return ($('#template_master').val() == '0' ? true : false); |
|
488 |
} |
|
489 |
|
|
490 |
jQuery('#template_additional_list').find('li > a').click(function(e) { |
|
491 |
e.preventDefault(); |
2778c9
|
492 |
ISPConfig.delAdditionalTemplate($(this).parent().attr('rel')); |
94c961
|
493 |
}); |
TB |
494 |
|
|
495 |
jQuery('div.panel_client') |
|
496 |
.find('div.pnl_formsarea') |
|
497 |
.find('fieldset') |
|
498 |
.find('input,select,button') |
554c40
|
499 |
.not('#template_master,#template_additional,#default_mailserver,#default_webserver,#default_dbserver,#default_dnsserver,#default_slave_dnsserver,#customer_no_template,#customer_no_start,#customer_no_counter') |
94c961
|
500 |
.click(function(e) { |
TB |
501 |
if(custom_template_selected()) return true; |
|
502 |
e.preventDefault(); |
|
503 |
alert('{tmpl_var name="err_msg_master_tpl_set"}'); |
|
504 |
}) |
|
505 |
.focus(function() { |
|
506 |
if(custom_template_selected()) return true; |
|
507 |
$(this).blur(); |
|
508 |
}); |
|
509 |
|
|
510 |
//--> |
|
511 |
</script> |
cf646e
|
512 |
</tmpl_if> |