From d01e2b0ba22b9b2986df7b584c8d2c01f94a591b Mon Sep 17 00:00:00 2001 From: michaelpenne Date: Mon, 1 Nov 2004 20:27:28 +0000 Subject: [PATCH] added a new setting which is modattempts --- mod/lesson/mod.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/mod/lesson/mod.html b/mod/lesson/mod.html index f1511b73c6..d8e405f7e0 100644 --- a/mod/lesson/mod.html +++ b/mod/lesson/mod.html @@ -97,6 +97,10 @@ if ($form->mode == "add") { if (!isset($form->lessondefault)) { $form->lessondefault = 0; } + if (!isset($form->modattempts)) { + $form->modattempts = 0; + } + $form->deleteattempts = ""; @@ -126,6 +130,17 @@ if ($form->mode == "add") { + +

:

+ + modattempts, ""); + helpbutton("modattempts", get_string("modattempts", "lesson"), "lesson"); + ?> + + +

:

-- 2.39.5