392 Commits

Author SHA1 Message Date
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
skodak
7a3fafb6b4 MDL-14617 removed old legacy function emulations 2008-05-01 22:03:15 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
gbateson
5abcfe582d trigger the updating of grades from earlier versions of Moodle
merge other fixes from Moodle 19 hotpot/lib.php
2008-03-27 08:14:44 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
nicolasconnault
b64792f664 MDL-13736 Wrapped the link in a div and fixed the style. Merging from MOODLE_19_STABLE 2008-02-29 21:46:14 +00:00
gbateson
2eb9cce68e MDL-13328 correct the counting of attempts when clickreporting has been enabled 2008-02-07 04:17:55 +00:00
nicolasconnault
fb739b77e0 MDL-13050 merging from 1.9 2008-02-04 13:57:36 +00:00
gbateson
4c1c3dfb71 fix Undefined index: studentfeedbackurl in mod\hotpot\mod_form.php on line 305 2008-01-28 00:51:43 +00:00
gbateson
c5d7d04624 fix Undefined property: stdClass::$displaynext in mod\hotpot\lib.php on line 356 2008-01-28 00:49:58 +00:00
nicolasconnault
6dac764d18 MDL-13050 Reverting, it's not working out as well as planned 2008-01-21 13:40:47 +00:00
gbateson
e5eabf22fe fix Undefined property: stdClass::$studentfeedbackurl (line 282) and Undefined property: stdClass::$cellcontent2 (line 1081) in mod/hotpot/lib.php 2008-01-21 08:16:02 +00:00
gbateson
ab327964e7 fix MDL-13047 in which an invalid SQL query was run if no attempts were foudn to match the conditions of the required report 2008-01-21 08:13:46 +00:00
gbateson
0c78faaa1c fix Error in call to helpbutton function: at least one of $title and $linktext is required 2008-01-21 08:09:31 +00:00
nicolasconnault
406af084a3 MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules 2008-01-18 14:44:45 +00:00
skodak
eafb9d9eda MDL-12458 fixed gradebook upgrade/update problems when not grades yet in activities; merged from MOODLE_19_STABLE 2007-12-25 20:51:23 +00:00
poltawski
b070f1c78b MDL-12707 - moved hotpot/ lams to use new admin settings 2007-12-22 19:57:46 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
gbateson
b3c6fa1e92 MDL-12318 filter/mediaplugins/filter.php can no longer insert mediaplayers into javascript, so hotpot module now requires its own filter to mimic behavior of multimedia filter in Moodle 1.7 2007-11-27 08:46:40 +00:00
gbateson
8f95eff2ca fix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql.sql is not found. This allows upgrade direct from Moodle 1.5 (or earlier) to Moodle 1.8 (or later) 2007-11-12 08:54:35 +00:00
poltawski
b18921676e MDL-11124 - Allowed 'There are no [modulename]' translations. This is currently
hardcoded and can be discovered through the user interface resonably easily.

Merged from MOODLE_19_STABLE
2007-10-29 10:44:50 +00:00
gbateson
7762e45ef4 improve XHTML compatability of HotPot reports; fix termination of <input> tags for JCloze and JQuiz 2007-10-22 01:48:14 +00:00
gbateson
f6c4bee314 improvements to XHTML compatability (merged from 1.9) 2007-10-21 03:02:55 +00:00
nicolasconnault
ed818bbdbf MDL-10905 iterating correctly with readdir (as shown in php doc) 2007-10-15 05:18:58 +00:00
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
gbateson
68a5a1244d added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors 2007-10-08 06:45:27 +00:00
gbateson
b3687f28f1 use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame 2007-10-04 05:32:27 +00:00
gbateson
caf971045a added 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_update_grades", "hotpot_grade_item_update" and "hotpot_grade_item_delete" 2007-10-02 07:46:49 +00:00
gbateson
b2ae61320b use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL 2007-09-30 04:21:52 +00:00
gbateson
88fe6acf9e change CONTEXT_MODULE to CONTEXT_COURSE in order to fix "Invalid context creation for level 50 instance" error on "mod/hotpot/index.php" caused by get_context_instance(CONTEXT_MODULE, $course->id) in "mod/hotpot/lib.php" 2007-09-26 07:22:06 +00:00
gbateson
b64748eb54 corrected include path for "moodleform_mod.php"; changed $course->id to $COURSE->id; 2007-09-25 21:43:39 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
skodak
85c9ebb926 MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere() 2007-09-18 18:37:58 +00:00
gbateson
c8e1555d63 fixed results not being because of commented out "interceptFeedback" (probably left over from debugging) 2007-08-25 01:54:30 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
skodak
bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +00:00
skodak
5bf243d131 MDL-10383 - groups/groupings refactoring nearly finished ;-) 2007-08-16 11:06:48 +00:00
skodak
62d6383803 MDL-10383 - groups/groupings refactoring and improvements - basic UI for groupings implemented 2007-08-16 09:28:18 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
gbateson
b9cb227378 changes to add new mod_form.php script to add/update hotpots 2007-08-03 05:06:30 +00:00
gbateson
1094f0637f add extra parameter to "hotpot_print_show_links" function so that links can be printed (the default action) or returned to the calling function as a string 2007-08-01 05:35:29 +00:00
gbateson
620aca0ac2 set"reportusers" to PARAM_ALPHANUM, so that it can accept userids and group names 2007-08-01 05:33:49 +00:00
gbateson
b2909a8e18 further fix for javascript errors: getElementById -> document.getElementById 2007-08-01 05:29:01 +00:00
gbateson
33934912cc correct 2 javascript errors: "getELementById not defined" and "parseint not defined" 2007-08-01 05:20:46 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
gbateson
7048c71984 make sure $hotpot->id is set when adding calendar events for new HotPot 2007-06-26 12:10:12 +00:00