-
Improvement
-
Resolution: Fixed
-
Minor
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-68041-master-rev2 -
As part of the integration deeper integration of Safe Exam Browser, we have a requirement to allow students to change language when solving a quiz restricted by SEB.
We'd like to introduce new settings to make core secure mode a bit more flexible and let admins to enable/disable language selection and username display for secure view.
The two new settings added are found in Appearance > Theme Settings.
langmenuinsecurelayout, Display language menu in secure layout.
logininfoinsecurelayout, Display logged-in user in secure layout.
This has the added benefit of allowing the user to change the language when the page layout set to secure. Also for the current logged in user's name to be displayed in the top right corner of the screen.
As there are options to show the username during a quiz attempt itself, this will allow the name to be present on the view, review, summary and any other page on the site when the secure page layout is set.
The language selection menu is new function core_renderer->secure_layout_language_menu(), this renders a custom_menu(), yet without passing any $custommenuitems only the language selection will be displayed.