From 4e3ea0e0d97d17a454ac88b17c0184b6c590cf37 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 15 Dec 2006 05:34:35 +0000 Subject: [PATCH] adding long time warning MDL-7890 --- backup/restore_check.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/restore_check.html b/backup/restore_check.html index 33e6b1863b..56c56bd7c0 100644 --- a/backup/restore_check.html +++ b/backup/restore_check.html @@ -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; @@ -119,7 +118,7 @@ //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) { @@ -265,6 +264,7 @@ $hidden["launch"] = "execute"; $hidden["file"] = $file; $hidden["id"] = $id; + print_string('longtimewarning','admin'); print_single_button("restore.php", $hidden, get_string("restorecoursenow"),"post"); echo ""; } else { -- 2.39.5