From: vyshane Date: Tue, 19 Sep 2006 07:16:04 +0000 (+0000) Subject: More typos... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0fd332a81120c326813a9e7261efcc50aa2d4f70;p=moodle.git More typos... --- diff --git a/backup/restore_execute.html b/backup/restore_execute.html index 5cfe1574fd..161e260d72 100644 --- a/backup/restore_execute.html +++ b/backup/restore_execute.html @@ -22,7 +22,7 @@ //Check admin if (!empty($id)) { - if (!has_capability('moodle/site:restore', get_context_instance(CONTEXT_COUESE, $id))) { + if (!has_capability('moodle/site:restore', get_context_instance(CONTEXT_COURSE, $id))) { if (empty($to)) { error("You need to be a teacher or admin user to use this page.", "$CFG->wwwroot/login/index.php"); } else { diff --git a/backup/restore_form.html b/backup/restore_form.html index 215023b05e..364dd8181b 100644 --- a/backup/restore_form.html +++ b/backup/restore_form.html @@ -169,7 +169,7 @@ function selectItemInCheckboxByName(formId, checkName, checked ) { echo ""; echo get_string("restoreto").":"; echo ""; - if (!has_capability('moodle/course:create', get_context_instance(CONTEXT_COUESE, $id))) { + if (!has_capability('moodle/course:create', get_context_instance(CONTEXT_COURSE, $id))) { $restore_restoreto_options[0] = get_string("currentcoursedeleting"); $restore_restoreto_options[1] = get_string("currentcourseadding"); }