]> git.mjollnir.org Git - moodle.git/commitdiff
THEME is out of this directory.
authorstronk7 <stronk7>
Fri, 28 Jan 2005 00:01:20 +0000 (00:01 +0000)
committerstronk7 <stronk7>
Fri, 28 Jan 2005 00:01:20 +0000 (00:01 +0000)
I hope to have done it correctly!

backup/CHANGES_14_15.txt
backup/backup.php
backup/backup_check.html
backup/backuplib.php
backup/db/mysql.php
backup/log.php
backup/restore.php
backup/restorelib.php

index 0327a9edc86266306a98f67615643322a0a32e6a..bca175ef99e8bef100823b883707d727627f98b7 100644 (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
index 49f46bcc14ad8f30fb4baf5f3ed5fc1413275651..9613c271148aadc1a33508433ac1ac14d68df510 100644 (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");
index acf1d437a66445d8c0fc07249ddfc1d44eeb663d..32ecf8b5a9c4fb8afef5a13382a7e9ac9c2b3c6d 100644 (file)
         $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\">";
     }
 
index e6fa4f617674127f42ba3385cb0a6106f96c6f45..a8b453b67a7a88b35c50a6e527b9734214debae1 100644 (file)
 
     function backup_get_needed_users ($courseid) {
         
-        global $CFG, $THEME;
+        global $CFG;
 
         $result = false;
 
index d5c74a118471a60a1cfca50e28881ebdaa4cc6ea..ac175e82934f4f4230d8b63c50c106ab50965725 100644 (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) {
index bd02c7da86e3189f5f725c8715b3dd4fd67ef4d5..4bfcf08d4f30de2ec5e964f3005ca2d809b20deb 100644 (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
index dda9e1cf9584a41b5c244b46d7a6cb3340dad1f5..4bf37a62ca04e9911c37b4bab12afd8476f7d6b7 100644 (file)
     }
     //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");
index 73bdc6266969fcc0413e99568072742ef7eb641c..2149597a95350fa9b50a0304ee8787995fac3302 100644 (file)
             $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");
             
         }