quiz editing MDL-24750 The Add random button should also let you add questions from...
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 22 Nov 2010 09:52:42 +0000 (09:52 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 22 Nov 2010 09:52:42 +0000 (09:52 +0000)
commit94dbfb3a8240e5b5b8abc20e065d1bcbd76ae4ae
treea5a3d5488f3e1773787eedca872019a3c39bb658
parentd2e66a60a0c85b0dda7b737f1a48890a97c172d2
quiz editing MDL-24750 The Add random button should also let you add questions from an existing category.

Also includes a fix for MDL-24749 by Sam Hemelryk. Thanks Sam.

This commit also includes a certain amount of code cleaning up.
23 files changed:
mod/quiz/addrandom.php
mod/quiz/addrandomform.php [new file with mode: 0644]
mod/quiz/edit.js
mod/quiz/edit.php
mod/quiz/editlib.php
mod/quiz/lang/en/quiz.php
question/category_class.php
question/category_form_randomquestion.php [deleted file]
question/question.php
question/type/calculated/questiontype.php
question/type/calculatedmulti/questiontype.php
question/type/calculatedsimple/questiontype.php
question/type/description/questiontype.php
question/type/essay/questiontype.php
question/type/match/questiontype.php
question/type/multianswer/questiontype.php
question/type/multichoice/questiontype.php
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/edit_random_form.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
question/type/truefalse/questiontype.php