Minor change delete_course.php to Template class

remotes/angel/1.11.x
José Loguercio 8 years ago
parent abc1ae73af
commit 423937b33b
  1. 10
      main/course_info/delete_course.php

@ -46,7 +46,9 @@ if (isset($_GET['delete']) && $_GET['delete'] === 'yes') {
get_lang('Yes').'</a></p>';
$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();

Loading…
Cancel
Save