THEME is out of this directory.

I hope to have done it correctly!
This commit is contained in:
stronk7 2005-01-28 00:01:20 +00:00
parent cab5d3cd04
commit ad4f774cd4
8 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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");

View File

@ -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\">";
}

View File

@ -128,7 +128,7 @@
function backup_get_needed_users ($courseid) {
global $CFG, $THEME;
global $CFG;
$result = false;

View File

@ -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) {

View File

@ -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

View File

@ -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");

View File

@ -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");
}