From: Chris S. <san...@us...> - 2005-08-16 14:01:13
|
Update of /cvsroot/stack/stack-1-0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23797 Modified Files: Tag: development_xmlrqp quiz.php Log Message: Index: quiz.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/quiz.php,v retrieving revision 1.25.2.1 retrieving revision 1.25.2.2 diff -C2 -d -r1.25.2.1 -r1.25.2.2 *** quiz.php 16 Aug 2005 11:22:51 -0000 1.25.2.1 --- quiz.php 16 Aug 2005 14:00:59 -0000 1.25.2.2 *************** *** 137,140 **** --- 137,142 ---- $quiz_options = $quiz['quizOptions']; } + $quizmode = $quiz_options['QuizMode']; + // (4.5) Reconstruct $quizInst from previous data *************** *** 403,407 **** ! // (2.9) Store the modified information in the $_SESSION if ('solutions' == $action) { // (2.9.1) record the fact we have asked for solutions --- 405,409 ---- ! // (2.9) if ('solutions' == $action) { // (2.9.1) record the fact we have asked for solutions *************** *** 487,490 **** --- 489,499 ---- echo "\n<a name='top'></a>\n"; + echo "<h2>".$quiz['quizName']."</h2>"; + + echo get_string('stackOptions_QuizMode','stack','').': '.$quizmode; + + echo "<font size='-2'>(".get_string('quiz_page_created','stack',$dtnow).")</font>"; + + // echo get_string('quiz_due_date','stack',''); // Add javascript for quiz forms |