MDL-20636 converstion of questionlib.php and base questiontype.php, plus other cheanges required to get the question editing page to display.

This commit is contained in:
Tim Hunt 2010-12-23 08:41:01 +00:00
parent 06f8ed54fd
commit f29aeb5afd
13 changed files with 3165 additions and 2639 deletions

View file

@ -213,7 +213,7 @@ class core_question_renderer extends renderer_base {
'<input type="checkbox" id="' . $id . 'checkbox" name="' . $id . '" value="1" ' . $checked . ' />' .
'<input type="hidden" value="' . s($postdata) . '" class="questionflagpostdata" />' .
'<label id="' . $id . 'label" for="' . $id . '">' . $this->get_flag_html(
$qa->is_flagged(), $id . 'img') . '</label>' . "\n" .
$qa->is_flagged(), $id . 'img') . '</label>' . "\n";
break;
default:
$flagcontent = '';