From: ethem Date: Tue, 31 Oct 2006 19:24:10 +0000 (+0000) Subject: Show notice at bottom. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7bb8485d6e75b28e30c2f13515096611dffdd0f7;p=moodle.git Show notice at bottom. --- diff --git a/enrol/authorize/uploadcsv.php b/enrol/authorize/uploadcsv.php index 5b7b1bb8f7..76b1bf00ee 100644 --- a/enrol/authorize/uploadcsv.php +++ b/enrol/authorize/uploadcsv.php @@ -46,7 +46,7 @@ function authorize_process_csv($filename) { - global $CFG; + global $CFG, $SITE; /// We need these fields $myfields = array( @@ -192,9 +192,6 @@ function authorize_process_csv($filename) } fclose($handle); -/// Show result - notice("Done...
Imported: $imported
Updated: $updated
Ignored: $ignored"); - /// Send email to admin if (!empty($ignoredlines)) { $admin = get_admin(); @@ -205,6 +202,9 @@ function authorize_process_csv($filename) if (!empty($sendem)) { send_welcome_messages($sendem); } + +/// Show result + notice("Done...
Imported: $imported
Updated: $updated
Ignored: $ignored"); } ?>