mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions

This commit is contained in:
samhemelryk 2009-09-24 09:03:16 +00:00
parent 663db34daa
commit b3f00cba49
2 changed files with 12 additions and 2 deletions

View File

@ -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);
?>
<form id="form" method="post" action="lesson.php" class="addform">
<fieldset class="invisiblefieldset fieldsetfix">

View File

@ -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);
?>
<form id="form" method="post" action="lesson.php" class="addform">
<fieldset class="invisiblefieldset fieldsetfix">