* @author Angel Fernando Quiroz Campos * * @package chamilo.course_info */ require_once __DIR__.'/../inc/global.inc.php'; $current_course_tool = TOOL_COURSE_MAINTENANCE; $this_section = SECTION_COURSES; $nameTools = get_lang('Maintenance'); api_protect_course_script(true); api_block_anonymous_users(); $sessionsCopy = api_get_setting('allow_session_course_copy_for_teachers'); if ($sessionsCopy !== 'true') { api_not_allowed(true); } Display::display_header($nameTools); echo Display::page_subheader( Display::return_icon( 'save_import.gif', get_lang('Backup') ).'  '.get_lang('Backup') ); $url = api_get_path(WEB_CODE_PATH).'coursecopy/copy_course_session_selected.php?'.api_get_cidreq(); $link = Display::url(get_lang('CopyCourse'), $url); ?>