]> git.mjollnir.org Git - moodle.git/commitdiff
adding long time warning MDL-7890
authortoyomoyo <toyomoyo>
Fri, 15 Dec 2006 05:34:35 +0000 (05:34 +0000)
committertoyomoyo <toyomoyo>
Fri, 15 Dec 2006 05:34:35 +0000 (05:34 +0000)
backup/restore_check.html

index 33e6b1863b93ba5ad18311352c39665dfcc45b19..56c56bd7c0f4ead3f36adf40dcf3a7be69c058db 100644 (file)
@@ -4,7 +4,6 @@
     //It cheks that the parammeter from restore_form are coherent.
     //It puts all the restore info in the session.
     //Finally, it calls restore_execute to do the hard work
-
     //Get objects from session
     if ($SESSION) {
         $info = $SESSION->info;
         //add new vars to restore object 
         $restore->course_startdateoffset = $coursestartdatedateoffset;
         $restore->course_shortname = $currentcourseshortname;
-        
+   
         // create role mappings, not sure all should be here
         if ($data2 = data_submitted()) {
             foreach ($data2 as $tempname=>$tempdata) {
             $hidden["launch"]             = "execute";
             $hidden["file"]               =  $file;
             $hidden["id"]                 =  $id;
+            print_string('longtimewarning','admin');
             print_single_button("restore.php", $hidden, get_string("restorecoursenow"),"post");
             echo "</center>";
         } else {