Update of /cvsroot/stack/stack-1-0/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13493/scripts
Modified Files:
stackQuestion.php stackUtility.php
Log Message:
Index: stackUtility.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackUtility.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** stackUtility.php 25 Oct 2005 16:36:51 -0000 1.36
--- stackUtility.php 27 Oct 2005 12:34:36 -0000 1.37
***************
*** 448,452 ****
if (preg_match($pat,$strnew)) {
// We have at least one.
! // show_array($pat);
$strout = preg_replace($pat,"\${1}<font color=\"red\">*</font>\${2}",$strout);
$strnew = preg_replace($pat,"\${1}*\${2}",$strnew);
--- 448,452 ----
if (preg_match($pat,$strnew)) {
// We have at least one.
! //show_array($pat);
$strout = preg_replace($pat,"\${1}<font color=\"red\">*</font>\${2}",$strout);
$strnew = preg_replace($pat,"\${1}*\${2}",$strnew);
Index: stackQuestion.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackQuestion.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** stackQuestion.php 26 Oct 2005 17:48:50 -0000 1.47
--- stackQuestion.php 27 Oct 2005 12:34:36 -0000 1.48
***************
*** 1577,1581 ****
// Validate the casstring, which might be changed as a result of this.
$err = validate_casstring($RawAns,'s'); // parse the student's raw answer
! show_array($err);
if ('' != $err) {
$errors['RawAns']= $err;
--- 1577,1581 ----
// Validate the casstring, which might be changed as a result of this.
$err = validate_casstring($RawAns,'s'); // parse the student's raw answer
! //show_array($err);
if ('' != $err) {
$errors['RawAns']= $err;
|