maintenance.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php // $Id: infocours.php 14956 2008-04-20 14:21:32Z yannoo $
  2. /*
  3. ==============================================================================
  4. Dokeos - elearning and course management software
  5. Copyright (c) 2004 Dokeos S.A.
  6. Copyright (c) 2003 Ghent University (UGent)
  7. Copyright (c) 2001 Universite catholique de Louvain (UCL)
  8. Copyright (c) Hugues Peeters
  9. Copyright (c) Roan Embrechts (Vrije Universiteit Brussel)
  10. Copyright (c) Olivier Brouckaert
  11. Copyright (c) Bart Mollet, Hogeschool Gent
  12. For a full list of contributors, see "credits.txt".
  13. The full license can be read in "license.txt".
  14. This program is free software; you can redistribute it and/or
  15. modify it under the terms of the GNU General Public License
  16. as published by the Free Software Foundation; either version 2
  17. of the License, or (at your option) any later version.
  18. See the GNU General Public License for more details.
  19. Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
  20. ==============================================================================
  21. */
  22. /*
  23. * Created on 18 October 2006 by Elixir Interactive http://www.elixir-interactive.com
  24. */
  25. // name of the language file that needs to be included
  26. $language_file = array ('admin','create_course', 'course_info', 'coursebackup');
  27. require ('../inc/global.inc.php');
  28. $this_section = SECTION_COURSES;
  29. $nameTools= get_lang('Maintenance');
  30. api_block_anonymous_users();
  31. Display :: display_header($nameTools);
  32. api_display_tool_title($nameTools);
  33. ?>
  34. <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>
  35. <div class="sectioncomment">
  36. <ul>
  37. <li><a href="../coursecopy/create_backup.php?<?php echo api_get_cidreq();?>"><?php echo get_lang('CreateBackup') ?></a><br/>
  38. <?php echo get_lang('CreateBackupInfo') ?>
  39. </li>
  40. <li><a href="../coursecopy/import_backup.php?<?php echo api_get_cidreq();?>"><?php echo get_lang('ImportBackup') ?></a><br/>
  41. <?php echo get_lang('ImportBackupInfo') ?>
  42. </li>
  43. </ul>
  44. </div>
  45. <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>
  46. <div class="sectioncomment"><?php echo get_lang("DescriptionCopyCourse"); ?></div>
  47. <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>
  48. <div class="sectioncomment"><?php echo get_lang("DescriptionRecycleCourse");?></div>
  49. <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>
  50. <div class="sectioncomment"><?php echo get_lang("DescriptionDeleteCourse"); ?></div>
  51. <?php
  52. // footer
  53. Display::display_footer();
  54. ?>