[Aimmath-commit] moodle/mod/math_assignment mod.html,1.8,1.9
Brought to you by:
gustav_delius,
npstrick
|
From: <gus...@us...> - 2003-09-17 09:12:08
|
Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv31924/mod/math_assignment
Modified Files:
mod.html
Log Message:
Commented out checkbox controls. Set default for Maximum Grade to 10. Prints explanation of Maximum Grade only if there can be an AiM component.
Index: mod.html
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/mod.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** mod.html 16 Sep 2003 16:58:21 -0000 1.8
--- mod.html 17 Sep 2003 09:12:04 -0000 1.9
***************
*** 33,37 ****
}
if (!isset($form->papergrade)) {
! $form->papergrade = 0;
}
if (!isset($form->aimgrade)) {
--- 33,37 ----
}
if (!isset($form->papergrade)) {
! $form->papergrade = 10;
}
if (!isset($form->aimgrade)) {
***************
*** 171,177 ****
</td>
</tr>
<tr>
<td colspan="2"><input type="checkbox" name="problemscompile"<?php if ($form->problemscompile) echo " checked=\"true\""; ?> /><?php echo "$strcompiletex"; ?></td>
! </tr>
</table>
</td>
--- 171,178 ----
</td>
</tr>
+ <input type="hidden" name="problemscompile" value="true"> <!--
<tr>
<td colspan="2"><input type="checkbox" name="problemscompile"<?php if ($form->problemscompile) echo " checked=\"true\""; ?> /><?php echo "$strcompiletex"; ?></td>
! </tr> -->
</table>
</td>
***************
*** 219,225 ****
</td>
</tr>
<tr>
<td colspan="2"><input type="checkbox" name="solutionscompile"<?php if ($form->solutionscompile) echo " checked=\"true\""; ?> /><?php echo "$strcompiletex"; ?></td>
! </tr>
</table>
</td>
--- 220,227 ----
</td>
</tr>
+ <input type="hidden" name="solutionscompile" value="true"><!--
<tr>
<td colspan="2"><input type="checkbox" name="solutionscompile"<?php if ($form->solutionscompile) echo " checked=\"true\""; ?> /><?php echo "$strcompiletex"; ?></td>
! </tr> -->
</table>
</td>
***************
*** 230,234 ****
<td>
<input type="text" name="papergrade" size="10" maxlength="10" value="<?php p($form->papergrade); ?>" /> <?php
! print_string("maxgradepaperonly", "math_assignment");
helpbutton("addupdate_maxgrade", $strmaxgrade, "math_assignment");
?>
--- 232,239 ----
<td>
<input type="text" name="papergrade" size="10" maxlength="10" value="<?php p($form->papergrade); ?>" /> <?php
! // print the following clarification only if there can be an AiM component
! if (($CFG->math_assignment_teachers_choose_subject > 0) or ($form->aimsubject > 0)) {
! print_string("maxgradepaperonly", "math_assignment");
! }
helpbutton("addupdate_maxgrade", $strmaxgrade, "math_assignment");
?>
|