82 Commits

Author SHA1 Message Date
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
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
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
stronk7
107919b0d6 Only decode from utf8 if we aren't running under utf8.
Please, test it. Thanks!
2006-03-28 19:18:38 +00:00
stronk7
ef138cea77 Only convert to UTF8 if we aren't running under UTF8.
Please, test this is correct, thanks!
2006-03-28 18:53:16 +00:00
gbateson
e7801d39dc improved handling of relative URLs for media files in jqz files 2006-02-24 09:57:25 +00:00
gbateson
4a2360ac71 improved conversion of relative URLs for some Flash players 2006-02-23 21:24:25 +00:00
gbateson
e5be91b770 correctly handle HTML entities in readings 2006-02-16 10:17:48 +00:00
gbateson
cfbaea0056 small change to get CSS background images displayed on site where PHP's server API is "CGI". Micro increment version number to 2.1.12 2006-02-08 02:47:22 +00:00
gbateson
2266fc893e fix typo: "get_user_preference" => "set_user_preference" 2006-01-21 06:48:23 +00:00
gbateson
05b88e80df addslashes to "name" and "summary" when they are set from the HP quiz file;
increment version to v2.1.10
2006-01-20 11:27:52 +00:00