mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
MDL-73891 admin: Display a notification in manage blocks
An info notification has been added to the "Manage blocks" page to warn admins about the "Unneeded blocks" theme setting.
This commit is contained in:
parent
1d99ba19a2
commit
a9f15ed952
@ -69,6 +69,7 @@
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($strmanageblocks);
|
||||
|
||||
echo $OUTPUT->notification(get_string('noteunneededblocks', 'admin'), 'info');
|
||||
/// Main display starts here
|
||||
|
||||
/// Get and sort the existing blocks
|
||||
|
@ -894,6 +894,7 @@ $string['none'] = 'None';
|
||||
$string['nonewsettings'] = 'No new settings were added during this upgrade.';
|
||||
$string['nonexistentbookmark'] = 'The bookmark you requested does not exist.';
|
||||
$string['nosupportedlogstore'] = 'No supported logstore found';
|
||||
$string['noteunneededblocks'] = 'Note: Blocks set to show will not be listed in the \'Add a block\' menu in a course if they are specified in the theme setting \'Unneeded blocks\'.';
|
||||
$string['maxtimelimit'] = 'Maximum time limit';
|
||||
$string['maxtimelimit_desc'] = 'To restrict the maximum PHP execution time that Moodle will allow without any output being displayed, enter a value in seconds here. 0 means that Moodle default restrictions are used. If you have a front-end server with its own time limit, set this value lower to receive PHP errors in logs. Does not apply to CLI scripts.';
|
||||
$string['moodleapp'] = 'Moodle app';
|
||||
@ -1557,4 +1558,3 @@ $string['modchooserdefault'] = 'Activity chooser default';
|
||||
$string['coursepage'] = 'Course page';
|
||||
$string['mediapluginswf'] = 'Enable .swf filter';
|
||||
$string['mediapluginswfnote'] = 'As a default security measure, normal users should not be allowed to embed swf flash files.';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user