mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
|
@ -257,11 +257,7 @@ class question_category_object {
|
|||
public function output_edit_lists() {
|
||||
global $OUTPUT;
|
||||
|
||||
$helpicon = new moodle_help_icon();
|
||||
$helpicon->text = get_string('editcategories', 'quiz');
|
||||
$helpicon->page = 'categories';
|
||||
$helpicon->module = 'question';
|
||||
echo $OUTPUT->heading_with_help($helpicon);
|
||||
echo $OUTPUT->heading_with_help(get_string('editcategories', 'quiz'), 'categories', 'question');
|
||||
|
||||
foreach ($this->editlists as $context => $list){
|
||||
$listhtml = $list->to_html(0, array('str'=>$this->str));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue