From 0183a6c48eaa3f4fa14782cd72c8d5f3f96d608e Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 7 Feb 2005 23:45:19 +0000 Subject: [PATCH] One minor problem restoring categories in XHTML solved --- backup/restore_execute.html | 4 +++- mod/quiz/restorelib.php | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/backup/restore_execute.html b/backup/restore_execute.html index 5490bc89e6..c9201a14c0 100644 --- a/backup/restore_execute.html +++ b/backup/restore_execute.html @@ -219,10 +219,12 @@ //Now create categories and questions as needed (STEP1) if ($status and ($restore->mods['quiz']->restore)) { - echo "
  • ".get_string("creatingcategoriesandquestions")."
  • "; + echo "
  • ".get_string("creatingcategoriesandquestions"); + echo "
  • "; } //Now create user_files as needed diff --git a/mod/quiz/restorelib.php b/mod/quiz/restorelib.php index 55d205e3a3..bd834fbd6b 100644 --- a/mod/quiz/restorelib.php +++ b/mod/quiz/restorelib.php @@ -269,10 +269,10 @@ //Do some output if ($status) { - echo "
  • ".get_string("category")." \"".$quiz_cat->name."\"
  • "; + echo "
  • ".get_string("category")." \"".$quiz_cat->name."\"
    "; } else { //We must never arrive here !! - echo "
  • ".get_string("category")." \"".$quiz_cat->name."\" Error!
  • "; + echo "
  • ".get_string("category")." \"".$quiz_cat->name."\" Error!
    "; } backup_flush(300); @@ -286,6 +286,7 @@ } else { $status = false; } + echo '
  • '; } return $status; -- 2.39.5