mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
enrol MDL-19795 Upgraded call to print_header_with_help
This commit is contained in:
parent
4cdb8d70ae
commit
597887b42f
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user