From: Chris S. <san...@us...> - 2005-09-17 11:31:12
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11689/scripts Modified Files: stackDatabase.php stackQuestion.php stackWin.php Log Message: Index: stackDatabase.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackDatabase.php,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** stackDatabase.php 9 Sep 2005 11:14:59 -0000 1.49 --- stackDatabase.php 17 Sep 2005 11:31:04 -0000 1.50 *************** *** 1812,1816 **** // (2) Delete all attempt records ! $query = "DELETE FROM quiz_attempts WHERE subjectID = '$subjectID'"; $result = stack_db_query($query); --- 1812,1816 ---- // (2) Delete all attempt records ! $query = "DELETE FROM quizAttempts WHERE subjectID = '$subjectID'"; $result = stack_db_query($query); Index: stackWin.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackWin.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** stackWin.php 30 Aug 2005 09:42:42 -0000 1.12 --- stackWin.php 17 Sep 2005 11:31:05 -0000 1.13 *************** *** 82,85 **** --- 82,88 ---- $debug = FALSE; + if (array_key_exists('debug',$_GET)) { + $debug = TRUE; + } $ret = FALSE; Index: stackQuestion.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackQuestion.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** stackQuestion.php 15 Sep 2005 11:27:11 -0000 1.38 --- stackQuestion.php 17 Sep 2005 11:31:04 -0000 1.39 *************** *** 593,596 **** --- 593,602 ---- $stackAnswerTest['Num_tol_absolute']['function'] = 'cas'; + $stackAnswerTest['Num_SAns>TAns']['imp'] = 'cas'; + $stackAnswerTest['Num_SAns>TAns']['function'] = 'ATGT'; + + $stackAnswerTest['Num_SAns>=TAns']['imp'] = 'cas'; + $stackAnswerTest['Num_SAns>=TAns']['function'] = 'ATGTE'; + $stackAnswerTest['String']['imp'] = 'php'; $stackAnswerTest['StringSloppy']['imp'] = 'php'; |