]> git.mjollnir.org Git - moodle.git/commitdiff
mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions
authorsamhemelryk <samhemelryk>
Thu, 24 Sep 2009 09:03:16 +0000 (09:03 +0000)
committersamhemelryk <samhemelryk>
Thu, 24 Sep 2009 09:03:16 +0000 (09:03 +0000)
mod/lesson/action/addbranchtable.php
mod/lesson/action/addpage.php

index f2b7a3595d064051a3648486a7818023bd4c5614..3a1460b4e2a74c2588b661570cdf86921d7ad074 100644 (file)
         }
      }
     // 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">
index 06c2152c106a963db904f7064b5e0d9f0e80d83f..964f7e10ae32f969fce1e8e6569a74d4517ede55 100644 (file)
     }
 
     // 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">