From: Simon H. <sim...@us...> - 2010-11-24 16:44:34
|
Update of /cvsroot/stack/stack-dev/opaque In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv22656/opaque Modified Files: MoodleStackReport.php Log Message: Towards restoring standard reporting option. Index: MoodleStackReport.php =================================================================== RCS file: /cvsroot/stack/stack-dev/opaque/MoodleStackReport.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MoodleStackReport.php 30 Sep 2010 16:56:21 -0000 1.5 --- MoodleStackReport.php 24 Nov 2010 16:44:26 -0000 1.6 *************** *** 24,28 **** class MoodleStackReport { - private $report; --- 24,27 ---- *************** *** 41,45 **** if (isset($param['type'])) { ! $reportType = $param['type']; $xhtml .= $this->report->displayResults($param); --- 40,44 ---- if (isset($param['type'])) { ! $reportType = $param['type']; $xhtml .= $this->report->displayResults($param); *************** *** 48,52 **** } else { ! $xhtml .= '<h1>Select a report type</h1>'; --- 47,51 ---- } else { ! $xhtml .= '<h1>Select a report type</h1>'; *************** *** 55,65 **** <p> <a href="stackSessionPage.php?page=report&type=interactive"><button >Load the interactive interface</button></a> </p> </div>'; - $xhtml .= '<form action="stackSessionPage.php?page=report&type=question" method="post">' ! . $report->questionFilterInterface($param) . '</form>'; $xhtml .= '<form action="stackSessionPage.php?page=report&type=student" method="post">' ! . $report->studentFilterInterface($param) . '</form>'; } --- 54,63 ---- <p> <a href="stackSessionPage.php?page=report&type=interactive"><button >Load the interactive interface</button></a> </p> </div>'; $xhtml .= '<form action="stackSessionPage.php?page=report&type=question" method="post">' ! . $this->report->questionFilterInterface($param) . '</form>'; $xhtml .= '<form action="stackSessionPage.php?page=report&type=student" method="post">' ! . $this->report->studentFilterInterface($param) . '</form>'; } |