mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
This commit is contained in:
parent
48a67d9f01
commit
4bcc51185c
113 changed files with 442 additions and 970 deletions
|
@ -175,7 +175,7 @@ class mod_forum_mod_form extends moodleform_mod {
|
|||
//we want the form to display them if they are set.
|
||||
if ($typevalue[0]=='news') {
|
||||
$type->addOption(get_string('namenews', 'forum'), 'news');
|
||||
$type->setHelpButton(array('forumtypenews', get_string('forumtype', 'forum'), 'forum'));
|
||||
$mform->setHelpButton('type', array('forumtypenews', get_string('forumtype', 'forum'), 'forum'));
|
||||
$type->freeze();
|
||||
$type->setPersistantFreeze(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue