Update of /cvsroot/stack/stack-dev/lib/reporting
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28571/lib/reporting
Modified Files:
SkillsResources.php
Log Message:
Comma validation bug
Index: SkillsResources.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/lib/reporting/SkillsResources.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SkillsResources.php 30 Sep 2010 16:56:15 -0000 1.2
--- SkillsResources.php 13 Oct 2010 12:15:19 -0000 1.3
***************
*** 562,568 ****
$question = $this->getQuestionStem($qname);
! $quiz.= "<h2><b>($question[0]) {$question[1]}</b>:</h2>";
! $quiz.= "<p>".$question[2]."</p>";
$quiz.= "<p><hr /></p>";
}
--- 562,571 ----
$question = $this->getQuestionStem($qname);
! //$quiz.= "<h2><b>($question[0]) {$question[1]}</b>:</h2>";
! $quiz.= "\n\n \item";
! $qtp = strpos($question[2],'How');
! $qt = substr($question[2],0,$qtp);
! $quiz.= "<p>".$qt."</p>";
$quiz.= "<p><hr /></p>";
}
|