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

@@ -63,8 +63,11 @@ return array(
'ssl_redirect' => array(
'visible' => ($settings['system']['use_ssl'] == '1' ? true : false),
'label' => 'SSL Redirect',
'type' => 'yesno',
'yesno_var' => $ssl_redirect
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array($result['ssl_redirect'])
),
'openbasedir_path' => array(
'label' => $lng['domain']['openbasedirpath'],