Skip to content
Snippets Groups Projects
Commit 1b946ac8 authored by Alexander Bias's avatar Alexander Bias
Browse files

Bugfix: Add a default title string to this plugin instead of fetching it from...

Bugfix: Add a default title string to this plugin instead of fetching it from block_course_overview which is EOL
parent d301f3fe
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ Changes ...@@ -6,6 +6,7 @@ Changes
### Unreleased ### Unreleased
* 2018-03-06 - Bugfix: Add a default title string to this plugin instead of fetching it from block_course_overview which is EOL.
* 2018-03-06 - Activity icons should be rendered with image_icon() and not with pix_icon anymore. * 2018-03-06 - Activity icons should be rendered with image_icon() and not with pix_icon anymore.
* 2018-03-06 - pix_url() is deprecated in Moodle 3.3, change to pix_icon() and fontawesome icons. * 2018-03-06 - pix_url() is deprecated in Moodle 3.3, change to pix_icon() and fontawesome icons.
* 2017-12-12 - Prepare compatibility for Moodle 3.3, no functionality change. * 2017-12-12 - Prepare compatibility for Moodle 3.3, no functionality change.
......
...@@ -30,6 +30,7 @@ $string['all'] = 'All'; ...@@ -30,6 +30,7 @@ $string['all'] = 'All';
$string['appearancesettingheading'] = 'Appearance'; $string['appearancesettingheading'] = 'Appearance';
$string['blocktitle'] = 'Block title'; $string['blocktitle'] = 'Block title';
$string['blocktitle_desc'] = 'This display name is shown as the title of the block'; $string['blocktitle_desc'] = 'This display name is shown as the title of the block';
$string['blocktitledefault'] = 'Course overview';
$string['category'] = 'Parent category'; $string['category'] = 'Parent category';
$string['categorycoursefilter'] = 'Activate parent category filter'; $string['categorycoursefilter'] = 'Activate parent category filter';
$string['categorycoursefilter_desc'] = 'Allow users to filter courses by parent category'; $string['categorycoursefilter_desc'] = 'Allow users to filter courses by parent category';
......
...@@ -105,7 +105,7 @@ if ($hassiteconfig) { ...@@ -105,7 +105,7 @@ if ($hassiteconfig) {
$settingspage->add(new admin_setting_configtext('block_course_overview_campus/blocktitle', $settingspage->add(new admin_setting_configtext('block_course_overview_campus/blocktitle',
get_string('blocktitle', 'block_course_overview_campus', null, true), get_string('blocktitle', 'block_course_overview_campus', null, true),
get_string('blocktitle_desc', 'block_course_overview_campus', null, true), get_string('blocktitle_desc', 'block_course_overview_campus', null, true),
get_string('pluginname', 'block_course_overview', null, true), get_string('blocktitledefault', 'block_course_overview_campus', null, true),
PARAM_TEXT)); PARAM_TEXT));
// Add settings page to the admin settings category. // Add settings page to the admin settings category.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment