99 Commits

Author SHA1 Message Date
skodak
621fea38b8 MDL-15110 towards hotpot dml conversion 2008-06-08 19:37:17 +00:00
dongsheng
334f186d61 "MDL-14129, fix print_error" 2008-06-08 09:08:25 +00:00
gbateson
19e8492299 fix conversion of relative URLs in Hot Potatoes "<=" and "=>" buttons on sites where slasharguments as disabled (Site Admin -> Server -> HTTP -> Use slash arguments) 2008-06-07 01:43:47 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
44e1b7d7ff MDL-14679 remoed all instances of get_records_list() 2008-06-01 15:42:48 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
skodak
ae040d4bcc MDL-14679 finished moodlelib conversion 2008-05-30 19:59:50 +00:00
dongsheng
50fb3673ba "MDL-14129, fix print_error" 2008-05-29 02:49:39 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +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
gbateson
c5d7d04624 fix Undefined property: stdClass::$displaynext in mod\hotpot\lib.php on line 356 2008-01-28 00:49:58 +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
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
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