Take values as parameter when editing something

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2015-02-02 19:13:52 +01:00
parent 609bd557c5
commit 72ce20224d
7 changed files with 87 additions and 186 deletions

View File

@@ -21,21 +21,16 @@ return array(
'cronfile' => array(
'label' => 'Cronjob',
'type' => ($change_cronfile == 1 ? 'text' : 'static'),
'value' => $result['cronfile']
),
'isactive' => array(
'label' => $lng['admin']['activated'],
'type' => 'checkbox',
'sublabel' => $lng['panel']['yes'],
'value' => 1,
'attributes' => array(
'checked' => ($result['isactive'] != 0) ? true : false
)
),
'interval_value' => array(
'label' => $lng['cronjob']['cronjobintervalv'],
'type' => 'text',
'value' => $interval_value
'type' => 'text'
),
'interval_interval' => array(
'label' => $lng['cronjob']['cronjobinterval'],