[Aimmath-commit] moodle/mod/math_assignment mod.html,1.14,1.15
Brought to you by:
gustav_delius,
npstrick
|
From: <gus...@us...> - 2003-09-19 20:04:00
|
Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv18796/mod/math_assignment
Modified Files:
mod.html
Log Message:
fixed bugs
Index: mod.html
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/mod.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** mod.html 18 Sep 2003 23:57:57 -0000 1.14
--- mod.html 19 Sep 2003 08:36:18 -0000 1.15
***************
*** 44,48 ****
// get aimsubject from database
if (!$aimsubject = get_field("math_assignment_subject", "name", "course", $form->course))
! $aimsubject = 0;
// Process problems and solutions
--- 44,48 ----
// get aimsubject from database
if (!$aimsubject = get_field("math_assignment_subject", "name", "course", $form->course))
! $aimsubject = "";
// Process problems and solutions
***************
*** 230,241 ****
<?php
! if ($aimsubject > 0) {
?>
<tr valign="top">
<td align="right"><p><b><?php echo $straimquiz; ?>:</b></p></td>
<td>
! <input type="text" name="aimquiz" size="40" maxlength="255" value="<?php p($form->aimquiz); ?>" /> <?php helpbutton("addupdate_quiz", $straimquiz, "math_assignment"); ?>
! echo "<a href=\"$CFG->wwwroot/mod/math_assignment/subjectpage.php?id=$form->course\" target=\"subject\">AiM administration</a>";
! } ?>
</td>
</tr>
--- 230,244 ----
<?php
! if ($aimsubject) {
?>
<tr valign="top">
<td align="right"><p><b><?php echo $straimquiz; ?>:</b></p></td>
<td>
! <input type="text" name="aimquiz" size="40" maxlength="255" value="<?php p($form->aimquiz); ?>" />
! <?php
! helpbutton("addupdate_quiz", $straimquiz, "math_assignment");
! echo "<a href=\"$CFG->wwwroot/mod/math_assignment/subjectpage.php?id=$form->course\"
! target=\"subject\">AiM administration</a>";
! ?>
</td>
</tr>
|