1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Fix formatting of checkboxes in usersettings form.

This commit is contained in:
Cameron 2016-11-27 10:59:26 -08:00
parent a2b4d968e8
commit 77f2255dfd

View File

@ -80,6 +80,11 @@ class usersettings_front // Begin Usersettings rewrite.
$usersettings_shortcodes = e107::getScBatch('usersettings');
$usersettings_shortcodes->wrapper('usersettings/edit');
e107::css('inline', "
.usersettings-form .col-sm-9 .checkboxes { margin-left:20px }
");
}
else
{
@ -883,7 +888,7 @@ class usersettings_front // Begin Usersettings rewrite.
}
}
$text = '<form method="post" action="'.vartrue($usersettings_form_action,e_REQUEST_URI).'" id="dataform" class="form-horizontal" enctype="multipart/form-data" autocomplete="off">';
$text = '<form method="post" action="'.vartrue($usersettings_form_action,e_REQUEST_URI).'" id="dataform" class="usersettings-form form-horizontal" enctype="multipart/form-data" autocomplete="off">';
//$text = (is_numeric($_uid) ? $rs->form_open("post", e_SELF."?".e_QUERY, "dataform", "", " class='form-horizontal' role='form' enctype='multipart/form-data'") : $rs->form_open("post", e_SELF, "dataform", "", " class='form-horizontal' role='form' enctype='multipart/form-data'"));