Replaced yes/no with checkboxes, refs #645 @1h0m

This commit is contained in:
Andreas Burchert (scarya)
2011-03-29 19:15:07 +02:00
parent 1730088ab1
commit df6441ef80
9 changed files with 65 additions and 26 deletions

View File

@@ -33,8 +33,11 @@ return array(
),
'options_indexes' => array(
'label' => $lng['extras']['directory_browsing'],
'type' => 'yesno',
'yesno_var' => $options_indexes
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array()
),
'error404path' => array(
'label' => $lng['extras']['errordocument404path'],
@@ -56,8 +59,11 @@ return array(
'options_cgi' => array(
'visible' => ($cperlenabled == 1),
'label' => $lng['extras']['execute_perl'],
'type' => 'yesno',
'yesno_var' => $options_cgi
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array()
)
)
)

View File

@@ -31,8 +31,11 @@ return array(
),
'options_indexes' => array(
'label' => $lng['extras']['directory_browsing'],
'type' => 'yesno',
'yesno_var' => $options_indexes
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array($result['options_indexes'])
),
'error404path' => array(
'label' => $lng['extras']['errordocument404path'],
@@ -57,8 +60,11 @@ return array(
'options_cgi' => array(
'visible' => ($cperlenabled == 1),
'label' => $lng['extras']['execute_perl'],
'type' => 'yesno',
'yesno_var' => $options_cgi
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array($result['options_cgi'])
)
)
)