mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Bootstrap 4 Fixes on Usersettings page.
This commit is contained in:
@@ -212,7 +212,7 @@ class usersettings_shortcodes extends e_shortcode
|
||||
if($parm == 'radio')
|
||||
{
|
||||
$options['enabled'] = array('title' => LAN_USER_84);
|
||||
return "<div class='radio'>".e107::getForm()->radio_switch("hideemail", $this->var['user_hideemail'],LAN_YES,LAN_NO,$options)."</div>";
|
||||
return "<div class='radio'>".e107::getForm()->radio_switch("hideemail", $this->var['user_hideemail'],LAN_YES,LAN_NO,$options)."</div>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -328,7 +328,7 @@ class usersettings_shortcodes extends e_shortcode
|
||||
|
||||
if (e107::getPref('photo_upload') && FILE_UPLOADS)
|
||||
{
|
||||
$text .= "<div class='checkbox'>";
|
||||
$text .= "<div class='checkbox form-check'>";
|
||||
$text .= e107::getForm()->checkbox('user_delete_photo', 1, false, LAN_USET_16);
|
||||
$text .= "</div>";
|
||||
|
||||
|
@@ -52,7 +52,7 @@ $CONTACT_TEMPLATE['menu'] = '
|
||||
{CONTACT_BODY=rows=5&cols=30}
|
||||
</div>
|
||||
<div class="form-group"><label for="gdpr">'.LANCONTACT_24.'</label>
|
||||
<div class="checkbox">
|
||||
<div class="checkbox form-check">
|
||||
<label>{CONTACT_GDPR_CHECK} '.LANCONTACT_21.'</label>
|
||||
<div class="help-block">{CONTACT_GDPR_LINK}</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user