From 597887b42f40beab374478539907f73172351101 Mon Sep 17 00:00:00 2001
From: samhemelryk <samhemelryk>
Date: Wed, 30 Sep 2009 06:57:16 +0000
Subject: [PATCH] enrol MDL-19795 Upgraded call to print_header_with_help

---
 enrol/authorize/uploadcsv.php | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

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 @@
-<?php // $Id$
+<?php
 
 /// Load libraries
     require_once('../../config.php');
@@ -21,7 +21,12 @@
     $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()) {
-- 
2.39.5