1
0
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:
Cameron
2020-05-13 13:31:43 -07:00
parent e86d6272fa
commit bf00c3ad83
6 changed files with 23 additions and 21 deletions

View File

@@ -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>";

View File

@@ -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>