diff --git a/e107_core/shortcodes/batch/usersettings_shortcodes.php b/e107_core/shortcodes/batch/usersettings_shortcodes.php index c748295a7..8443a37ed 100755 --- a/e107_core/shortcodes/batch/usersettings_shortcodes.php +++ b/e107_core/shortcodes/batch/usersettings_shortcodes.php @@ -212,7 +212,7 @@ class usersettings_shortcodes extends e_shortcode if($parm == 'radio') { $options['enabled'] = array('title' => LAN_USER_84); - return "
".e107::getForm()->radio_switch("hideemail", $this->var['user_hideemail'],LAN_YES,LAN_NO,$options)."
"; + return "
".e107::getForm()->radio_switch("hideemail", $this->var['user_hideemail'],LAN_YES,LAN_NO,$options)."
"; } } @@ -328,7 +328,7 @@ class usersettings_shortcodes extends e_shortcode if (e107::getPref('photo_upload') && FILE_UPLOADS) { - $text .= "
"; + $text .= "
"; $text .= e107::getForm()->checkbox('user_delete_photo', 1, false, LAN_USET_16); $text .= "
"; diff --git a/e107_core/templates/contact_template.php b/e107_core/templates/contact_template.php index 5f983aeea..c81a7e749 100644 --- a/e107_core/templates/contact_template.php +++ b/e107_core/templates/contact_template.php @@ -52,7 +52,7 @@ $CONTACT_TEMPLATE['menu'] = ' {CONTACT_BODY=rows=5&cols=30}
-
+
{CONTACT_GDPR_LINK}
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 .= "