Skip to content

Commit c65fdb2

Browse files
author
Till Brehm
committed
Improvement for #5635
1 parent 92eeb89 commit c65fdb2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

interface/web/client/form/client.tform.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@
14451445
'datatype' => 'VARCHAR',
14461446
'formtype' => 'SELECT',
14471447
'default' => '',
1448+
'valuelimit' => 'client:limit_cron_type',
14481449
'value' => array('full' => 'Full Cron', 'chrooted' => 'Chrooted Cron', 'url' => 'URL Cron')
14491450
),
14501451
'limit_cron_frequency' => array (
@@ -1498,6 +1499,7 @@
14981499
'keyfield'=> 'template_id',
14991500
'valuefield'=> 'template_name'
15001501
),
1502+
'valuelimit' => 'client:limit_openvz_vm_template_id',
15011503
'value' => array(0 => ' ')
15021504
),
15031505
'limit_aps' => array (

interface/web/client/form/client_template.tform.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@
849849
'datatype' => 'VARCHAR',
850850
'formtype' => 'SELECT',
851851
'default' => '',
852+
'valuelimit' => 'client:limit_cron_type',
852853
'value' => array('full' => 'Full Cron', 'chrooted' => 'Chrooted Cron', 'url' => 'URL Cron')
853854
),
854855
'limit_cron_frequency' => array (
@@ -902,6 +903,7 @@
902903
'keyfield'=> 'template_id',
903904
'valuefield'=> 'template_name'
904905
),
906+
'valuelimit' => 'client:limit_openvz_vm_template_id',
905907
'value' => array(0 => ' ')
906908
),
907909
'limit_aps' => array (

0 commit comments

Comments
 (0)