From: samhemelryk Date: Wed, 30 Sep 2009 06:57:16 +0000 (+0000) Subject: enrol MDL-19795 Upgraded call to print_header_with_help X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=597887b42f40beab374478539907f73172351101;p=moodle.git enrol MDL-19795 Upgraded call to print_header_with_help --- diff --git a/enrol/authorize/uploadcsv.php b/enrol/authorize/uploadcsv.php index 8f8ecaa546..b88a8c43ee 100644 --- a/enrol/authorize/uploadcsv.php +++ b/enrol/authorize/uploadcsv.php @@ -1,4 +1,4 @@ -set_cacheable(false); $PAGE->set_button($managebutton); echo $OUTPUT->header(); - print_heading_with_help($struploadcsv, 'authorize/uploadcsv', 'enrol'); + + $helpicon = new moodle_help_icon(); + $helpicon->text = $struploadcsv; + $helpicon->page = 'authorize/uploadcsv'; + $helpicon->module = 'enrol'; + echo $OUTPUT->heading_with_help($helpicon); /// Handle CSV file if (($form = data_submitted()) && confirm_sesskey()) {