From: Simon H. <sim...@us...> - 2009-04-20 13:55:19
|
Update of /cvsroot/stack/stack-dev/lib/deployment In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11870/lib/deployment Modified Files: Tag: stack_cache Deployment.php Log Message: Removed 'drop' action for singleton questions. Index: Deployment.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/deployment/Attic/Deployment.php,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Deployment.php 8 Apr 2009 17:49:26 -0000 1.1.2.2 --- Deployment.php 20 Apr 2009 13:55:04 -0000 1.1.2.3 *************** *** 84,90 **** $xhtml .= '</th></tr>'; - foreach($this->instances as $instance) { - $xhtml .= ""; $item = $this->cache->getDisplayItem($instance['id']); $xhtml .= '<tr>'; --- 84,88 ---- *************** *** 92,97 **** $xhtml .= '<td>'. $instance['xhtml'] .'</td>'; $xhtml .= '<td>'.$item->getQuestionNote().'</td>'; ! $xhtml .= "<td><a href='questionDeploy.php?id=$_GET[id]&drop=$instance[id]'>drop</a>" . ! " <a href='questionTest.php?id=".$item->getQuestionId()."&seed=".$item->getQuestionSeed()."'>try</a></td>"; $xhtml .= '</tr>'; } --- 90,96 ---- $xhtml .= '<td>'. $instance['xhtml'] .'</td>'; $xhtml .= '<td>'.$item->getQuestionNote().'</td>'; ! $xhtml .= '<td>'; ! if(!$this->isSingleton()) $xhtml .= "<a href='questionDeploy.php?id=$_GET[id]&drop=$instance[id]'>drop</a> "; ! $xhtml .= "<a href='questionTest.php?id=".$item->getQuestionId()."&seed=".$item->getQuestionSeed()."'>try</a></td>"; $xhtml .= '</tr>'; } |