dokeos-backup
[ class tree: dokeos-backup ] [ index: dokeos-backup ] [ all elements ]

Source for file backup.php

Documentation is available at backup.php

  1. <?php
  2. // $Id: backup.php 12219 2007-05-01 18:46:59Z yannoo $
  3. /*
  4. ============================================================================== 
  5.     Dokeos - elearning and course management software
  6.     
  7.     Copyright (c) 2004 Dokeos S.A.
  8.     Copyright (c) 2003 Ghent University (UGent)
  9.     Copyright (c) 2001 Universite catholique de Louvain (UCL)
  10.     Copyright (c) Bart Mollet (bart.mollet@hogent.be)
  11.     
  12.     For a full list of contributors, see "credits.txt".
  13.     The full license can be read in "license.txt".
  14.     
  15.     This program is free software; you can redistribute it and/or
  16.     modify it under the terms of the GNU General Public License
  17.     as published by the Free Software Foundation; either version 2
  18.     of the License, or (at your option) any later version.
  19.     
  20.     See the GNU General Public License for more details.
  21.     
  22.     Contact address: Dokeos, 44 rue des palais, B-1030 Brussels, Belgium
  23.     Mail: info@dokeos.com
  24. ============================================================================== 
  25. */
  26. /**
  27.  * ==============================================================================
  28.  * Create a backup.
  29.  * 
  30.  * @author Bart Mollet <bart.mollet@hogent.be>
  31.  * @package dokeos.backup
  32.  *  ==============================================================================
  33.  */
  34.  
  35. // name of the language file that needs to be included 
  36. $language_file array('coursebackup','admin');
  37.  
  38. // including the global file
  39. include ('../inc/global.inc.php');
  40.  
  41. // Check access rights (only teachers allowed)
  42. {
  43.     api_not_allowed(true);
  44. }
  45. // section for the tabs
  46. $this_section=SECTION_COURSES;
  47.  
  48. // breadcrumbs
  49. $interbreadcrumb[array ("url" => "../course_info/maintenance.php""name" => get_lang('Maintenance'));
  50.  
  51. // Displaying the header
  52. $nameTools get_lang('Backup');
  53. Display::display_header($nameTools);
  54.  
  55. // Display the tool title
  56.  
  57. /*
  58. ==============================================================================
  59.         MAIN CODE
  60. ==============================================================================
  61. */ 
  62. ?>
  63.  
  64.   <ul>
  65.     <li><a href="create_backup.php"><?php echo get_lang('CreateBackup')  ?></a><br/>
  66.     <?php echo get_lang('CreateBackupInfo'?>
  67.     </li>
  68.     <li><a href="import_backup.php"><?php echo get_lang('ImportBackup')  ?></a><br/>
  69.     <?php echo get_lang('ImportBackupInfo'?>
  70.     </li>
  71.   </ul>
  72. <?php
  73. // Display the footer
  74. ?>

Documentation generated on Thu, 12 Jun 2008 12:59:57 -0500 by phpDocumentor 1.4.1