if (!isset($form->lessondefault)) {
$form->lessondefault = 0;
}
+ if (!isset($form->modattempts)) {
+ $form->modattempts = 0;
+ }
+
$form->deleteattempts = "";
</td>
</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>