756 Commits

Author SHA1 Message Date
dongsheng
1e7386c9ad MDL-14129, cannot use a full string in the param 2008-04-09 03:10:26 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt
375ba6e52b MDL-13968 - Use h2 tag for the question number, as it is better for accessibility 2008-03-18 18:58:29 +00:00
pichetp
d650e1a315 nextpageparam["forceregeneration"] was not implemented correctly line 582 2008-03-10 10:53:41 +00:00
tjhunt
e2ae84a298 MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language. 2008-02-28 12:53:02 +00:00
pichetp
c958ac9301 MDL-13457 Validation when moving to another category 2008-02-20 09:19:03 +00:00
tjhunt
694061adf4 Fix dangerous comment. (MDL-13536) 2008-02-19 17:14:12 +00:00
pichetp
a0052d89ac cleaning // 2008-02-18 20:43:08 +00:00
pichetp
292a01dfa7 removing an echo diagnostic message MDL-12063 2008-02-18 17:00:23 +00:00
pichetp
814a96fa47 MDL-13419 removing space before input html element 2008-02-18 16:37:13 +00:00
pichetp
fa0f94c085 MDL-12421 removing the change done and not correcting already saved values 2008-02-13 02:19:54 +00:00
pichetp
2dc8beafcf Adding returnurl element MDL-12388 to return to the quiz editing 2008-02-13 01:19:03 +00:00
thepurpleblob
fc22da99e2 Added check for <text> fields that contain markup (an error!)
Merged from STABLE_19
2008-02-12 11:57:39 +00:00
jamiesensei
a18fbcfb50 MDL-13298 "Question bank displays always page 1 after adding new question" this was caused because the question creation page was redirecting back to the question back edit page and telling it to change to the category of the question that was just saved. This was causing the edit page to go back to page 0 of the new category. Now we only go back to page 0 if the category has actually changed. Merged from MOODLE_19_STABLE 2008-02-05 12:14:46 +00:00
jamiesensei
5111051663 MDL-13005 When trying to restore a course when you have more then one quiz and you choose only one quiz, the restore fails when trying to create categories and questions. Fixed this by ignoring module context level q categories in backup when the course module has not already been restored. merged from MOODLE_19_STABLE 2008-02-05 11:27:02 +00:00
jamiesensei
9aa2d50136 this function should work for all modules but forgot to remove 'quiz' from sql. 2008-02-05 09:23:51 +00:00
gbateson
7433742566 MDL-13048 fix indefined course id when importing a Hot Potatoes quiz into the Lesson module 2008-02-05 04:13:51 +00:00
gbateson
9d042298ff fix for MDL-13174 ' replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP4 2008-01-31 07:28:30 +00:00
tjhunt
8bb3fac17c MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres. 2008-01-30 18:18:36 +00:00
pichetp
eb29fc2747 MDL-12255 Adding questiontext decoding and subquestions validation when editing, decodeverifyquestiontext string 2008-01-27 17:16:35 +00:00
pichetp
b119a40f16 MDL-3274 further trimming 2008-01-26 15:21:44 +00:00
pichetp
eba53585bd adjusting input display to answer length MDL-3274 2008-01-26 14:30:29 +00:00
tjhunt
abd616eac4 MDL-13150 - Remove extra <br /> tag for XHTML strict validation - Thanks to Joseph Rzeau 2008-01-24 15:06:51 +00:00
jamiesensei
ede67707a6 MDL-13034 fixes "insertion of question / category ids at the CONTEXT_MODULE level does not respect whether the instance of the module has been selected for backup" and cleans up code a little. 2008-01-18 14:49:59 +00:00
scyrma
aa68a7b0a2 MDL-13020 : deprecates make_table 2008-01-16 08:17:25 +00:00
tjhunt
8b66a42a96 MDL-13011 - Improve import form layout. 2008-01-15 15:25:02 +00:00
thepurpleblob
86b685208d MDL-12016:
Read xml structure correctly to get category path.

Merged from STABLE_19
2008-01-15 14:52:49 +00:00
thepurpleblob
40e7144323 Reverting Mike C's change in MDL-12016 2008-01-15 14:35:59 +00:00
pichetp
fa1661c27c MDL12932 -Random Short-Answer Matching does not display correctly in Item analysis report 2008-01-11 14:24:10 +00:00
tjhunt
06e2b0de2a MDL-12771 - change multianswer quetsion type HTML to more closely match that of other question types, in order to fix a layout glitch in Moodle 1.9. 2008-01-08 18:37:46 +00:00
tjhunt
a656e0de48 MDL-12785 - Partially correct tick icon not displayed for MULTICHOICE, single answer questions. Fix thanks to Joseph Rzeau. Merged from MOODLE_18_STABLE. 2008-01-08 18:29:20 +00:00
tjhunt
cb29abc508 MDL-12666 - When moving questions between categories, we should default to copying amy linked files. Merged from MOODLE_19_STABLE. 2007-12-20 11:28:18 +00:00
tjhunt
9088c6e2e4 MDL-12647 - Moving multiple_choice questions between contexts breaks them.
There was a subtle interaction between get_question_options  and replace_file_links for this question type.

Merged from MOODLE_19_STABLE.
2007-12-19 12:11:03 +00:00
tjhunt
46a5a85b58 MDL-12616 - Improve layout so you can distinguish the student's response to an essay question from the feedback. Merged from MOODLE_19_STABLE. 2007-12-17 12:28:14 +00:00
tjhunt
27cabbe626 MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE. 2007-12-13 18:48:30 +00:00
tjhunt
df06c4bb88 Improve error messages. 2007-12-13 17:24:54 +00:00
tjhunt
d3879eafec Fix Javascript error from essay questions on the review page. 2007-12-12 18:10:48 +00:00
pichetp
4efa376ffb MDL-12421 rounding 2007-12-11 09:13:17 +00:00
pichetp
87cd4f5469 MDL-12503 Loguniform and MDL-12421 rounding 2007-12-11 08:56:24 +00:00
jamiesensei
2c44a3d393 MDL-12410 - a way to select which questions to export, includes debug messages 2007-12-11 03:24:35 +00:00
tjhunt
c85aea03d3 Fix notice in numerical question. 2007-12-10 11:57:24 +00:00
tjhunt
6e4ca69ad7 MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE. 2007-11-30 11:00:48 +00:00
toyomoyo
3ea69b8d43 MDL-12346, lesson module GIFT import fails 2007-11-29 04:31:57 +00:00
tjhunt
e049dee30a MDL-12330 - moving a question that uses an image in a subfolder of course files, where the same subfolder does not exist at the destination, fails. Merged from MOODLE_19_STABLE. 2007-11-28 16:43:20 +00:00
tjhunt
556be2831b MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE. 2007-11-28 12:45:57 +00:00
scyrma
d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
tjhunt
3a513ba4df MDL-12282 - fix typo in previous commit. Sorry. 2007-11-22 11:51:16 +00:00
tjhunt
75082bdd89 MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE. 2007-11-20 17:52:16 +00:00
tjhunt
b4d7d27cea MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE. 2007-11-20 16:57:22 +00:00