Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv16244/mod/math_assignment
Modified Files:
aimpage.php mod.html version.php
Log Message:
Changed focus to aimfocus.
Index: aimpage.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/aimpage.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** aimpage.php 23 Sep 2003 22:49:40 -0000 1.12
--- aimpage.php 24 Sep 2003 13:22:22 -0000 1.13
***************
*** 113,117 ****
$postdata = math_assignment_add_arg_to_url_data($postdata, "FocusLabel", "1");
$postdata = math_assignment_add_arg_to_url_data($postdata, "OldFocusLabel", "");
! $focus = ($math_assignment->focus) ? "true" : "false";
$postdata = math_assignment_add_arg_to_url_data($postdata, "Focused", $focus);
}
--- 113,117 ----
$postdata = math_assignment_add_arg_to_url_data($postdata, "FocusLabel", "1");
$postdata = math_assignment_add_arg_to_url_data($postdata, "OldFocusLabel", "");
! $focus = ($math_assignment->aimfocus) ? "true" : "false";
$postdata = math_assignment_add_arg_to_url_data($postdata, "Focused", $focus);
}
Index: mod.html
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/mod.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** mod.html 24 Sep 2003 11:48:41 -0000 1.19
--- mod.html 24 Sep 2003 13:22:22 -0000 1.20
***************
*** 29,34 ****
$form->aimquiz = "";
}
! if (!isset($form->focus)) {
! $form->focus = 1;
}
if (!isset($form->papergrade)) {
--- 29,34 ----
$form->aimquiz = "";
}
! if (!isset($form->aimfocus)) {
! $form->aimfocus = 1;
}
if (!isset($form->papergrade)) {
***************
*** 266,272 ****
<td align="right"><p><b><?php echo $straimstyle; ?>:</b></p></td>
<td>
! <input type="radio" name="focus" value="1" <?php p($form->focus ? "checked" : "") ?> />
<?php p(get_string("singlequestion","math_assignment")) ?>
! <input type="radio" name="focus" value="0" <?php p($form->focus ? "" : "checked") ?> />
<?php
p(get_string("multiplequestion","math_assignment"));
--- 266,272 ----
<td align="right"><p><b><?php echo $straimstyle; ?>:</b></p></td>
<td>
! <input type="radio" name="aimfocus" value="1" <?php p($form->aimfocus ? "checked" : "") ?> />
<?php p(get_string("singlequestion","math_assignment")) ?>
! <input type="radio" name="aimfocus" value="0" <?php p($form->aimfocus ? "" : "checked") ?> />
<?php
p(get_string("multiplequestion","math_assignment"));
Index: version.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/version.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** version.php 23 Sep 2003 17:53:11 -0000 1.7
--- version.php 24 Sep 2003 13:22:22 -0000 1.8
***************
*** 6,10 ****
/////////////////////////////////////////////////////////////////////////////////
! $module->version = 2003092315; // The (date) version of this module
$module->cron = 0; // How often should cron check this module (seconds)?
--- 6,10 ----
/////////////////////////////////////////////////////////////////////////////////
! $module->version = 2003092414; // The (date) version of this module
$module->cron = 0; // How often should cron check this module (seconds)?
|