1506 Commits

Author SHA1 Message Date
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
mattc-catalyst
9ac0c1b328 Breadcrumbs: mod/quiz changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:23:17 +00:00
tjhunt
15aa9df958 MDL-5799 - quiz previews were sometimes showing up in the quiz overview report. Merged from MOODLE_18_STABLE. 2007-04-12 20:11:27 +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
stronk7
73710a4679 Fixing typo causing some (a few) sites to break on upgrade. Credit
goes to Rafa Gutierrez. MDL-9316

Merged from MOODLE_18_STABLE
2007-04-12 15:34:47 +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
807ae30aaa MDL-9079 - Paging broken in quiz overview report. Merged from MOODLE_17_STABLE. 2007-04-11 20:38:02 +00:00
tjhunt
86ccf19cdb MDL-9280 - JavaScript countdown timer did not work in 1.8 due to XHTML strict changes. Also, fixing a few more XHTML strrrrict things in attempt.php. Merged from MOODLE_18_STABLE. 2007-04-11 20:07:36 +00:00
tjhunt
26d12a0c16 quiz/locallib.php clean up:
* Tidy up comment layout.
 * Strip trailing whitespace.
2007-04-10 14:37:36 +00:00
tjhunt
50d7b53ecb attempt.php refactor.
* Move all output code to the end.
 * Make comment style consistent.
 * Trim trailing whitespace from lines.
2007-04-10 14:27:56 +00:00
tjhunt
dc6c8ca1ac Minor cleanups to the quiz code. 2007-04-10 13:02:09 +00:00
skodak
e96167d2fa MDL-9181 Use new password field with reveal option in editadvanced and enrolment, group and quiz keys 2007-04-06 16:23:48 +00:00
tjhunt
7d014bf582 MDL-9224 - Score sometimes relealed, even when the quiz settings say it should not be. Merged from OU Moodle. 2007-04-05 13:54:20 +00:00
tjhunt
b3396fe91d MDL-9183 - yet another invisiblefieldset causing layout problems. Merged from MOODLE_18_STABLE. 2007-04-04 15:30:41 +00:00
toyomoyo
2d7617c67f merged fix for MDL-9185 2007-04-04 04:05:53 +00:00
tjhunt
7d0763a008 Missing format_string. Merged from MOODLE_18_STABLE. 2007-04-02 15:26:31 +00:00
tjhunt
46e910c7cd Fix notice. Merged from MOODLE_17_STABLE. 2007-03-30 09:34:05 +00:00
tjhunt
77b2b1fa43 MDL-9107 (regression from) MDL-8994 - adding random questions to a quiz was broken. Merged from MOODLE_18_STABLE. 2007-03-29 23:12:08 +00:00
tjhunt
fb708c1130 MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:
It used not to work with random questions, and there were problems with the computation of the grade, and regrading. Fix thanks to Paulo Matos, who not only fixed the bug and tested it, but was also incredibly patient waiting for me to have time to commit the changes to CVS.

Merged from MOODLE_17_STABLE.
2007-03-29 16:36:16 +00:00
tjhunt
a6b691d84d Add developer debugging to something that should not happen, and fix one instance of it. 2007-03-29 16:05:55 +00:00
tjhunt
bc67d9b3bd MDL-7241 - Manual grading report, sort by completed time didn't. Merged from MOODLE_16_STABLE. 2007-03-22 21:31:39 +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
4fa684477e MDL-7259 - Item analysis report does not use the right format_text settings. Merged from MOODLE_16_STABLE. 2007-03-21 23:25:33 +00:00
tjhunt
dd46d88e27 Fix whitespace problems and Eclipse warnings in Item Analysis quiz report. 2007-03-21 23:04:51 +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
tjhunt
121609d80a MDL-8299 - Wrong capability on review.php. Merged from MOODLE_18_STABLE. 2007-03-20 22:45:19 +00:00
tjhunt
8745405435 MDL-4084 Backup all question categories in a course, not just the ones from which questions are used in a quiz. Merged from MOODLE_18_STABLE. 2007-03-20 15:06:48 +00:00
pichetp
37236c3581 adding </p> line 112,114 2007-03-16 20:14:22 +00:00
tjhunt
779d35f143 Fix notice. 2007-03-15 12:52:50 +00:00
tjhunt
d2ab495693 MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix. Merged from MOODLE_17_STABLE. 2007-03-14 21:24:44 +00:00
moodler
d293521a90 Merged notice fix from stable 2007-03-05 05:58:28 +00:00
toyomoyo
66c574c908 replacing fieldsets with divs for small forms 2007-03-02 01:03:50 +00:00
tjhunt
31f6834e36 Fix upgrade that MySQL could not cope with. 2007-03-01 16:47:55 +00:00
toyomoyo
e5c158bbbd fixing javascript error in MDL-8652 2007-03-01 05:47:57 +00:00
tjhunt
b9ea2b7ad5 Add a unique index to the question_numerical_units table, to prevent duplicate units being created. 2007-02-28 17:19:04 +00:00
tjhunt
a0807a0091 XHTML Strrrrrrict! on quiz module config page.
Fix errors when config changes are saved.

Merged from MOODLE_18_STABLE.
2007-02-28 12:24:54 +00:00
tjhunt
645dff1cf7 Correct logic for stopping people using guest access from doing quizzes. Merged from MOODLE_18_STABLE. 2007-02-28 11:34:50 +00:00
toyomoyo
862c219ae9 merged replacing <fieldset> with <div> 2007-02-28 08:01:41 +00:00
toyomoyo
375ec5a5b0 merged fix for MDL-8655, replacing <fieldset> with <div> 2007-02-28 07:11:58 +00:00
toyomoyo
5328c274d5 merged fix for MDL-8686, MDL-8576, replacing <fieldset> with <div> for display issues 2007-02-28 04:58:48 +00:00
tjhunt
5eb266d8aa Improve quiz editing screen layout a little bit based on a usability suggestion in the forums.
Also, fix uppercase tag names in the tab row CSS, which did not work at DEVELOPER debug level.

Merged from MOODLE_18_STABLE.
2007-02-27 14:01:46 +00:00
jamiesensei
f5efac7b85 fixes (MDL-8449) Quiz start and close times should allow the teacher to select a time as well as a date. 2007-02-26 06:38:47 +00:00
tjhunt
37b9e8bccc Another wretched adslashes problem. Roll on placeholder. Thanks to Howard Miller. Merged from MOODLE_18_STABLE. 2007-02-20 15:18:46 +00:00
tjhunt
624cbc9c26 MDL-4793 - Option to show question text in the question bank. Also, fix layout problems on the quiz editing screen. Merged from MOODLE_18_STABLE. 2007-02-20 01:48:09 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
tjhunt
09f7fa1183 Missing serf_default on decimal points field. 2007-01-26 17:52:23 +00:00
moodler
0406113fa9 FIxed tabs for quizzes 2007-01-26 06:59:16 +00:00
jamiesensei
3a298174e8 important security fix previous use of ['type'] in repeatedeloptions array would not have worked. 2007-01-21 10:32:42 +00:00
tjhunt
901011fd4d MDL-8205 - Layout of quiz editing screen not right 2007-01-18 17:38:51 +00:00