]> git.mjollnir.org Git - moodle.git/commit
Bug 6239 - Allow questions to have some teacher-supplied commentary.
authortjhunt <tjhunt>
Fri, 11 Aug 2006 14:59:18 +0000 (14:59 +0000)
committertjhunt <tjhunt>
Fri, 11 Aug 2006 14:59:18 +0000 (14:59 +0000)
commit1b8a7434e28f5508a3f7ae116192a3ac7234543d
tree2c762cfb026b94e7a0f51920e8f4b3e2236a2f5d
parent8161ac98427bea6acc89c4ba66a1ce7e25335d01
Bug 6239 - Allow questions to have some teacher-supplied commentary.

While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
39 files changed:
lang/en_utf8/help/quiz/commentary.html [new file with mode: 0644]
lang/en_utf8/help/quiz/questiontext.html [new file with mode: 0644]
lang/en_utf8/quiz.php
lib/questionlib.php
mod/quiz/db/mysql.php
mod/quiz/db/mysql.sql
mod/quiz/db/postgres7.php
mod/quiz/db/postgres7.sql
mod/quiz/defaults.php
mod/quiz/editlib.php
mod/quiz/lib.php
mod/quiz/locallib.php
mod/quiz/reviewoptions.html
mod/quiz/version.php
question/backuplib.php
question/editlib.php
question/format/xml/format.php
question/question.php
question/restorelib.php
question/type/calculated/editquestion.html
question/type/description/editquestion.html
question/type/editquestionend.html [new file with mode: 0644]
question/type/editquestionstart.html [new file with mode: 0644]
question/type/essay/editquestion.html
question/type/match/editquestion.html
question/type/match/questiontype.php
question/type/missingtype/editquestion.html
question/type/multianswer/editquestion.html
question/type/multichoice/editquestion.html
question/type/numerical/editquestion.html
question/type/question.html
question/type/questiontype.php
question/type/random/editquestion.html
question/type/random/editquestion.php
question/type/randomsamatch/editquestion.html
question/type/randomsamatch/editquestion.php
question/type/shortanswer/editquestion.html
question/type/truefalse/editquestion.html
theme/standard/styles_layout.css