diff --git a/mod/lesson/action/addbranchtable.php b/mod/lesson/action/addbranchtable.php index f2b7a3595d0..3a1460b4e2a 100644 --- a/mod/lesson/action/addbranchtable.php +++ b/mod/lesson/action/addbranchtable.php @@ -32,7 +32,12 @@ } } // give teacher a blank proforma - print_heading_with_help(get_string("addabranchtable", "lesson"), "overview", "lesson"); + $helpicon = new moodle_help_icon(); + $helpicon->text = get_string("addabranchtable", "lesson"); + $helpicon->page = "overview"; + $helpicon->module = "lesson"; + echo $OUTPUT->heading_with_help($helpicon); + ?>
diff --git a/mod/lesson/action/addpage.php b/mod/lesson/action/addpage.php index 06c2152c106..964f7e10ae3 100644 --- a/mod/lesson/action/addpage.php +++ b/mod/lesson/action/addpage.php @@ -42,7 +42,12 @@ } // give teacher a blank proforma - print_heading_with_help(get_string("addaquestionpage", "lesson"), "overview", "lesson"); + $helpicon = new moodle_help_icon(); + $helpicon->text = get_string("addaquestionpage", "lesson"); + $helpicon->page = "overview"; + $helpicon->module = "lesson"; + echo $OUTPUT->heading_with_help($helpicon); + ?>