From: Chris S. <san...@us...> - 2010-12-20 18:11:51
|
Update of /cvsroot/stack/stack-dev/lib/reporting In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv18833/lib/reporting Modified Files: StackReport.php Log Message: Localise the URLs from the config file. Index: StackReport.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/reporting/StackReport.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** StackReport.php 20 Dec 2010 18:05:10 -0000 1.30 --- StackReport.php 20 Dec 2010 18:11:43 -0000 1.31 *************** *** 1367,1371 **** $xhtml .= '<h4>The student was presented with this question note:</h4><p>' . $data['note'] . '</p>'; } ! $xhtml .= '<p><a href="'.$root.'/lib/ui/questionTest.php?id='.$selQ.'&seed='.$data['item']->getQuestionSeed(). '"> Click here to try it in the test question interface.</a></p>'; $xhtml .= '<h4>They made the following attempts:</h4><p>' . $data['item']->displayAttempts() . '</p>'; --- 1367,1372 ---- $xhtml .= '<h4>The student was presented with this question note:</h4><p>' . $data['note'] . '</p>'; } ! $qID = $data['item']->getQuestionId(); ! $xhtml .= '<p><a href="'.$root.'/lib/ui/questionTest.php?id='.$qID.'&seed='.$data['item']->getQuestionSeed(). '"> Click here to try it in the test question interface.</a></p>'; $xhtml .= '<h4>They made the following attempts:</h4><p>' . $data['item']->displayAttempts() . '</p>'; |