691 Commits

Author SHA1 Message Date
tjhunt
cb354a653c Fix comedy require_once. Merged from MOODLE_16_STABLE. 2007-04-24 21:16:14 +00:00
tjhunt
7d87171ba9 MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle. 2007-04-24 16:59:32 +00:00
tjhunt
fe76ab5006 MDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE. 2007-04-23 16:23:17 +00:00
tjhunt
fe6480283c MDL-9447 - Default grade field is redundant in embeded answer (Cloze) question. Merged from MOODLE_18_STABLE. 2007-04-23 13:55:22 +00:00
pichetp
1d9bc9a60d add string of Update the category button 2007-04-20 02:43:28 +00:00
tjhunt
e3b2eb60e1 MDL-9432 - Forgot to return success/failure in two places. 2007-04-19 17:37:14 +00:00
pichetp
0dd3e11c8c add an update category submit button to update the display of shareable wild cards 2007-04-19 16:49:25 +00:00
jamiesensei
dac786f300 MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists. 2007-04-19 08:57:54 +00:00
tjhunt
c85607f0be MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle. 2007-04-18 15:56:21 +00:00
tjhunt
3e0647ffaf MDL-9342 - Let the question author choose how the options are numbered in Multiple choices questions. 2007-04-13 21:16:04 +00:00
tjhunt
3509094e65 Remove blank line at start of file. 2007-04-13 16:25:10 +00:00
tjhunt
99ba746d29 MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS.
If there are any of the files styles.css, styles.php, script.js or script.php in the plugin folder, they will be linked to in the head of the quiz attempt page (only for the question types used on that page).

If you need to do something more complicated in your question type, you can override the get_html_head_contributions method instead.
2007-04-12 15:58:32 +00:00
tjhunt
dcc2ffde63 MDL-9082 - moodle/question:manage does not let you create questions. Also: * remove useless option from print_question_icon * use the right module context in question_list * a bit of XHTML strrrict in question_list Merged from MOODLE_18_STABLE. 2007-04-11 22:57:46 +00:00
tjhunt
add2d7acdf MDL-9244 - From Moodle 1.9 onwards, don't support question types that have not updated and provided a moodleform for editing. 2007-04-11 21:21:06 +00:00
tjhunt
54074fb872 MDL-9303 - General Feedback not shown for essay questions on review screen. Merged from MOODLE_17_STABLE. 2007-04-11 19:04:52 +00:00
thepurpleblob
d19d228e7c MDL-9123:
Added language string for error message
2007-04-11 12:18:28 +00:00
thepurpleblob
22afe6d699 MDL-9123:
No check was made of the validity of the category id read from the form.
So it could theoretically have been spoofed.
2007-04-11 11:00:26 +00:00
tjhunt
1b16ecd1ca MDL-9208 - Only hightlight the correct answer if that option is set. 2007-04-04 18:01:36 +00:00
tjhunt
288731fa09 Bug 2951 - correct PARAM_ types for answers to multichoice and shortanswer questions. Merged from OU Moodle. 2007-04-04 16:51:10 +00:00
tjhunt
d95c82ab59 MDL-9173 - Can't create match anything answer to numerical question type. Merged from OU Moodle. 2007-04-02 13:02:09 +00:00
moodler
782573e86d Merged solution for MDL-6458 typo 2007-03-31 05:25:41 +00:00
tjhunt
b63c5b5905 MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form. Manual merge of the corresponding change from MOODLE_17_STABLE. 2007-03-29 23:00:48 +00:00
pichetp
c9e4ba362d integrate the new $question->export_process parameter for export 2007-03-29 09:09:16 +00:00
thepurpleblob
fccf96bdeb Mmm... bit of comment oddness crept in. Don't know if it was a slip of an
editor key by yours truly!
2007-03-28 12:04:08 +00:00
thepurpleblob
5fd8f999d3 A couple of changes to Pierre's calculated question import/export
export_process and import_process flags now apply to all questions
and what looked like a development print_r has been commented out.
2007-03-28 11:58:44 +00:00
pichetp
725ba2a062 first version of calculated question import, MDL-8673, somme echos left to diagnostics
possible bugs
2007-03-28 05:00:36 +00:00
pichetp
cb0245556f creating correctly a new shared dataset on import 2007-03-28 04:51:50 +00:00
pichetp
3f76dd525f adding import and export datasets functions 2007-03-28 04:03:07 +00:00
tjhunt
88495aa8d2 Followup to MDL-8994 - validate the category id we got from the form. Merged from MOODLE_18_STABLE. 2007-03-22 22:02:14 +00:00
tjhunt
6a5e9a8506 MDL-9004 - Breadcrumb trail is wrong when editing a quiz question. Merged from MOODLE_18_STABLE. 2007-03-22 11:46:15 +00:00
tjhunt
6000365ee4 MDL-8994 - Question category selector on the question type editing forms is ignored. Merged from MOODLE_18_STABLE. 2007-03-22 00:10:47 +00:00
tjhunt
c2f8c4be5f Improve string handling in the question type base class. Merged from MOODLE_18_STABLE. 2007-03-21 17:12:50 +00:00
thepurpleblob
1710226966 Check for empty text strings. Thanks to Quedoc. 2007-03-21 11:18:28 +00:00
tjhunt
d187f66046 MDL-8946 - Fix a regression that broke question export. Also, partially clean up the way that question bank navigation tabs are printed, so the code is not duplicated in the quiz. Some other miscellaneous code cleaning too. Merged from MOODLE_18_STABLE. 2007-03-21 10:41:28 +00:00
pichetp
830e47a817 Give the question bank code sensible PHPdocumentor package names. 2007-03-21 02:04:53 +00:00
tjhunt
77fa3a0dad MDL-8978 - Regression from MDL-6386. Merged from MOODLE_16_STABLE. 2007-03-21 00:19:24 +00:00
tjhunt
93c80e1c0e MDL-8140 Other units disappear from the editing form when there is no unit with multiplier 1. Merged from MOODLE_18_STABLE. 2007-03-20 22:23:56 +00:00
tjhunt
1f8db78091 MDL-6386/MDL-6462 - yet more special character issues with multianswer. I think I have got them all this time. 2007-03-20 14:30:44 +00:00
tjhunt
b25486fc72 Matching qestion type was failing to correctly determine wheterh the student had changed their answer. 2007-03-20 14:06:56 +00:00
pichetp
9e20fbc2f4 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 14:05:10 +00:00
pichetp
41a89a0748 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:10:26 +00:00
pichetp
bd2b6ad362 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:03:18 +00:00
pichetp
1976496e38 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 22:04:30 +00:00
tjhunt
4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
poltawski
76a2edc8fd MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,
thanks to Joseph Joseph Rézeau  for his attention to this issue. Merged
from MOODLE_18_STABLE
2007-03-17 22:55:05 +00:00
tjhunt
e51efd7ea7 MDL-6462 - Cloze (multianswer) question special character issues. Merged from MOODLE_16_STABLE. 2007-03-15 12:59:10 +00:00
skodak
b4c46a8b0f MDL-8913 use proper returned reference assignment for forms elements (PHP4 trouble); merged from MOODLE_18_STABLE 2007-03-15 12:42:39 +00:00
tjhunt
277e551b88 Oops, reverting. Eloy had already fixed it. 2007-03-14 21:10:55 +00:00
tjhunt
2099d05dec MDL-8232 - can't use = on TEXT colums with MSSQL - was breaking numerical question type upgrade. 2007-03-14 21:07:37 +00:00
thepurpleblob
3bf7621121 Fixed true/false bug due to new 'correctanswer' field. 2007-03-14 15:16:20 +00:00