You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
3.0 KiB
77 lines
3.0 KiB
15 years ago
|
<?php
|
||
15 years ago
|
/* For licensing terms, see /license.txt */
|
||
14 years ago
|
/**
|
||
|
* @author Created on 18 October 2006 by Elixir Interactive http://www.elixir-interactive.com
|
||
|
*/
|
||
8 years ago
|
require_once __DIR__.'/../inc/global.inc.php';
|
||
8 years ago
|
$current_course_tool = TOOL_COURSE_MAINTENANCE;
|
||
15 years ago
|
$this_section = SECTION_COURSES;
|
||
13 years ago
|
|
||
5 years ago
|
$nameTools = get_lang('Backup and import and import');
|
||
13 years ago
|
api_protect_course_script(true);
|
||
15 years ago
|
api_block_anonymous_users();
|
||
13 years ago
|
|
||
7 years ago
|
// Check access rights (only teachers are allowed here)
|
||
|
if (!api_is_allowed_to_edit()) {
|
||
|
api_not_allowed(true);
|
||
|
}
|
||
|
|
||
|
Display::display_header($nameTools);
|
||
13 years ago
|
echo Display::page_header($nameTools);
|
||
15 years ago
|
|
||
|
?>
|
||
|
|
||
9 years ago
|
<div class="sectiontitle">
|
||
5 years ago
|
<?php Display::display_icon('save_import.gif', get_lang('Backup and import and import')); ?>
|
||
|
<?php echo get_lang('Backup and import and import'); ?>
|
||
9 years ago
|
</div>
|
||
15 years ago
|
<div class="sectioncomment">
|
||
9 years ago
|
<ul>
|
||
7 years ago
|
<li>
|
||
|
<a href="../coursecopy/create_backup.php?<?php echo api_get_cidreq(); ?>">
|
||
5 years ago
|
<?php echo get_lang('Create a backup and import and import'); ?>
|
||
7 years ago
|
</a><br/>
|
||
5 years ago
|
<?php echo get_lang('Create a backup and import and importInfo'); ?>
|
||
9 years ago
|
</li>
|
||
7 years ago
|
<li>
|
||
|
<a href="../coursecopy/import_backup.php?<?php echo api_get_cidreq(); ?>">
|
||
5 years ago
|
<?php echo get_lang('Import backup and import and import'); ?>
|
||
7 years ago
|
</a><br/>
|
||
5 years ago
|
<?php echo get_lang('Import backup and import and importInfo'); ?>
|
||
9 years ago
|
</li>
|
||
7 years ago
|
<li>
|
||
|
<a href="../coursecopy/import_moodle.php?<?php echo api_get_cidreq(); ?>">
|
||
5 years ago
|
<?php echo get_lang('Import from Moodle'); ?>
|
||
7 years ago
|
</a><br/>
|
||
5 years ago
|
<?php echo get_lang('Import from MoodleInfo'); ?>
|
||
9 years ago
|
</li>
|
||
9 years ago
|
</ul>
|
||
15 years ago
|
</div>
|
||
|
|
||
7 years ago
|
<div class="sectiontitle">
|
||
5 years ago
|
<?php Display::display_icon('copy.gif', get_lang('Copy course')); ?>
|
||
7 years ago
|
<a href="../coursecopy/copy_course.php?<?php echo api_get_cidreq(); ?>">
|
||
5 years ago
|
<?php echo get_lang('Copy course'); ?></a>
|
||
7 years ago
|
</div>
|
||
5 years ago
|
<div class="sectioncomment"><?php echo get_lang('DescriptionCopy course'); ?>
|
||
7 years ago
|
</div>
|
||
15 years ago
|
|
||
7 years ago
|
<div class="sectiontitle">
|
||
5 years ago
|
<?php Display::display_icon('tool_delete.gif', get_lang('Empty this course')); ?>
|
||
|
<a href="../coursecopy/Empty this course.php?<?php echo api_get_cidreq(); ?>">
|
||
|
<?php echo get_lang('Empty this course'); ?>
|
||
7 years ago
|
</a>
|
||
|
</div>
|
||
5 years ago
|
<div class="sectioncomment"><?php echo get_lang('This tool empties the course. It removes documents, forums, links. And allows you to select what parts you want to remove or decide to remove the whole.'); ?></div>
|
||
15 years ago
|
|
||
7 years ago
|
<div class="sectiontitle">
|
||
5 years ago
|
<?php Display::display_icon('delete.gif', get_lang('Completely delete this course')); ?>
|
||
|
<a href="../course_info/delete_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('Completely delete this course'); ?>
|
||
7 years ago
|
</a>
|
||
|
</div>
|
||
5 years ago
|
<div class="sectioncomment"><?php echo get_lang('Click on this link for a full removal of the course from the server.<br /><br />Be carefull, there\'s no way back!'); ?></div>
|
||
15 years ago
|
|
||
|
<?php
|
||
7 years ago
|
|
||
15 years ago
|
Display::display_footer();
|