From b3f00cba4980e383090713fe85668aee6f4e5a3a Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Thu, 24 Sep 2009 09:03:16 +0000 Subject: [PATCH] mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions --- mod/lesson/action/addbranchtable.php | 7 ++++++- mod/lesson/action/addpage.php | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/mod/lesson/action/addbranchtable.php b/mod/lesson/action/addbranchtable.php index f2b7a3595d..3a1460b4e2 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 06c2152c10..964f7e10ae 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); + ?>
-- 2.39.5