mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 00:52:33 +01:00
4886029cba
* backup moodleforms for specific stages are now cached between stage processing and display making it possible to leave all validation up to the bridge. * The backup stage now relies entirely on the backup controllers save, load, and check methods + dependency checks rather then previous stage processing to ensure accuracy. * filename is now a required field and validated to ensure it ends with .zip and is a valid filename. * There is now a previous button for backup stages after the initial and before the complete. * The progress bar previous stages are now links as well allowing the user to jump to previous stages (not linked on complete of course). * The root settings are only shown on the schema stage now if they were changed because of dependency. * Stages are now numbered in the progress bar. * The complete page now shows a notice that the backup was complete and provides a continue button to view the backup file. * Adds administration blocks to the backup pages.
51 lines
2.2 KiB
PHP
51 lines
2.2 KiB
PHP
<?php
|
|
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* This file contains the strings used by backup
|
|
*
|
|
* @package moodlecore
|
|
* @copyright 2010 Eloy
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['backupcourse'] = 'Backup course: {$a}';
|
|
$string['backupsection'] = 'Backup course section: {$a}';
|
|
$string['backupactivity'] = 'Backup activity: {$a}';
|
|
$string['coursesettings'] = 'Course settings';
|
|
$string['currentstage1'] = 'Initial settings';
|
|
$string['currentstage2'] = 'Schema settings';
|
|
$string['currentstage4'] = 'Confirmation and review';
|
|
$string['currentstage8'] = 'Perform backup';
|
|
$string['currentstage16'] = 'Complete';
|
|
$string['dependenciesenforced'] = 'Your settings have been altered due to unmet dependencies';
|
|
$string['errorfilenamerequired'] = 'You must enter a valid filename for this backup';
|
|
$string['errorfilenamemustbezip'] = 'The filename you enter must be a ZIP file and have the .zip extension';
|
|
$string['executionsuccess'] = 'Your backup completed successfully, clicking the continue button below will take you to view your backup file.';
|
|
$string['filename'] = 'Filename';
|
|
$string['includesection'] = 'Include section {$a}';
|
|
$string['includeother'] = 'Include {$a}';
|
|
$string['includeuserinfo'] = 'Include user information';
|
|
$string['locked'] = 'Locked';
|
|
$string['onstage1action'] = 'Next';
|
|
$string['onstage2action'] = 'Next';
|
|
$string['onstage4action'] = 'Perform backup';
|
|
$string['onstage8action'] = 'Continue';
|
|
$string['onstage16action'] = 'Continue';
|
|
$string['previousstage'] = 'Previous';
|
|
$string['rootsettings'] = 'Backup settings';
|