From: moodler Date: Tue, 10 Jun 2003 05:33:58 +0000 (+0000) Subject: Make form destinations relative (to course/mod.php) to avoid X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=21b1125f63f774df4aeb3147f6e3751f30d76e31;p=moodle.git Make form destinations relative (to course/mod.php) to avoid some form problems on mis-configured servers (wwwroot not quite right) --- diff --git a/mod/quiz/mod.html b/mod/quiz/mod.html index 51c777d90f..e1759187f5 100644 --- a/mod/quiz/mod.html +++ b/mod/quiz/mod.html @@ -47,7 +47,7 @@ -
+
diff --git a/mod/resource/mod.html b/mod/resource/mod.html index 74a2b684d5..ab31e0e949 100644 --- a/mod/resource/mod.html +++ b/mod/resource/mod.html @@ -17,7 +17,7 @@ ?> - +
diff --git a/mod/survey/mod.html b/mod/survey/mod.html index 2d8c1e4edd..4260d980ff 100644 --- a/mod/survey/mod.html +++ b/mod/survey/mod.html @@ -1,27 +1,27 @@ -name)) { +name)) { $form->name = ""; } - if (empty($form->template)) { + if (!isset($form->template)) { $form->template = ""; } - if (empty($form->intro)) { + if (!isset($form->intro)) { $form->intro = ""; } ?> - +

:

- +

:

- +

:

:

- $name) { $options[$id] = get_string($name, "survey"); @@ -36,17 +36,17 @@
- - + + - - - - - - - -"> -"> + + + + + + + +"> +">