diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 7fb5c0530..4dd2c80e0 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -1292,6 +1292,9 @@ class e_form } } + + $labelClass = (!empty($options['inline'])) ? 'checkbox-inline' : 'checkbox'; + $options = $this->format_options('checkbox', $name, $options); $options['checked'] = $checked; //comes as separate argument just for convenience @@ -1300,7 +1303,9 @@ class e_form $active = ($checked === true) ? " active" : ""; // allow for styling if needed. - $pre = (vartrue($options['label'])) ? "