admin MDL-19787 Upgrade deprecated function calls
This commit is contained in:
+12
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user