Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv10875/mod/math_assignment
Modified Files:
mod.html subjectpage.php
Log Message:
bug corrected
Index: mod.html
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/mod.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** mod.html 18 Sep 2003 09:32:48 -0000 1.10
--- mod.html 18 Sep 2003 09:48:51 -0000 1.11
***************
*** 285,289 ****
<input type="text" name="aimquiz" size="40" maxlength="255" value="<?php p($form->aimquiz); ?>" /> <?php helpbutton("addupdate_quiz", $straimquiz, "math_assignment"); ?>
<?php if ($form->aimsubject > 0) {
! echo "<a href=\"$CFG->wwwroot/mod/math_assignment/subjectpage.php?id=$form->aimsubject\" target=\"suject\">AiM administration</a>";
} ?>
</td>
--- 285,289 ----
<input type="text" name="aimquiz" size="40" maxlength="255" value="<?php p($form->aimquiz); ?>" /> <?php helpbutton("addupdate_quiz", $straimquiz, "math_assignment"); ?>
<?php if ($form->aimsubject > 0) {
! echo "<a href=\"$CFG->wwwroot/mod/math_assignment/subjectpage.php?id=$form->course\" target=\"suject\">AiM administration</a>";
} ?>
</td>
Index: subjectpage.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/subjectpage.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** subjectpage.php 18 Sep 2003 09:32:48 -0000 1.1
--- subjectpage.php 18 Sep 2003 09:48:51 -0000 1.2
***************
*** 8,12 ****
require_once("lib.php");
! require_variable($id); // Course Module ID
if (! $course = get_record("course", "id", $id)) {
--- 8,12 ----
require_once("lib.php");
! require_variable($id); // course ID
if (! $course = get_record("course", "id", $id)) {
|