merging MDL-13429 Go button problem from 1.9
This commit is contained in:
@@ -373,26 +373,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>';
|
||||
|
||||
Reference in New Issue
Block a user