client_edit_limits.htm 30 KB
Newer Older
Marius Cramer's avatar
Marius Cramer committed
1
<tmpl_if name="list_head_txt">
2
3
4
<div class='page-header'>
	<h1><tmpl_var name="list_head_txt"></h1>
</div>
Marius Cramer's avatar
Marius Cramer committed
5
6
</tmpl_if>
<tmpl_if name="list_desc_txt"><p><tmpl_var name="list_desc_txt"></p></tmpl_if>
latham's avatar
latham committed
7
8

<div class="panel panel_client">
Marius Cramer's avatar
Marius Cramer committed
9
10
11
    
	<div class="pnl_formsarea">
        <fieldset class="inlineLabels"><legend>Limits</legend>
12
13
14
                <div class="form-group">
                    <label for="template_master" class="col-sm-3 control-label">{tmpl_var name='template_master_txt'}</label>
                    <div class="col-sm-9"><select name="template_master" id="template_master" class="form-control">
15
                        {tmpl_var name='template_master'}
16
17
                    </select></div>
                </div>
18
19
20
                <div class="form-group">
                    <label for="template_additional" class="col-sm-3 control-label">{tmpl_var name='template_additional_txt'}</label>
                    <div class="col-sm-9"><select name="tpl_add_select" id="tpl_add_select" class="form-control">
21
                        {tmpl_var name='tpl_add_select'}
22
23
                    </select></div>
                </div>
Marius Cramer's avatar
Marius Cramer committed
24
25
26
				<div class="clear"><div class="right">
					<button class="btn btn-default formbutton-success" type="button" onclick="ISPConfig.addAdditionalTemplate();">{tmpl_var name="add_additional_template_txt"}</button>
				</div></div>
27
28
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='active_template_additional_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
29
                    <div id="template_additional_list" class="col-sm-9 col-text">
30
31
32
33
                        <ul>
                        {tmpl_var name='template_additional_list'}
                        </ul>
                    </div>
34
35
                    <input type="hidden" id="template_additional" name="template_additional" value="{tmpl_var name='template_additional'}">
                </div>
36
                <div class="form-group">
37
38
                    &nbsp;
                </div>
39
				<tmpl_if name="is_admin">
40
41
42
                <div class="form-group">
                    <label for="parent_client_id_id" class="col-sm-3 control-label">{tmpl_var name='parent_client_id_txt'}</label>
                    <div class="col-sm-9"><select name="parent_client_id" id="parent_client_id" class="form-control">
43
                        {tmpl_var name='parent_client_id'}
44
45
                    </select></div>
                </div>
46
47
                <div class="form-group">
                    <label for="reseller" class="col-sm-3 control-label">{tmpl_var name='reseller_txt'}</label>
48
                    <div class="col-sm-9"><input type="checkbox" name="reseller" value="1" id="reseller" /></div>
49
				</div>
50
                </tmpl_if>
51
52
53
54
55
56
57
58
59
60
61
62
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingWeb">
      <h4 class="panel-title">
        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseWeb" aria-expanded="true" aria-controls="collapseWeb">
          {tmpl_var name='web_limits_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseWeb" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingWeb">
      <div class="panel-body">
				<div class="form-group">
63
64
                    <label for="web_servers" class="col-sm-3 control-label">{tmpl_var name='web_servers_txt'}</label>
                    <div class="col-sm-9"><select data-placeholder="{tmpl_var name='web_servers_placeholder'}" multiple name="web_servers[]" id="web_servers" class="form-control">
65
                        {tmpl_var name='web_servers'}
66
67
                    </select></div>
                </div>
68
69
                <div class="form-group">
                    <label for="limit_web_domain" class="col-sm-3 control-label">{tmpl_var name='limit_web_domain_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
70
                    <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>
71
72
                <div class="form-group">
                    <label for="limit_web_quota" class="col-sm-3 control-label">{tmpl_var name='limit_web_quota_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
73
                    <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">&nbsp;MB
74
75
76
                </div></div>
                <div class="form-group">
                    <label for="limit_traffic_quota" class="col-sm-3 control-label">{tmpl_var name='limit_traffic_quota_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
77
                    <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">&nbsp;MB
78
79
80
81
                </div></div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='web_php_options_txt'}</label>
                    <div class="col-sm-9">
82
83
84
                        {tmpl_var name='web_php_options'}
                    </div>
                </div>
85
86
87
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_cgi_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
88
89
90
                        {tmpl_var name='limit_cgi'}
                    </div>
                </div>
91
92
93
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_ssi_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
94
95
96
                        {tmpl_var name='limit_ssi'}
                    </div>
                </div>
97
98
99
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_perl_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
100
101
102
                        {tmpl_var name='limit_perl'}
                    </div>
                </div>
103
104
105
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_ruby_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
106
107
108
                        {tmpl_var name='limit_ruby'}
                    </div>
                </div>
109
110
111
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_python_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
112
113
114
                        {tmpl_var name='limit_python'}
                    </div>
                </div>
115
116
117
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='force_suexec_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
118
119
120
                        {tmpl_var name='force_suexec'}
                    </div>
                </div>
121
122
123
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_hterror_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
124
125
126
                        {tmpl_var name='limit_hterror'}
                    </div>
                </div>
127
128
129
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_wildcard_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
130
131
132
                        {tmpl_var name='limit_wildcard'}
                    </div>
                </div>
133
134
135
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_ssl_txt'}</label>
                    <div class="col-sm-9">
mcramer's avatar
mcramer committed
136
137
138
                        {tmpl_var name='limit_ssl'}
                    </div>
                </div>
Marius Burkard's avatar
Marius Burkard committed
139
140
141
142
143
144
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_ssl_letsencrypt_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_ssl_letsencrypt'}
                    </div>
                </div>
145
146
                <div class="form-group">
                    <label for="limit_web_aliasdomain" class="col-sm-3 control-label">{tmpl_var name='limit_web_aliasdomain_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
147
                    <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>
148
149
                <div class="form-group">
                    <label for="limit_web_subdomain" class="col-sm-3 control-label">{tmpl_var name='limit_web_subdomain_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
150
                    <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>
151
152
                <div class="form-group">
                    <label for="limit_ftp_user" class="col-sm-3 control-label">{tmpl_var name='limit_ftp_user_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
153
                    <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>
154
155
                <div class="form-group">
                    <label for="limit_shell_user" class="col-sm-3 control-label">{tmpl_var name='limit_shell_user_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
156
                    <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>
157
158
159
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='ssh_chroot_txt'}</label>
                    <div class="col-sm-9">
160
161
162
                        {tmpl_var name='ssh_chroot'}
                    </div>
                </div>
163
164
                <div class="form-group">
                    <label for="limit_webdav_user" class="col-sm-3 control-label">{tmpl_var name='limit_webdav_user_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
165
                    <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>
166
167
168
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_backup_txt'}</label>
                    <div class="col-sm-9">
169
170
171
                        {tmpl_var name='limit_backup'}
                    </div>
                </div>
Marius Burkard's avatar
Marius Burkard committed
172
173
174
175
176
177
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_directive_snippets_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_directive_snippets'}
                    </div>
                </div>
178
179
180
181
182
183
184
185
186
187
188
      </div>
	</div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingMail">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseMail" aria-expanded="false" aria-controls="collapseMail">
          {tmpl_var name='email_limits_txt'}
        </a>
      </h4>
    </div>
189
    <div id="collapseMail" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingMail">
190
      <div class="panel-body">
191
				<div class="form-group">
192
                    <label for="mail_servers" class="col-sm-3 control-label">{tmpl_var name='mail_servers_txt'}</label>
193
194
                    <div class="col-sm-9">
						<select data-placeholder="{tmpl_var name='mail_servers_placeholder'}" multiple name="mail_servers[]" id="mail_servers" class="form-control">
195
                        {tmpl_var name='mail_servers'}
196
197
                    </select></div>
                </div>
198
199
                <div class="form-group">
                    <label for="limit_maildomain" class="col-sm-3 control-label">{tmpl_var name='limit_maildomain_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
200
                    <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>
201
202
                <div class="form-group">
                    <label for="limit_mailbox" class="col-sm-3 control-label">{tmpl_var name='limit_mailbox_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
203
                    <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>
204
205
                <div class="form-group">
                    <label for="limit_mailalias" class="col-sm-3 control-label">{tmpl_var name='limit_mailalias_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
206
                    <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>
207
208
                <div class="form-group">
                    <label for="limit_mailaliasdomain" class="col-sm-3 control-label">{tmpl_var name='limit_mailaliasdomain_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
209
                    <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>
210
211
                <div class="form-group">
                    <label for="limit_mailmailinglist" class="col-sm-3 control-label">{tmpl_var name='limit_mailmailinglist_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
212
                    <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>
213
214
                <div class="form-group">
                    <label for="limit_mailforward" class="col-sm-3 control-label">{tmpl_var name='limit_mailforward_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
215
                    <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>
216
217
                <div class="form-group">
                    <label for="limit_mailcatchall" class="col-sm-3 control-label">{tmpl_var name='limit_mailcatchall_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
218
                    <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>
219
220
                <div class="form-group">
                    <label for="limit_mailrouting" class="col-sm-3 control-label">{tmpl_var name='limit_mailrouting_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
221
                    <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>
222
223
                <div class="form-group">
                    <label for="limit_mailfilter" class="col-sm-3 control-label">{tmpl_var name='limit_mailfilter_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
224
                    <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>
225
226
                <div class="form-group">
                    <label for="limit_fetchmail" class="col-sm-3 control-label">{tmpl_var name='limit_fetchmail_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
227
                    <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>
228
229
                <div class="form-group">
                    <label for="limit_mailquota" class="col-sm-3 control-label">{tmpl_var name='limit_mailquota_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
230
                    <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">&nbsp;MB
231
232
233
                </div></div>
                <div class="form-group">
                    <label for="limit_spamfilter_wblist" class="col-sm-3 control-label">{tmpl_var name='limit_spamfilter_wblist_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
234
                    <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>
235
236
                <div class="form-group">
                    <label for="limit_spamfilter_user" class="col-sm-3 control-label">{tmpl_var name='limit_spamfilter_user_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
237
                    <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>
238
239
                <div class="form-group">
                    <label for="limit_spamfilter_policy" class="col-sm-3 control-label">{tmpl_var name='limit_spamfilter_policy_txt'}</label>
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
                    <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>
				</div>
      </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingXMPP">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseXMPP" aria-expanded="false" aria-controls="collapseXMPP">
          {tmpl_var name='xmpp_limits_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseXMPP" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingXMPP">
      <div class="panel-body">
				<div class="form-group">
255
256
257
258
259
260
261
                    <label for="xmpp_servers" class="col-sm-3 control-label">{tmpl_var name='xmpp_servers_txt'}</label>
                    <div class="col-sm-9"><select data-placeholder="{tmpl_var name='xmpp_servers_placeholder'}" multiple name="xmpp_servers[]" id="xmpp_servers" class="form-control">
                        {tmpl_var name='xmpp_servers'}
                    </select></div>
                </div>
                <div class="form-group">
                    <label for="limit_xmpp_domain" class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_domain_txt'}</label>
Michael Fürmann's avatar
Michael Fürmann committed
262
                    <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>
263
264
                <div class="form-group">
                    <label for="limit_xmpp_user" class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_user_txt'}</label>
Michael Fürmann's avatar
Michael Fürmann committed
265
266
                    <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>
                <!--<div class="form-group">
267
268
269
270
                    <label class="col-sm-3 control-label">{tmpl_var name='xmpp_auth_options_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='xmpp_auth_options'}
                    </div>
Michael Fürmann's avatar
Michael Fürmann committed
271
                </div>-->
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_muc_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_muc'}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_pastebin_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_pastebin'}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_httparchive_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_httparchive'}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_anon_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_anon'}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_vjud_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_vjud'}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_proxy_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_proxy'}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">{tmpl_var name='limit_xmpp_status_txt'}</label>
                    <div class="col-sm-9">
                        {tmpl_var name='limit_xmpp_status'}
                    </div>
                </div>
314
315
316
317
318
319
320
321
322
323
324
325
326
327
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingDB">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseDB" aria-expanded="false" aria-controls="collapseDB">
          {tmpl_var name='database_limits_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseDB" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingDB">
      <div class="panel-body">
				<div class="form-group">
328
329
                    <label for="db_servers" class="col-sm-3 control-label">{tmpl_var name='db_servers_txt'}</label>
                    <div class="col-sm-9"><select data-placeholder="{tmpl_var name='db_servers_placeholder'}" multiple name="db_servers[]" id="db_servers" class="form-control">
330
                        {tmpl_var name='db_servers'}
331
332
                    </select></div>
                </div>
333
334
                <div class="form-group">
                    <label for="limit_database" class="col-sm-3 control-label">{tmpl_var name='limit_database_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
335
                    <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>
336
337
				<div class="form-group">
					<label for="limit_database_quota" class="col-sm-3 control-label">{tmpl_var name='limit_database_quota_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
338
					<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">&nbsp;MB
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
					</div>
				</div>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingCron">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseCron" aria-expanded="false" aria-controls="collapseCron">
          {tmpl_var name='cron_job_limits_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseCron" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingCron">
      <div class="panel-body">
				<div class="form-group">
355
                    <label for="limit_cron" class="col-sm-3 control-label">{tmpl_var name='limit_cron_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
356
                    <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>
357
358
359
                <div class="form-group">
                    <label for="limit_cron_type" class="col-sm-3 control-label">{tmpl_var name='limit_cron_type_txt'}</label>
                    <div class="col-sm-9"><select name="limit_cron_type" id="limit_cron_type" class="form-control">
360
                        {tmpl_var name='limit_cron_type'}
361
362
                    </select></div>
                </div>
363
364
                <div class="form-group">
                    <label for="limit_cron_frequency" class="col-sm-3 control-label">{tmpl_var name='limit_cron_frequency_txt'}</label>
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
                    <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>
				</div>
            
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingDNS">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseDNS" aria-expanded="false" aria-controls="collapseDNS">
          {tmpl_var name='dns_servers_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseDNS" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingDNS">
      <div class="panel-body">
				<div class="form-group">
382
383
                    <label for="dns_servers" class="col-sm-3 control-label">{tmpl_var name='dns_servers_txt'}</label>
                    <div class="col-sm-9"><select data-placeholder="{tmpl_var name='dns_servers_placeholder'}" multiple name="dns_servers[]" id="dns_servers" class="form-control">
384
                        {tmpl_var name='dns_servers'}
385
386
                    </select></div>
                </div>
387
388
                <div class="form-group">
                    <label for="limit_dns_zone" class="col-sm-3 control-label">{tmpl_var name='limit_dns_zone_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
389
                    <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>
390
391
392
				<div class="form-group">
                    <label for="default_slave_dnsserver" class="col-sm-3 control-label">{tmpl_var name='default_slave_dnsserver_txt'}</label>
                    <div class="col-sm-9"><select name="default_slave_dnsserver" id="default_slave_dnsserver" class="form-control">
393
                        {tmpl_var name='default_slave_dnsserver'}
394
395
                    </select></div>
                </div>
396
397
                <div class="form-group">
                    <label for="limit_dns_slave_zone" class="col-sm-3 control-label">{tmpl_var name='limit_dns_slave_zone_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
398
                    <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>
399
400
                <div class="form-group">
                    <label for="limit_dns_record" class="col-sm-3 control-label">{tmpl_var name='limit_dns_record_txt'}</label>
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
                    <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>
				</div>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingVM">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseVM" aria-expanded="false" aria-controls="collapseVM">
          {tmpl_var name='virtualization_limits_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseVM" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingVM">
      <div class="panel-body">
				<div class="form-group">
417
                    <label for="limit_openvz_vm" class="col-sm-3 control-label">{tmpl_var name='limit_openvz_vm_txt'}</label>
Marius Cramer's avatar
Marius Cramer committed
418
                    <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>
419
420
421
                <div class="form-group">
                    <label for="limit_openvz_vm_template_id" class="col-sm-3 control-label">{tmpl_var name='limit_openvz_vm_template_id_txt'}</label>
                    <div class="col-sm-9"><select name="limit_openvz_vm_template_id" id="limit_openvz_vm_template_id" class="form-control">
422
                        {tmpl_var name='limit_openvz_vm_template_id'}
423
424
                    </select></div>
                </div>
425
426
427
428
429
430
431
432
433
434
435
436
437
438
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingAPS">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseAPS" aria-expanded="false" aria-controls="collapseAPS">
          {tmpl_var name='aps_limits_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseAPS" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingAPS">
      <div class="panel-body">
				<div class="form-group">
439
                    <label for="limit_aps" class="col-sm-3 control-label">{tmpl_var name='limit_aps_txt'}</label>
440
441
442
443
444
445
                    <div class="col-sm-9"><input type="text" name="limit_aps" id="limit_aps" value="{tmpl_var name='limit_aps'}" class="form-control" /></div>
				</div>
      </div>
    </div>
  </div>
</div>
446
        <input type="hidden" name="id" value="{tmpl_var name='id'}">
latham's avatar
latham committed
447

448
        <div class="clear"><div class="right">
Marius Cramer's avatar
Marius Cramer committed
449
            <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="client/client_edit.php">{tmpl_var name='btn_save_txt'}</button>
Marius Cramer's avatar
Marius Cramer committed
450
            <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="client/client_list.php">{tmpl_var name='btn_cancel_txt'}</button>
451
        </div></div>
452
    </div>
latham's avatar
latham committed
453

454
</div>
455

456
457
458
459
460
461
<script type="text/javascript">
<!--
function custom_template_selected() {
    return ($('#template_master').val() == '0' ? true : false);
}

462
$('#template_additional_list').find('li > a').click(function(e) {
463
    e.preventDefault();
Marius Cramer's avatar
Marius Cramer committed
464
    ISPConfig.delAdditionalTemplate($(this).parent().attr('rel'));
465
466
});

467
$('div.panel_client')
468
469
470
        .find('div.pnl_formsarea')
        .find('fieldset')
        .find('input,select,button')
471
        .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,#parent_client_id,#reseller')
472
473
474
475
476
477
478
479
480
481
482
        .click(function(e) {
            if(custom_template_selected()) return true;
            e.preventDefault();
            alert('{tmpl_var name="err_msg_master_tpl_set"}');
        })
        .focus(function() {
            if(custom_template_selected()) return true;
            $(this).blur();
        });

//-->
483
</script>