From 423937b33b281db5739cd4239b68e919051a2dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Loguercio?= Date: Fri, 30 Sep 2016 18:47:37 -0500 Subject: [PATCH] Minor change delete_course.php to Template class --- main/course_info/delete_course.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main/course_info/delete_course.php b/main/course_info/delete_course.php index 4a2d322de5..3fe7b60a86 100755 --- a/main/course_info/delete_course.php +++ b/main/course_info/delete_course.php @@ -46,7 +46,9 @@ if (isset($_GET['delete']) && $_GET['delete'] === 'yes') { get_lang('Yes').'

'; $interbreadcrumb[] = array('url' => 'maintenance.php', 'name' => get_lang('Maintenance')); } -Display :: display_header($tool_name, 'Settings'); -echo Display::page_header($tool_name); -Display::display_warning_message($message, false); -Display :: display_footer(); + +$tpl = new Template($tool_name); + +$tpl->assign('content', Display::return_message($message, 'warning', false)); +$tpl->display_one_col_template(); +