MDL-69773 block_section_links: Add an option to display section name

This commit is contained in:
Mikhail Golenkov 2020-11-24 11:33:27 +11:00
parent c8d33eb9ce
commit 53663f2ea1
8 changed files with 75 additions and 4 deletions

View file

@ -48,4 +48,9 @@ if ($ADMIN->fulltree) {
get_string('incby'.$i.'_help', 'block_section_links'),
$selected[$i][1], $increments));
}
$settings->add(new admin_setting_configcheckbox('block_section_links/showsectionname',
get_string('showsectionname', 'block_section_links'),
get_string('showsectionname_help', 'block_section_links'),
0));
}