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

@@ -38,8 +38,11 @@ return array(
),
'pathedit' => array(
'label' => $lng['emails']['iscatchall'],
'type' => 'yesno',
'yesno_var' => $iscatchall
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array()
)
)
)

View File

@@ -31,8 +31,11 @@ return array(
),
'active' => array(
'label' => $lng['autoresponder']['active'],
'type' => 'yesno',
'yesno_var' => $isactive,
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array('1')
),
'date_from' => array(
'label' => $lng['autoresponder']['date_from'] . " (dd-mm-yyyy)",

View File

@@ -31,8 +31,11 @@ return array(
),
'active' => array(
'label' => $lng['autoresponder']['active'],
'type' => 'yesno',
'yesno_var' => $isactive,
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array($row['enabled'])
),
'date_from' => array(
'label' => $lng['autoresponder']['date_from'] . " (dd-mm-yyyy)",