diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index a179d31a5a..bd24d70107 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -5484,11 +5484,11 @@ div#chat-remote-video video { box-shadow: none; } -#registration #status .radio{ +#registration #status-group .radio{ display: inline-block; position: relative; } -#registration #status .radio label p{ +#registration #status-group .radio label p{ text-align: center; padding-top: 5px; padding-bottom: 5px; diff --git a/main/admin/user_add.php b/main/admin/user_add.php index f38f1abe95..d1cd0ff48a 100755 --- a/main/admin/user_add.php +++ b/main/admin/user_add.php @@ -19,29 +19,6 @@ $is_platform_admin = api_is_platform_admin() ? 1 : 0; $message = null; $htmlHeadXtra[] = api_get_password_checker_js('#username', '#password'); - -$checkPass = api_get_setting('allow_strength_pass_checker'); -if ($checkPass == 'true') { - $htmlHeadXtra[] = ' - '; -} $htmlHeadXtra[] = api_get_css_asset('cropper/dist/cropper.min.css'); $htmlHeadXtra[] = api_get_asset('cropper/dist/cropper.min.js'); $htmlHeadXtra[] = ' @@ -247,15 +224,6 @@ $form->addGroup($group, 'password', get_lang('Password')); $form->addPasswordRule('password', 'password'); $form->addGroupRule('password', get_lang('EnterPassword'), 'required', null, 1); -if ($checkPass) { - $strengthLabels = ' -
- - - '; - $form->addElement('label', null, $strengthLabels); -} - // Status $status = []; $status[COURSEMANAGER] = get_lang('Teacher'); diff --git a/main/exercise/exercise_report.php b/main/exercise/exercise_report.php index e0b7154310..4f16228894 100755 --- a/main/exercise/exercise_report.php +++ b/main/exercise/exercise_report.php @@ -587,7 +587,14 @@ if ($is_allowedToEdit || $is_tutor) { $column_model = [ ['name' => 'firstname', 'index' => 'firstname', 'width' => '50', 'align' => 'left', 'search' => 'true'], ['name' => 'lastname', 'index' => 'lastname', 'width' => '50', 'align' => 'left', 'formatter' => 'action_formatter', 'search' => 'true'], - ['name' => 'login', 'index' => 'username', 'width' => '40', 'align' => 'left', 'search' => 'true', 'hidden' => 'true'], + [ + 'name' => 'login', + 'index' => 'username', + 'width' => '40', + 'align' => 'left', + 'search' => 'true', + 'hidden' => api_get_configuration_value('exercise_attempts_report_show_username') ? 'false' : 'true', + ], ['name' => 'group_name', 'index' => 'group_id', 'width' => '40', 'align' => 'left', 'search' => 'true', 'stype' => 'select', //for the bottom bar 'searchoptions' => [ diff --git a/main/inc/lib/pear/HTML/QuickForm/group.php b/main/inc/lib/pear/HTML/QuickForm/group.php index 2957ce1df6..0f090aed30 100755 --- a/main/inc/lib/pear/HTML/QuickForm/group.php +++ b/main/inc/lib/pear/HTML/QuickForm/group.php @@ -568,7 +568,7 @@ class HTML_QuickForm_group extends HTML_QuickForm_element break; case FormValidator::LAYOUT_HORIZONTAL: return ' -