mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +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
|
@ -89,11 +89,7 @@ class random_qtype extends default_questiontype {
|
|||
|
||||
function display_question_editing_page(&$mform, $question, $wizardnow){
|
||||
$heading = $this->get_heading(empty($question->id));
|
||||
$helpicon = new moodle_help_icon();
|
||||
$helpicon->text = $heading;
|
||||
$helpicon->page = $this->name();
|
||||
$helpicon->module = $this->plugin_name();
|
||||
echo $OUTPUT->heading_with_help($helpicon);
|
||||
echo $OUTPUT->heading_with_help($heading, $this->name(), $this->plugin_name());
|
||||
$mform->display();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue