maintenance.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. /**
  8. * Code
  9. */
  10. // Language files that need to be included
  11. $language_file = array('admin','create_course', 'course_info', 'coursebackup');
  12. require_once '../inc/global.inc.php';
  13. $current_course_tool = TOOL_COURSE_MAINTENANCE;
  14. $this_section = SECTION_COURSES;
  15. $nameTools = get_lang('Maintenance');
  16. api_protect_course_script(true);
  17. api_block_anonymous_users();
  18. Display :: display_header($nameTools);
  19. echo Display::page_header($nameTools);
  20. ?>
  21. <div class="sectiontitle"><?php Display::display_icon('save_import.gif', get_lang('backup')); ?>&nbsp;&nbsp;<a href="../coursecopy/backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('backup'); ?></a></div>
  22. <div class="sectioncomment">
  23. <ul>
  24. <li><a href="../coursecopy/create_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('CreateBackup'); ?></a><br/>
  25. <?php echo get_lang('CreateBackupInfo'); ?>
  26. </li>
  27. <li><a href="../coursecopy/import_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('ImportBackup'); ?></a><br/>
  28. <?php echo get_lang('ImportBackupInfo'); ?>
  29. </li>
  30. </ul>
  31. </div>
  32. <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>
  33. <div class="sectioncomment"><?php echo get_lang('DescriptionCopyCourse'); ?></div>
  34. <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>
  35. <div class="sectioncomment"><?php echo get_lang('DescriptionRecycleCourse'); ?></div>
  36. <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>
  37. <div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div>
  38. <?php
  39. // Footer
  40. Display::display_footer();