Permalink
Browse files

added a new setting which is modattempts

  • Loading branch information...
1 parent 9959aab commit d01e2b0ba22b9b2986df7b584c8d2c01f94a591b michaelpenne committed Nov 1, 2004
Showing with 15 additions and 0 deletions.
  1. +15 −0 mod/lesson/mod.html
View
15 mod/lesson/mod.html
@@ -97,6 +97,10 @@
if (!isset($form->lessondefault)) {
$form->lessondefault = 0;
}
+ if (!isset($form->modattempts)) {
+ $form->modattempts = 0;
+ }
+
$form->deleteattempts = "";
@@ -127,6 +131,17 @@
</tr>
<tr>
+ <td align=right><p><b><?php print_string("modattempts", "lesson"); ?>:</b></p></td>
+ <td>
+ <?PHP
+ $options[0] = get_string("no"); $options[1] = get_string("yes");
+ choose_from_menu($options, "modattempts", $form->modattempts, "");
+ helpbutton("modattempts", get_string("modattempts", "lesson"), "lesson");
+ ?>
+ </td>
+</tr>
+
+<tr>
<td align=right><p><b><?php print_string("usepassword", "lesson"); ?>:</b></p></td>
<td>
<?PHP

0 comments on commit d01e2b0

Please sign in to comment.