maintenance.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_subheader(Display::return_icon('save_import.gif', get_lang('backup')).'&nbsp;&nbsp;'.get_lang('backup'));
  20. ?>
  21. <div class="sectioncomment">
  22. <ul>
  23. <li>
  24. <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>
  28. <a href="../coursecopy/import_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('ImportBackup'); ?></a><br/>
  29. <?php echo get_lang('ImportBackupInfo'); ?>
  30. </li>
  31. <li>
  32. <a href="../coursecopy/copy_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('CopyCourse'); ?></a><br/>
  33. <?php echo get_lang('DescriptionCopyCourse'); ?>
  34. </li>
  35. <li>
  36. <a href="../coursecopy/recycle_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('recycle_course'); ?></a><br/>
  37. <?php echo get_lang('DescriptionRecycleCourse'); ?>
  38. </li>
  39. <li>
  40. <a href="../course_info/delete_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('DelCourse'); ?></a><br/>
  41. <?php echo get_lang('DescriptionDeleteCourse'); ?>
  42. </li>
  43. </ul>
  44. </div>
  45. <?php
  46. // Footer
  47. Display::display_footer();