From: michaelpenne Date: Thu, 27 Jan 2005 21:33:35 +0000 (+0000) Subject: uncommented the require style sheet (was there a problem?), also rearranged lesson... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d6847e5d95e778b5c5d2f2570158dbd572b19179;p=moodle.git uncommented the require style sheet (was there a problem?), also rearranged lesson settings into categories. --- diff --git a/mod/lesson/mod.html b/mod/lesson/mod.html index 0bf9e5b0a7..40f85e7874 100644 --- a/mod/lesson/mod.html +++ b/mod/lesson/mod.html @@ -1,7 +1,7 @@ dirroot/mod/lesson/locallib.php"); // for parameter array if ($form->mode == "add") { if ($defaults = get_record("lesson_default", "course", $form->course)) { @@ -30,7 +30,7 @@ if ($form->mode == "add") { $form->maxattempts = 1; } if (!isset($form->nextpagedefault)) { - $form->nextpagedefault = 1; + $form->nextpagedefault = 0; } if (!isset($form->minquestions)) { $form->minquestions = 0; @@ -50,16 +50,16 @@ if ($form->mode == "add") { } /// CDC-FLAG /// if (!isset($form->usepassword)) { - $form->usepassword = 1; + $form->usepassword = 0; } if (!isset($form->custom)) { $form->custom = 1; } if (!isset($form->ongoing)) { - $form->ongoing = 1; + $form->ongoing = 0; } if (!isset($form->timed)) { - $form->timed = 1; + $form->timed = 0; } if (!isset($form->maxtime)) { $form->maxtime = 20; @@ -92,7 +92,7 @@ if ($form->mode == "add") { $form->practice = 0; } if (!isset($form->review)) { - $form->review = 1; + $form->review = 0; } if (!isset($form->lessondefault)) { $form->lessondefault = 0; @@ -111,6 +111,13 @@ if ($form->mode == "add") {
+ + + + + - - + - + + + + + + - + + + + + - + - @@ -174,14 +198,24 @@ if ($form->mode == "add") { - - + + + + + + @@ -196,18 +230,32 @@ if ($form->mode == "add") { ?> - - - + + + + + + + + + + + @@ -225,19 +273,6 @@ if ($form->mode == "add") { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -379,24 +365,29 @@ if ($form->mode == "add") { - + + + + + - + - @@ -416,6 +407,42 @@ if ($form->mode == "add") { ?> + + + + + + + + + + + + + + + + + + +
+ +
: @@ -118,48 +125,65 @@ if ($form->mode == "add") {
:: practice, ""); - helpbutton("practice", get_string("practice", "lesson"), "lesson"); + choose_from_menu($options, "timed", $form->timed, ""); + helpbutton("timed", get_string("timed", "lesson"), "lesson"); ?>
:: - modattempts, ""); - helpbutton("modattempts", get_string("modattempts", "lesson"), "lesson"); - ?> + + +
: + 1; $i--) { + $numbers[$i] = $i; + } + choose_from_menu($numbers, "maxanswers", "$form->maxanswers", ""); + helpbutton("maxanswers", get_string("maximumnumberofanswersbranches", "lesson"), "lesson"); + ?>
: +
+
: usepassword, ""); - helpbutton("usepassword", get_string("usepassword", "lesson"), "lesson"); + choose_from_menu($options, "practice", $form->practice, ""); + helpbutton("practice", get_string("practice", "lesson"), "lesson"); ?>
:: - - + custom, ""); + helpbutton("custom", get_string("customscoring", "lesson"), "lesson"); + ?>
:
:student) ?>: custom, ""); - helpbutton("custom", get_string("customscoring", "lesson"), "lesson"); + choose_from_menu($options, "retake", $form->retake, ""); + helpbutton("retake", get_string("canretake", "lesson", $course->student), "lesson"); + ?> +
: + usemaxgrade, ""); + helpbutton("handlingofretakes", get_string("handlingofretakes", "lesson"), "lesson"); ?>
:
+
+
: - 1; $i--) { - $numbers[$i] = $i; - } - choose_from_menu($numbers, "maxanswers", "$form->maxanswers", ""); - helpbutton("maxanswers", get_string("maximumnumberofanswersbranches", "lesson"), "lesson"); - ?> + modattempts, ""); + helpbutton("modattempts", get_string("modattempts", "lesson"), "lesson"); + ?> +
: + review, ""); + helpbutton("review", get_string("displayreview", "lesson"), "lesson"); + ?>
: - review, ""); - helpbutton("review", get_string("displayreview", "lesson"), "lesson"); - ?> -
: @@ -276,59 +311,10 @@ if ($form->mode == "add") {
: - timed, ""); - helpbutton("timed", get_string("timed", "lesson"), "lesson"); - ?> -
: - - -
student) ?>: - retake, ""); - helpbutton("retake", get_string("canretake", "lesson", $course->student), "lesson"); - ?> -
: - usemaxgrade, ""); - helpbutton("handlingofretakes", get_string("handlingofretakes", "lesson"), "lesson"); - ?> -
: - tree, ""); - helpbutton("tree", get_string("treeview", "lesson"), "lesson"); - ?> - +
+
: +
+
: highscores, ""); - helpbutton("highscores", get_string("displayhighscores", "lesson"), "lesson"); + choose_from_menu($options, "usepassword", $form->usepassword, ""); + helpbutton("usepassword", get_string("usepassword", "lesson"), "lesson"); ?>
:: - - + +
:
+
+
: + tree, ""); + helpbutton("tree", get_string("treeview", "lesson"), "lesson"); + ?> +
: + highscores, ""); + helpbutton("highscores", get_string("displayhighscores", "lesson"), "lesson"); + ?> +
: + + +
: