diff --git a/backup/CHANGES_14_15.txt b/backup/CHANGES_14_15.txt index 0327a9edc86..bca175ef99e 100644 --- a/backup/CHANGES_14_15.txt +++ b/backup/CHANGES_14_15.txt @@ -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 diff --git a/backup/backup.php b/backup/backup.php index 49f46bcc14a..9613c271148 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -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"); diff --git a/backup/backup_check.html b/backup/backup_check.html index acf1d437a66..32ecf8b5a9c 100644 --- a/backup/backup_check.html +++ b/backup/backup_check.html @@ -168,7 +168,7 @@ $backup_user_files = 0; $backup_logs = 0; } - print_simple_box("".get_string("backupnoneusersinfo")."","center", "70%", "$THEME->cellheading", "20", "noticebox"); + print_simple_box("".get_string("backupnoneusersinfo")."","center", "70%", '', "20", "noticebox"); echo "
Thanks for upgrading!","center", "50%", "$THEME->cellheading", "20", "noticebox"); + print_simple_box("This is the first non-alpha release of the Backup/Restore module.
Thanks for upgrading!","center", "50%", '', "20", "noticebox"); } if ($oldversion < 2003112700 and $result) { diff --git a/backup/log.php b/backup/log.php index bd02c7da86e..4bfcf08d4f3 100644 --- a/backup/log.php +++ b/backup/log.php @@ -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 diff --git a/backup/restore.php b/backup/restore.php index dda9e1cf958..4bf37a62ca0 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -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"); diff --git a/backup/restorelib.php b/backup/restorelib.php index 73bdc626696..2149597a953 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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"); }