5886 Commits

Author SHA1 Message Date
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
csantossaenz
eb0e9d9da7 Fixed problem for the Moodle 1.7 scorm packages which didn't show the structure when you updated your version to 1.8. Now is possible to access to that structure and to each sco as well. 2007-04-12 10:31:33 +00:00
csantossaenz
9d759a0e85 Fixed problem with scorm_get_sco to connect with the API when there is no data in the scorm_scoes_data table. 2007-04-12 10:28:51 +00:00
nicolasconnault
1670305df4 Added a few more comments 2007-04-12 05:59:09 +00:00
nicolasconnault
1f11c89751 Typo, sorry 2007-04-12 05:01:09 +00:00
nicolasconnault
0a4ac01b3e Converted all function comments to PHPdoc style, and added stub phpdocs for functions without comments. 2007-04-12 04:25:47 +00:00
nicolasconnault
e2c51b2dfb MDL-9223 Fixed a coding error: $group->id changed to $discussion->groupid 2007-04-12 02:23:28 +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
nicolasconnault
47c97990b2 MDL-9241 Fixed a typo: used if($mimetype = 'application/x-pdf') instead of == 2007-04-11 06:15:23 +00:00
nicolasconnault
632730fdd7 MDL-9213 Corrected $forum->format to $forum->type 2007-04-11 01:05:28 +00:00
skodak
413efd2200 MDL-7888 rewritten email alerts to graders - "mod/assignment:grade" permission is now used instead of legacy teacher; it should also fix missing alerts when using separate groups; merged from MOODLE_18_STABLE 2007-04-10 14:51:34 +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
mark-nielsen
362f2ce973 Merging in fixes for MDL-8414 and MDL-9250 from MOODLE_18_STABLE 2007-04-08 21:02:16 +00:00
mark-nielsen
c786e13547 Merging the removal of the "wtf" 2007-04-07 19:23:13 +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
nicolasconnault
a1b9b374b9 MDL-9198: Embedded PDF now works fine in FF 1.5, FF 2, IE5, IE6, IE7 and Opera, and degrades beautifully in non-supported browsers (or when plugin is missing). 2007-04-05 05:51:12 +00:00
nicolasconnault
ac4c12c5bd MDL-9204 New submission wasn't given a timemodified upon creation. 2007-04-05 03:19:58 +00:00
nicolasconnault
2bf7e0b1be Fixed broken XHTML 2007-04-05 02:12:28 +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
csantossaenz
730d42b336 DB UPGRADE for SCORM 2004 2007-04-04 12:34:22 +00:00
nicolasconnault
468f5d6896 MDL-9124 Added a visual notification when group membership doesn't allow adding discussions. 2007-04-04 06:27:50 +00:00
toyomoyo
2d7617c67f merged fix for MDL-9185 2007-04-04 04:05:53 +00:00
nicolasconnault
20355e5ac2 MDL-9138; Edited lib/xmlize.php to return false when the passed file doesn't return any entries (when it's not valid XML or is empty). Also made it much clearer that glossary/import requires an XML file, not just any old file. 2007-04-04 03:35:23 +00:00
nicolasconnault
f08054d974 MDL-9193 2007-04-04 02:22:34 +00:00
stronk7
8d2191e60c Show continue button after importing glossary. MDL-9071
Merged from MOODLE_18_STABLE
2007-04-03 15:44:17 +00:00
nicolasconnault
bfe1e789de MDL-8774: Also an effort to refactorise the poorly designed mod/data/Preset code. 2007-04-03 03:32:46 +00:00
tjhunt
7d0763a008 Missing format_string. Merged from MOODLE_18_STABLE. 2007-04-02 15:26:31 +00:00
skodak
651268e00e MDL-9155 Error when creating an "image gallery" preset database when only some fields exist and do not remove existing data, comments and ratings when applying preset; merged from MOODLE_18_STABLE 2007-04-02 09:10:26 +00:00
skodak
376c9c70e9 merging changes from MOODLE_18_STABLE 2007-03-30 21:23:09 +00:00
tjhunt
46e910c7cd Fix notice. Merged from MOODLE_17_STABLE. 2007-03-30 09:34:05 +00:00
toyomoyo
65391c1aa3 fix for MDL-9021, missing add_to_log() call 2007-03-30 08:00:42 +00:00
toyomoyo
5bd76d7fba merged fix for MDL-9097, xhtml fixes for glossary 2007-03-30 07:04:43 +00:00
gbateson
3ce4a4d12a fix the display of the special chars keypad (in JCloze and JQuiz) 2007-03-30 03:43:00 +00:00
danmarsden
f2bb50394f fix for MDL-9087 screwy page when user places table into online assignment. - merging changes from Moodle_18_stable 2007-03-30 02:10:58 +00:00
stronk7
ab397f2613 Fixing approval interface. Step4. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-30 00:28:02 +00:00
stronk7
a5c3d160dc Fixing export interface. Step3. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 23:25:04 +00:00
stronk7
6ca980741f Fixing import interface. Step2. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 23:13:09 +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
stronk7
136ce8dee2 Moving options from 2nd tab to main area. Step1. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 22:19:29 +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
toyomoyo
bcc723bcea merged fixing a warning 2007-03-29 06:34:40 +00:00
csantossaenz
43edb6269a Fixed backup problem for scorm module. Now, it includes needed files in moddata/scorm. even though the backup is done without user data and files 2007-03-28 15:14:15 +00:00