From 035f3a4f57fd60a9a66f79eb720e025ce883bea3 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 22 Sep 2010 08:52:02 +0000 Subject: [PATCH] course-report-progress MDL-19794 Fixed up deprecated calls --- course/report/progress/index.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/course/report/progress/index.php b/course/report/progress/index.php index 122ea93b56c..e18be6cd385 100644 --- a/course/report/progress/index.php +++ b/course/report/progress/index.php @@ -98,11 +98,11 @@ $grandtotal = $completion->get_num_tracked_users('', array(), $group); // If no users in this course what-so-ever if (!$grandtotal) { - print_box_start('errorbox errorboxcontent boxaligncenter boxwidthnormal'); - print '

'.get_string('err_nousers','completion').'

'; - print '

'.get_string('continue').'

'; - print_box_end(); - print_footer($course); + echo $OUTPUT->box_start('errorbox errorboxcontent boxaligncenter boxwidthnormal'); + echo '

'.get_string('err_nousers','completion').'

'; + echo '

'.get_string('continue').'

'; + echo $OUTPUT->box_end(); + echo $OUTPUT->footer(); exit; } @@ -239,8 +239,8 @@ if(!$csv) { print $pagingbar; if (!$total) { - print_heading(get_string('nothingtodisplay')); - print_footer($course); + echo $OUTPUT->heading(get_string('nothingtodisplay')); + echo $OUTPUT->footer(); exit; }