gbateson
f44721b9f7
fix typo: switch (HOTPOT_DISPLAYNEXT_QUIZ)
...
should be: switch ($hotpot->displaynext)
2008-03-27 08:16:44 +00:00
gbateson
e55ee4ba01
force hotpot grades (pre Moodle 1.9 on 27th Mar 2008) to be updated:
...
(1) call "hotpot_updated_grades()" from db/upgrade.php
(2) fix typo in "hotpot_updated_grades()" - "s.id' should be "h.id"
(3) micro-increment version number to trigger the update
2008-03-27 03:41:43 +00:00
gbateson
0c11a3b0df
add "mp3" (used by DewPlayer) to the list of query string parameters to search for when converting relative urls to absolute urls
2008-03-10 01:35:28 +00:00
gbateson
eb84b02feb
remove trailing whitespace on everyline and standardize line endings
2008-03-06 07:34:02 +00:00
gbateson
f01e8f7c24
fix for Moodle 1.8 and 1.9 to allow students to access hidden hotpots which form part of a hotpot chain - see http://moodle.org/mod/forum/discuss.php?d=91861 . In Moodle 1.8 and later the "require_login" function (lib/moodlelib.php) is stricter than in earlier versions of Moodle and checks a module's visibility and groupings access. From Moodle 2.0 on, this HotPot module does not need this fix.
2008-03-06 06:59:44 +00:00
gbateson
04d1cad3bf
Fix Undefined property: stdClass::$displaynext in mod\hotpot\lib.php on line 356
2008-01-27 23:55:29 +00:00
gbateson
9455d7c920
fix Undefined property: stdClass::$studentfeedbackurl (line 282) and Undefined property: stdClass::$cellcontent2 (line 1081) in mod/hotpot/lib.php
2008-01-21 07:33:33 +00:00
skodak
e262e268b2
MDL-12458 fixed gradebook upgrade/update problems when not grades yet in activities
2007-12-25 20:50:42 +00:00
gbateson
4761566c54
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:41:00 +00:00
gbateson
0846150380
improvements to XHTML compatability:
...
(1) change & to & in URLs;
(2) correctly terminate <input ... /> and <img ... /> tags;
(3) add closing tag for "page" and "content" divs when not using print_footer()
(4) change "<" and ">" to html entities in open text
2007-10-21 02:52:49 +00:00
nicolasconnault
ca005e23f7
MDL-10905 iterating properly through readdir()
2007-10-15 05:42:20 +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
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
skodak
85c9ebb926
MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere()
2007-09-18 18:37:58 +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
7048c71984
make sure $hotpot->id is set when adding calendar events for new HotPot
2007-06-26 12:10:12 +00:00
gbateson
bb7c8ac797
in XML source files of HP quizzes, convert relative URLs to absolute URLs in links using window.open(...)
2007-06-26 05:05:06 +00:00
gbateson
53b733c427
change relative URLs to absolute URLs in window.open(...)
2007-06-26 02:48:19 +00:00
gbateson
6b1d898f1c
fix superfluous double-quote causing malformed FORM tag (MDL-8675)
2007-03-14 01:22:54 +00:00
gbateson
4e9e64230f
fixed typo in SQL query when starting a new HotPot attempt
2007-01-13 11:46:33 +00:00
gbateson
923aefe7a1
removed db specific conditional clauses from SQL to get grades (see Moodle tracker - mdl-8169)
2007-01-13 02:39:04 +00:00
stronk7
38b7241934
Some more uses of $CFG->dbfamily. MDL-7061
2007-01-13 00:52:59 +00:00
skodak
0d905d9f34
MDL-7861 new class .icon and .iconsmall
2007-01-08 09:14:05 +00:00
skodak
b7dc225654
MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead
2007-01-04 21:32:36 +00:00
skodak
fa73873105
MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit
2007-01-04 18:23:55 +00:00
moodler
f4ba7e1a54
Bend over for XHTML 1.0 Strict ... MDL-8049
...
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
moodler
f274fe073c
Merged AS keyword fixes from stable MDL-7207
2006-10-25 09:04:25 +00:00
moodler
3d81c41e2e
Merged fixes for AS keywords MDL-7207
2006-10-25 08:51:32 +00:00
gbateson
2398e835a8
renamed all $hp to $hotpot; added/update/delete calendar events when adding/updating/deleting hotpots; add functions required for participation report;
2006-10-06 05:56:53 +00:00
gbateson
172ab53650
add/delete calendar events when adding/updating/deleting hotpots
2006-10-01 06:36:50 +00:00
martinlanghoff
d2715c70b6
mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
...
Cleaned up several dbtype conditionals too.
2006-09-26 05:06:44 +00:00
vyshane
583b57b42d
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?
2006-09-24 14:01:50 +00:00
skodak
189bb4a628
fixed warning in hotpot lib when running cron from commandline
2006-09-24 07:38:15 +00:00
gbateson
29f4a60ffe
add get_coursemodule_from_id/instance functions for compatability with Moodles <1.7
2006-09-14 07:29:22 +00:00
gbateson
1897e3ef95
replace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings.string) with two new md5key fields (hotpot_question.md5key + hotpot_strings.md5key), which are the MD5 hash of the respective text fields. Microincrement version number to 2006083101
2006-09-01 02:08:39 +00:00
toyomoyo
81e956b964
added some capabilities
2006-08-30 08:43:17 +00:00
moodler
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
gbateson
6075dd444f
Give Up button modified to send results and set status to Abandoned. Microincrement release to 2006052200 (release = v2.1.20)
2006-05-22 00:10:23 +00:00
gbateson
2cea2a74b4
fixed handling of square brackets in JCloze on older PHP sites. Micro-increment version to 2006050200 (v2.1.19)
2006-05-02 05:18:01 +00:00
gbateson
1872962d5c
corrected handling of tables within JCloze text (a lot of vertical space was being added)
2006-04-18 12:20:18 +00:00
gbateson
23efbfa15e
improved readability of reg. exp. in adjust_media_urls function
2006-04-16 02:10:14 +00:00
gbateson
0e6e81a4a8
fix "Force Plugins" behavior to correctly detect media players in JavaScript
2006-04-15 08:17:30 +00:00
skodak
354d3295d4
removed outdated xxx_param() functions
2006-04-14 15:57:59 +00:00
gbateson
a3d40ea8ae
define PARAM_SAFEDIR (constant) and clean_param (function) if required for compatibility with Moodle 1.3 or earlier
2006-04-05 01:28:12 +00:00
gbateson
c20b623804
make compatible with PHP 5.1.2 by removing variable assignments in calls to functions e.g. myfunction($a=1); Micro-incremented version number to 2.1.15
2006-03-30 03:17:51 +00:00