From: Chris S. <san...@us...> - 2005-09-26 10:15:46
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14443/scripts Modified Files: stackQuestion.php Log Message: Index: stackQuestion.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackQuestion.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** stackQuestion.php 17 Sep 2005 11:31:04 -0000 1.39 --- stackQuestion.php 26 Sep 2005 10:15:35 -0000 1.40 *************** *** 563,566 **** --- 563,569 ---- $stackAnswerTest['AlgEquiv']['function'] = 'ATAlgEquiv'; + $stackAnswerTest['AlgEquiv_quiet']['imp'] = 'cas'; + $stackAnswerTest['AlgEquiv_quiet']['function'] = 'ATAlgEquiv'; + $stackAnswerTest['CASEqual']['imp'] = 'cas'; $stackAnswerTest['CASEqual']['function'] = 'ATCASEqual'; *************** *** 576,580 **** $stackAnswerTest['PartFrac']['imp'] = 'cas-var'; ! $stackAnswerTest['PartFrac']['function'] = 'AtPartFrac'; $stackAnswerTest['Diff']['imp'] = 'cas-var'; --- 579,583 ---- $stackAnswerTest['PartFrac']['imp'] = 'cas-var'; ! $stackAnswerTest['PartFrac']['function'] = 'ATPartFrac'; $stackAnswerTest['Diff']['imp'] = 'cas-var'; *************** *** 1292,1295 **** --- 1295,1302 ---- if ('cas' == $stackAnswerTest[$atest]['imp']) { $this_attempt = CPProcessAnsTest($sa,$ta,$atest,$options,$errors); + // Quiet tests + if ('AlgEquiv_quiet' == $atest) { + $this_attempt['FeedBack'] = ''; + } } *************** *** 2088,2092 **** if ('' != trim($options['SyntaxHint'])) { ! $ret .= "<br /><font size='-1'><em>".get_string('SyntaxHint','stack','').": </em> <tt>{$options['SyntaxHint']}</tt></font>\n"; } --- 2095,2100 ---- if ('' != trim($options['SyntaxHint'])) { ! $hint = htmlspecialchars($options['SyntaxHint']); ! $ret .= "<br /><font size='-1'><em>".get_string('SyntaxHint','stack','').": </em> <tt>{$hint}</tt></font>\n"; } |