MDL-51283 core_tag: Allow each tag area to set 'showstandard'

This commit is contained in:
Marina Glancy
2016-02-02 17:31:17 +08:00
parent e11d7380c2
commit 4be9c7ad99
11 changed files with 160 additions and 28 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
if (core_tag_tag::is_enabled('core', 'user') and empty($USER->newadminuser)) {
$mform->addElement('header', 'moodle_interests', get_string('interests'));
$mform->addElement('tags', 'interests', get_string('interestslist'),
array('display' => 'noofficial', 'itemtype' => 'user', 'component' => 'core'));
array('itemtype' => 'user', 'component' => 'core'));
$mform->addHelpButton('interests', 'interestslist');
}