course-import MDL-23752 Implemented course import functionality back into Moodle 2.0

The course import now makes use of the backup and restore processed and the backup UI to allow the user to import one course into another.
The new UI is much the same as the backup ui except preceeded by a course selector to choose the course to import from.
This commit is contained in:
Sam Hemelryk 2010-08-17 02:07:30 +00:00
parent 6c2f430931
commit ad93ddd5f7
8 changed files with 596 additions and 12 deletions

View file

@ -88,6 +88,22 @@ $string['generaluserscompletion'] = 'Include user completion information';
$string['generaluserfiles'] = 'Include user files';
$string['generalusers'] = 'Include users';
$string['importfile'] = 'Import a backup file';
$string['importadding'] = 'Import adding';
$string['importaddingdesc'] = 'Merge the selected course into this course';
$string['importbackupstage1action'] = 'Next';
$string['importbackupstage2action'] = 'Next';
$string['importbackupstage4action'] = 'Perform import';
$string['importbackupstage8action'] = 'Continue';
$string['importbackupstage16action'] = 'Continue';
$string['importcurrentstage0'] = 'Course selection';
$string['importcurrentstage1'] = 'Initial settings';
$string['importcurrentstage2'] = 'Schema settings';
$string['importcurrentstage4'] = 'Confirmation and review';
$string['importcurrentstage8'] = 'Perform import';
$string['importcurrentstage16'] = 'Complete';
$string['importdeleting'] = 'Import deleting';
$string['importdeletingdesc'] = 'Delete the contents of this course and then import the selected course';
$string['importsuccess'] = 'Import complete. Click continue to return to the course.';
$string['includeactivities'] = 'Choose activities to include';
$string['includesection'] = 'Include section {$a}';
$string['includeuserinfo'] = 'Include user information';