maintenance.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * @author Created on 18 October 2006 by Elixir Interactive http://www.elixir-interactive.com
  5. * @package chamilo.course_info
  6. */
  7. ////require_once '../inc/global.inc.php';
  8. $current_course_tool = TOOL_COURSE_MAINTENANCE;
  9. $this_section = SECTION_COURSES;
  10. $nameTools = get_lang('Maintenance');
  11. api_protect_course_script(true);
  12. api_block_anonymous_users();
  13. Display :: display_header($nameTools);
  14. echo Display::page_header($nameTools);
  15. ?>
  16. <div class="sectiontitle">
  17. <?php Display::display_icon('save_import.gif', get_lang('Backup')); ?>&nbsp;&nbsp;
  18. <?php echo get_lang('Backup'); ?>
  19. </div>
  20. <div class="sectioncomment">
  21. <ul>
  22. <li><a href="../coursecopy/create_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('CreateBackup'); ?></a><br/>
  23. <?php echo get_lang('CreateBackupInfo'); ?>
  24. </li>
  25. <li><a href="../coursecopy/import_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('ImportBackup'); ?></a><br/>
  26. <?php echo get_lang('ImportBackupInfo'); ?>
  27. </li>
  28. <li><a href="../coursecopy/import_moodle.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('ImportFromMoodle'); ?></a><br/>
  29. <?php echo get_lang('ImportFromMoodleInfo'); ?>
  30. </li>
  31. </ul>
  32. </div>
  33. <div class="sectiontitle"><?php Display::display_icon('copy.gif', get_lang('CopyCourse')); ?>&nbsp;&nbsp;<a href="../coursecopy/copy_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('CopyCourse'); ?></a></div>
  34. <div class="sectioncomment"><?php echo get_lang('DescriptionCopyCourse'); ?></div>
  35. <div class="sectiontitle"><?php Display::display_icon('tool_delete.gif', get_lang('recycle_course')); ?>&nbsp;&nbsp;<a href="../coursecopy/recycle_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('recycle_course'); ?></a></div>
  36. <div class="sectioncomment"><?php echo get_lang('DescriptionRecycleCourse'); ?></div>
  37. <div class="sectiontitle"><?php Display::display_icon('delete.gif', get_lang('DelCourse')); ?>&nbsp;&nbsp;<a href="../course_info/delete_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('DelCourse'); ?></a></div>
  38. <div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div>
  39. <?php
  40. // Footer
  41. Display::display_footer();