@ -88,9 +88,9 @@ if ((isset ($_POST['action']) && $_POST['action'] == 'course_select_form') || (i
$course = $cb->build();
}
$zip_file = CourseArchiver :: write_course($course);
Display::display_confirmation_message(get_lang('BackupCreated').'< br / > < br / > < a class = "bottom-link" href = "../course_info/download.php?archive='.$zip_file.'" > '.$zip_file.'< / a > ', false);
Display::display_confirmation_message(get_lang('BackupCreated').str_repeat( '< br / > ',3).' < a class = "bottom-link" href = "../course_info/download.php?archive='.$zip_file.'" > '.$zip_file.'< / a > ', false);
//echo '< p > < a href = "../course_home/course_home.php" > < < '.get_lang('CourseHomepage').'< / a > < / p > '; // This is not the preferable way to go to the course homepage.
echo '< p > < a class = "bottom-link" href = "'.api_get_path(WEB_COURSE_PATH).api_get_course_path().'/index.php" > '.get_lang('CourseHomepage').'< / a > < / p > ';
echo '< div style = "width:200px" > < a class = "bottom-link" href = "'.api_get_path(WEB_COURSE_PATH).api_get_course_path().'/index.php" > '.get_lang('CourseHomepage').'< / a > < / div > ';
?>
<!-- Manual download <script language="JavaScript">
setTimeout('download_backup()',2000);