From: samhemelryk Date: Thu, 24 Sep 2009 09:03:16 +0000 (+0000) Subject: mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b3f00cba4980e383090713fe85668aee6f4e5a3a;p=moodle.git mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions --- 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); + ?>