mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Breadcrumbs: admin/settings changes
- Added admin setting for controlling visibility of activities in the breadcrumb trail. Author: Matt Clarkson <mattc@catalyst.net.nz>
This commit is contained in:
parent
06dfa0cc33
commit
d91f99a655
@ -10,6 +10,12 @@ $temp->add(new admin_setting_configcheckbox('allowuserthemes', get_string('allow
|
||||
$temp->add(new admin_setting_configcheckbox('allowcoursethemes', get_string('allowcoursethemes', 'admin'), get_string('configallowcoursethemes', 'admin'), 0));
|
||||
$temp->add(new admin_setting_configcheckbox('allowuserblockhiding', get_string('allowuserblockhiding', 'admin'), get_string('configallowuserblockhiding', 'admin'), 1));
|
||||
$temp->add(new admin_setting_configcheckbox('showblocksonmodpages', get_string('showblocksonmodpages', 'admin'), get_string('configshowblocksonmodpages', 'admin'), 0));
|
||||
$temp->add(new admin_setting_configselect('hideactivitytypecrumb', get_string('hideactivitytypecrumb', 'admin'), get_string('confighideactivitytypecrumb', 'admin'), 0,
|
||||
array(
|
||||
0 => get_string('hidefromnone', 'admin'),
|
||||
1 => get_string('hidefromstudents', 'admin'),
|
||||
2 => get_string('hidefromall', 'admin')
|
||||
)));
|
||||
$ADMIN->add('themes', $temp);
|
||||
$ADMIN->add('themes', new admin_externalpage('themeselector', get_string('themeselector','admin'), $CFG->wwwroot . '/theme/index.php'));
|
||||
|
||||
|
@ -108,6 +108,7 @@ $string['configgdversion'] = 'Indicate the version of GD that is installed. The
|
||||
$string['configgradebookroles'] = 'This setting allows you to control who appears on the gradebook. Users need to have at least one of these roles in a course to be shown in the gradebook for that course.';
|
||||
$string['configguestroleid'] = 'This role is automatically assigned to the guest user. It is also temporarily assigned to not enrolled users when they enter course that allows guests without password. Please verify that the role has moodle/legacy:guest and moodle/course:view capability.';
|
||||
$string['confighiddenuserfields'] = 'Select which user infomation fields you wish to hide from other users other than course teachers/admins. This will increase student privacy. Hold CTRL key to select multiple fields.';
|
||||
$string['confighideactivitytypecrumb'] = 'Select from whom to hide the activity type (e.g. Quizzes) crumb in the breadcrumb trail displayed for activity modules.';
|
||||
$string['confightmleditor'] = 'Choose whether or not to allow use of the embedded HTML text editor. Even if you choose allow, this editor will only appear when the user is using a compatible web browser. Users can also choose not to use it.';
|
||||
$string['configidnumber'] = 'This option specifies whether (a) Users are not be asked for an ID number at all, (b) Users are asked for an ID number but can leave it blank or (c) Users are asked for an ID Number and cannot leave it blank. If given the User\'s ID number is displayed in their Profile.';
|
||||
$string['configintcachemax'] = 'For internal cache only. Maximum number of records to keep in the cache. Recommended value: 50. Use lower values to reduce memory usage.';
|
||||
@ -313,6 +314,10 @@ $string['helpupcominglookahead'] = 'How many days in the future does the calenda
|
||||
$string['helpupcomingmaxevents'] = 'How many (maximum) upcoming events are shown to users by default?';
|
||||
$string['helpweekenddays'] = 'Which days of the week are treated as \"weekend\" and shown with a different colour?';
|
||||
$string['hiddenuserfields'] = 'Hide user fields';
|
||||
$string['hideactivitytypecrumb'] = 'Hide activity type crumb';
|
||||
$string['hidefromall'] = 'Hide from all users';
|
||||
$string['hidefromnone'] = 'Hide from nobody';
|
||||
$string['hidefromstudents'] = 'Hide from students';
|
||||
$string['htmleditor'] = 'HTML Editor';
|
||||
$string['http'] = 'HTTP';
|
||||
$string['httpsecurity'] = 'HTTP security';
|
||||
|
Loading…
x
Reference in New Issue
Block a user