]> git.mjollnir.org Git - moodle.git/commitdiff
Strip out an unneccessary HTML table that way causing a 'button moves when you try...
authortjhunt <tjhunt>
Mon, 17 Dec 2007 17:17:22 +0000 (17:17 +0000)
committertjhunt <tjhunt>
Mon, 17 Dec 2007 17:17:22 +0000 (17:17 +0000)
mod/quiz/report/analysis/report.php

index 289852ad01d810a7a1d9c4b2b273e439432fae54..81db91eb6da8c57f2d767b9067316d6263b0cf80 100644 (file)
@@ -370,26 +370,20 @@ class quiz_report extends quiz_default_report {
         echo '<input type="hidden" name="id" value="'.$cm->id.'" />';
         echo '<input type="hidden" name="q" value="'.$quiz->id.'" />';
         echo '<input type="hidden" name="mode" value="analysis" />';
-        echo '<table id="analysis-options" class="boxaligncenter">';
-        echo '<tr align="left"><td><label for="menuattemptselection">'.get_string('attemptselection', 'quiz_analysis').'</label></td><td>';
+        echo '<p><label for="menuattemptselection">'.get_string('attemptselection', 'quiz_analysis').'</label> ';
         $options = array ( QUIZ_ALLATTEMPTS     => get_string("attemptsall", 'quiz_analysis'),
                            QUIZ_HIGHESTATTEMPT => get_string("attemptshighest", 'quiz_analysis'),
                            QUIZ_FIRSTATTEMPT => get_string("attemptsfirst", 'quiz_analysis'),
                            QUIZ_LASTATTEMPT  => get_string("attemptslast", 'quiz_analysis'));
         choose_from_menu($options, "attemptselection", "$attempts", "");
-        echo '</td></tr>';
-        echo '<tr align="left">';
-        echo '<td><label for="lowmarklimit">'.get_string('lowmarkslimit', 'quiz_analysis').'</label></td>';
-        echo '<td><input type="text" id="lowmarklimit" name="lowmarklimit" size="1" value="'.$lowlimit.'" /> % </td>';
-        echo '</tr>';
-        echo '<tr align="left">';
-        echo '<td><label for="pagesize">'.get_string('pagesize', 'quiz_analysis').'</label></td>';
-        echo '<td><input type="text" id="pagesize" name="pagesize" size="1" value="'.$pagesize.'" /></td>';
-        echo '</tr>';
-        echo '<tr><td colspan="2" align="center">';
-        echo '<input type="submit" value="'.get_string('go').'" />';
+        echo '</p>';
+        echo '<p><label for="lowmarklimit">'.get_string('lowmarkslimit', 'quiz_analysis').'</label> ';
+        echo '<input type="text" id="lowmarklimit" name="lowmarklimit" size="1" value="'.$lowlimit.'" /> % </p>';
+        echo '<p><label for="pagesize">'.get_string('pagesize', 'quiz_analysis').'</label> ';
+        echo '<input type="text" id="pagesize" name="pagesize" size="1" value="'.$pagesize.'" /></p>';
+        echo '<p><input type="submit" value="'.get_string('go').'" />';
         helpbutton("analysisoptions", get_string("analysisoptions",'quiz_analysis'), 'quiz');
-        echo '</td></tr></table>';
+        echo '</p>';
         echo '</fieldset>';
         echo '</form>';
         echo '</div>';