]> git.mjollnir.org Git - moodle.git/commitdiff
enrol MDL-19795 Upgraded call to print_header_with_help
authorsamhemelryk <samhemelryk>
Wed, 30 Sep 2009 06:57:16 +0000 (06:57 +0000)
committersamhemelryk <samhemelryk>
Wed, 30 Sep 2009 06:57:16 +0000 (06:57 +0000)
enrol/authorize/uploadcsv.php

index 8f8ecaa54624fa564f7d0c8e42a1e4b393642b6a..b88a8c43eecdda67ca9200efd7831a044eccf107 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 /// Load libraries
     require_once('../../config.php');
     $PAGE->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()) {