25840 Commits

Author SHA1 Message Date
tjhunt
c73189115f Work round PHP4 being a stinking pile of crap. 2007-04-13 10:03:10 +00:00
tjhunt
0558f04745 Reveted Nick's alleged typo fix. Thank you very much for trying to fix my code, but your change is definitely wrong. get_context_instance needs to be passed a coursemoduleid, not a coursemodule object. Why did you think there was a typo? And neither of us had noticed that I had left some debug code in. Removing that. 2007-04-13 08:12:08 +00:00
nicolasconnault
933e257ab2 MDL-9322 Fixed non-compliant xhtml code for mnet pages, logs and enrol pages 2007-04-13 07:03:04 +00:00
toyomoyo
115a622d8c merged MDL-9273 related fixes 2007-04-13 05:40:11 +00:00
martinlanghoff
76ab1c33d9 Bug fix: 'off by one'month bug in mupltiple locations.
When the system/user time zone was set to GMT-13 months would lag behind by
one month.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-13 05:04:57 +00:00
nicolasconnault
ff406a88da MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected. 2007-04-13 02:42:49 +00:00
nicolasconnault
f4f274d10c MDL-9273 Applied suggested fix 2007-04-13 02:00:41 +00:00
nicolasconnault
f4c0d852a2 Fixed a typo inadvertently introduced by Tim Hunt in revision 1.85.2.10. 2007-04-13 01:26:22 +00:00
stronk7
6b8b4bcf86 mnethosturl was never being restored. Detected while checking MDL-9309
Merged from MOODLE_18_STABLE
2007-04-12 22:18:05 +00:00
tjhunt
b423cff11a MDL-9325 - mod/quiz:ignoretimelimits does not work. This is a really horrific short-term fix to a problem not of my making. Merged from MOODLE_18_STABLE. 2007-04-12 22:16:47 +00:00
skodak
f01f183d31 MDL-9324 group assignment does not work in uploaduser script; merged from MOODLE_18_STABLE 2007-04-12 21:30:31 +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
jamiesensei
8a3719f517 making notifytiny style a little bigger 2007-04-12 14:59:32 +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
martinlanghoff
7f36ba112b moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 and newer 2007-04-12 03:25:57 +00:00
nicolasconnault
e2c51b2dfb MDL-9223 Fixed a coding error: $group->id changed to $discussion->groupid 2007-04-12 02:23:28 +00:00
toyomoyo
058156cb41 MDL-9291, temporarily disabling blog this link 2007-04-12 02:20:32 +00:00
martinlanghoff
9d411c734b Fixed 'off by one' month bug in month select boxes generated by
print_date_selector when users time zone set to GMT-13.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt <mattc@catalyst.net.nz>
2007-04-12 00:41:31 +00:00
mjollnir_
bd903ae9de merged: fixing warnings in stats lib - rather than doing an include_once and noticing for every missing mod, check the file exists first from MOODLE_16_STABLE, and fixed up some weirdness in the reports 2007-04-11 23:53:15 +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
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
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
skodak
23a947985b MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE_18_STABLE 2007-04-11 14:01:59 +00:00
skodak
7e040a15ed MDL-9296 removing forgotten debug code in admin/mnet/trustedhosts.php; merged from MOODLE_18_STABLE 2007-04-11 13:21:52 +00:00
skodak
5671e77f13 MDL-9286 Incorrect setting of defaults for rpc_negotiation_timeout ; merged from MOODLE_18_STABLE 2007-04-11 13:01:14 +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
toyomoyo
177d4abf11 adding idnumber field for course modules and modedit form 2007-04-11 09:19:24 +00:00
skodak
d525ca256a MDL-9287 missing resultset check in mnet config_form(); merged from MOODLE_18_STABLE 2007-04-11 08:51:01 +00:00
skodak
c9feab8e6c MDL-9286 Incorrect setting of defaults for rpc_negotiation_timeout ; merged from MOODLE_18_STABLE 2007-04-11 08:46:23 +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
donal72
f71a7f8f37 MNET: Uninitialised variable $timenow. Should be time()? 2007-04-10 22:23:37 +00:00
skodak
77b4d4be49 MDL-9075 utf-8 bom is now stripped from uploaded users cvs file; merged from MOODLE_18_STABLE 2007-04-10 15:32:37 +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
toyomoyo
d5cf76e3ff merged fix for MDL-9238 2007-04-10 08:57:48 +00:00
toyomoyo
11993a60b0 merged fix for MDL-9268 2007-04-10 04:26:00 +00:00
moodler
4299da94a4 Automatic installer.php lang files by installer_builder (20070410) 2007-04-10 03:26:52 +00:00
mjollnir_
64aea3f055 Merged from MOODLE_17_STABLE:
add support for https source for popups

previously fullscreen.php tried to load any javascript files that were
running in the popup's parent.
If the source of the script didn't start with "http:" it was assumed
that it must be a relative path. This caused problems when it tried to
make it into an absolute path.
Fixed Regex to include support for https
Credit: Peter Bulmer <peterb@catalyst.net.nz>
2007-04-09 20:40:22 +00:00