mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
THEME is out of this directory.
I hope to have done it correctly!
This commit is contained in:
parent
cab5d3cd04
commit
ad4f774cd4
@ -38,6 +38,6 @@ Now I show the specific detailed status of every item in the process:
|
||||
uploaded contents to work).
|
||||
23. TODO: Add support for metacourses in backup and restore. Show a new option
|
||||
to decide what to do (ignore, process).
|
||||
|
||||
24. DONE: Take out THEME from backup directory.
|
||||
Eloy (stronk7)
|
||||
23-01-2004
|
||||
|
@ -96,7 +96,7 @@
|
||||
|
||||
//Print form
|
||||
print_heading("$strcoursebackup: $course->fullname ($course->shortname)");
|
||||
print_simple_box_start("center", "", "$THEME->cellheading");
|
||||
print_simple_box_start("center");
|
||||
|
||||
//Adjust some php variables to the execution of this script
|
||||
@ini_set("max_execution_time","3000");
|
||||
|
@ -168,7 +168,7 @@
|
||||
$backup_user_files = 0;
|
||||
$backup_logs = 0;
|
||||
}
|
||||
print_simple_box("<font color=\"red\">".get_string("backupnoneusersinfo")."</font>","center", "70%", "$THEME->cellheading", "20", "noticebox");
|
||||
print_simple_box("<font color=\"red\">".get_string("backupnoneusersinfo")."</font>","center", "70%", '', "20", "noticebox");
|
||||
echo "<hr noshade size=\"1\">";
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@
|
||||
|
||||
function backup_get_needed_users ($courseid) {
|
||||
|
||||
global $CFG, $THEME;
|
||||
global $CFG;
|
||||
|
||||
$result = false;
|
||||
|
||||
|
@ -67,7 +67,7 @@ function backup_upgrade($oldversion=0) {
|
||||
}
|
||||
|
||||
if ($oldversion < 2003082600 and $result) {
|
||||
print_simple_box("This is the first non-alpha release of the Backup/Restore module.<p>Thanks for upgrading!","center", "50%", "$THEME->cellheading", "20", "noticebox");
|
||||
print_simple_box("This is the first non-alpha release of the Backup/Restore module.<p>Thanks for upgrading!","center", "50%", '', "20", "noticebox");
|
||||
}
|
||||
|
||||
if ($oldversion < 2003112700 and $result) {
|
||||
|
@ -44,7 +44,7 @@
|
||||
$strlogs);
|
||||
|
||||
print_heading($backuploglaststatus);
|
||||
print_simple_box_start("center", "", "$THEME->cellheading");
|
||||
print_simple_box_start('center');
|
||||
//Now, get every record from backup_courses
|
||||
$courses = get_records("backup_courses");
|
||||
|
||||
@ -95,7 +95,7 @@
|
||||
$coursename = get_field("course","fullname","id","$courseid");
|
||||
print_heading("$strcourse: $coursename");
|
||||
|
||||
print_simple_box_start("center", "", "$THEME->cellheading");
|
||||
print_simple_box_start('center');
|
||||
|
||||
//First, me get all the distinct backups for that course in backup_log
|
||||
$executions = get_records_sql("SELECT DISTINCT laststarttime,laststarttime
|
||||
|
@ -106,7 +106,7 @@
|
||||
}
|
||||
//Print form
|
||||
print_heading("$strcourserestore".((empty($to) ? ': '.basename($file) : '')));
|
||||
print_simple_box_start("center", "", "$THEME->cellheading");
|
||||
print_simple_box_start('center');
|
||||
|
||||
//Adjust some php variables to the execution of this script
|
||||
@ini_set("max_execution_time","3000");
|
||||
|
@ -3331,7 +3331,7 @@
|
||||
$message->serverrelease = $CFG->release;
|
||||
$message->backupversion = $info->backup_moodle_version;
|
||||
$message->backuprelease = $info->backup_moodle_release;
|
||||
print_simple_box(get_string('noticenewerbackup','',$message), "center", "70%", "$THEME->cellheading2", "20", "noticebox");
|
||||
print_simple_box(get_string('noticenewerbackup','',$message), "center", "70%", '', "20", "noticebox");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user