admin MDL-19787 Upgrade deprecated function calls

This commit is contained in:
samhemelryk
2009-09-30 06:32:25 +00:00
parent ceebb2ec5f
commit 9e492db050
7 changed files with 40 additions and 15 deletions
+12 -3
View File
@@ -1,4 +1,4 @@
<?php // $Id$
<?php
/// Bulk user registration script from a comma separated file
/// Returns list of users with their user ids
@@ -106,7 +106,12 @@ if (empty($iid)) {
} else {
admin_externalpage_print_header();
print_heading_with_help(get_string('uploadusers'), 'uploadusers3');
$helpicon = new moodle_help_icon();
$helpicon->text = get_string('uploadusers');
$helpicon->page = 'uploadusers3';
echo $OUTPUT->heading_with_help($helpicon);
$mform->display();
echo $OUTPUT->footer();
die;
@@ -741,7 +746,11 @@ if ($formdata = $mform->is_cancelled()) {
admin_externalpage_print_header();
/// Print the form
print_heading_with_help(get_string('uploaduserspreview', 'admin'), 'uploadusers2');
$helpicon = new moodle_help_icon();
$helpicon->text = get_string('uploaduserspreview', 'admin');
$helpicon->page = 'uploadusers2';
echo $OUTPUT->heading_with_help($helpicon);
$ci = 0;
$ri = 0;