+
diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index 0564650c1..422aa5841 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -2429,7 +2429,7 @@ class e_form
}
- $labelClass = (!empty($options['inline'])) ? 'checkbox-inline' : 'checkbox';
+ $labelClass = (!empty($options['inline'])) ? 'checkbox-inline' : 'checkbox form-check';
$labelTitle = '';
$options = $this->format_options('checkbox', $name, $options);
@@ -2459,7 +2459,7 @@ class e_form
$post = (vartrue($options['label'])) ? "
".$options['label']."" : "";
unset($options['label']); // not to be used as attribute;
- $text .= "
get_attributes($options, $name, $value)." />";
+ $text .= "
get_attributes($options, $name, $value)." />";
return $pre.$text.$post;
}
@@ -2515,13 +2515,13 @@ class e_form
// return print_a($checked,true);
if(isset($options['list']) && $options['list'])
{
- return "
";
+ return "
";
}
if(!empty($text))
{
- return "
".implode("",$text)."
";
+ return "
".implode("",$text)."
";
}
return $text;
@@ -2631,14 +2631,14 @@ class e_form
// return print_a($options,true);
if($labelFound) // Bootstrap compatible markup
{
- $defaultClass = (deftrue('BOOTSTRAP')) ? 'radio-inline' : 'radio inline';
+ $defaultClass = (deftrue('BOOTSTRAP')) ? 'radio-inline form-check-inline' : 'radio inline';
$dis = (!empty($options['disabled'])) ? " disabled" : "";
$text .= "