Git commits in Moodle 1.9.x by Gordon Bateson

commit ad693419543daaa07f3d4dc752bdf8adafdd8f16
Author: Gordon Bateson <gordonbateson@gmail.com>
Date:   Wed, 23 May 2012 08:21:45 +0800
Tag:    v1.9.19

CONTRIB-3662 Hotpot: fix fatal error during restore and general tidy up of spacing

commit bb2714e517b068086262742f10fc6e4daef79f3f
Author: Gordon Bateson <gordonbateson@gmail.com>
Date:   Thu, 17 May 2012 10:23:54 +0800
Tag:    v1.9.19

CONTRIB-3469 - latest version of the HotPot module.

commit 280d8c1d5dabc79d54b040c502132e51c17906f7
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Thu, 21 Oct 2010 11:17:30 +0800
Tag:    v1.9.10

MDL-24779 mod/hotpot tidy up calls to js_value() method which escapes and encodes unicode strings for javascript

commit 1775e5e0420f643aa12de8d70c8ae6077a80eeb6
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Wed, 20 Oct 2010 22:41:52 +0800
Tag:    v1.9.10

MDL-24779 mod/hotpot fix escaping of apostrophes on strings that are used within JavaScript

commit 0e3973f02a5d550dd8bf0d6327ed780affaa6088
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Tue, 06 Jul 2010 16:06:32 +0800
Tag:    v1.9.10

mod/hotpot MDL-17702: fix validation error on nested class="logininfo" elements

commit d666c843b1d09ac7f4d7ddd85ce15f160e18bc7b
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Fri, 11 Jun 2010 07:37:23 +0800
Tag:    v1.9.10

mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank

commit d1174b125c627a24a6e0957c3293b8c9c04dc580
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Fri, 14 May 2010 10:10:41 +0800
Tag:    v1.9.9

MDL-17702 when embedding documents in ie, use iframe for ie and object for others, because forms cannot escape from objcet in ie

commit f5bf248e24f4738510035f7ee19d047b400f1f10
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Sat, 01 May 2010 10:20:30 +0800
Tag:    v1.9.9

MDL-17702 replace iframe with object to be compatible with XHTML 1.0 strict

commit 7480adb9cbd94d95ceb791f66b69f29e7c5ebe83
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Fri, 23 Apr 2010 09:20:16 +0800
Tag:    v1.9.9

fix detection of correct answers in JCross that is not case-sensitive

commit 9f23ea03b1efc0a170c00d4e2834f63255189724
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 15 Mar 2010 18:39:42 +0800
Tag:    v1.9.8

MDL-21817 replace use of preg_match() with /e modifier with preg_replace_callback() and preg_match_all() with a loop

commit b45b9eae4d8ee7af5d5ab1a2b310ce43711727ca
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 15 Mar 2010 18:15:59 +0800
Tag:    v1.9.8

MDL-21817 replace use of preg_match() with /e modifier with preg_match_callback() and preg_match_all() with a loop

commit dfdec574d3cda17d6b891c7bb9275450a50ebf26
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Thu, 11 Feb 2010 10:52:22 +0800
Tag:    v1.9.8

fix student access to HotPots in tail of a HotPot quiz chain

commit 986c607c4b763a92fa3771c49709186a095699cf
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 25 Jan 2010 15:16:45 +0800
Tag:    v1.9.8

do not treat https absolute urls as relative urls

commit 1bef863f845f963b038fe8039c63939e65274c66
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Tue, 12 Jan 2010 15:26:10 +0800
Tag:    v1.9.8

add groupings awareness to HotPot module

commit 811fab85a72879491d6ad3bf73e75edba2fcda04
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 14 Dec 2009 11:28:26 +0800
Tag:    v1.9.8

for consistency, use 0x80 instead of 128 in hotpot_charcode_to_utf8()

commit d113780338d066379710aa2238230871d5edc98b
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Tue, 08 Dec 2009 12:09:59 +0800
Tag:    v1.9.8

MDL-20810: add missing function hotpot_charcode_to_utf8() required when importing Hot Potatoes files containing non-ascii chars into Moodle question bank

commit f50ea0419e8c7fb21176b403cd62b7ac0a5b5cd7
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 09 Nov 2009 09:27:21 +0800
Tag:    v1.9.7

ensure user has_capability('mod/hotpot:attempt', $module) when viewing a HotPot or submitting results

commit 621d9afe4617ef1ed638f063250e594c0f564c20
Author: gbateson <gbateson>
Date:   Fri, 16 Oct 2009 12:23:30 +0800
Tag:    v1.9.6

HotPot: refine detection of media urls in escaped javascript and <param> tags

commit 5934fe5d9434378cdc30b693b0d711f33331a08a
Author: gbateson <gbateson>
Date:   Fri, 25 Sep 2009 14:21:45 +0800
Tag:    v1.9.6

stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites

commit edb3ed1ebb743dcdc6d28826f9e24739f917d3f0
Author: gbateson <gbateson>
Date:   Tue, 01 Sep 2009 09:24:17 +0800
Tag:    v1.9.6

MDL-20184 use $this->error() to print error message if no questions found importing from a Hot Potatoes XML file into Moodle's question bank / Quiz module

commit 10369c9c5b0900d93edeb170eb73d89df96c794a
Author: gbateson <gbateson>
Date:   Tue, 01 Sep 2009 09:04:18 +0800
Tag:    v1.9.6

MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module

commit 42dc4cad266bd374f4d34635e06773f1ffe3ce07
Author: gbateson <gbateson>
Date:   Mon, 31 Aug 2009 10:06:40 +0800
Tag:    v1.9.6

MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file

commit 8fbc9739017a8fb526e386817530c641c3a56aa7
Author: gbateson <gbateson>
Date:   Mon, 31 Aug 2009 09:34:52 +0800
Tag:    v1.9.6

MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module

commit d23699775884aaedb90bfab80ca9b40712536544
Author: gbateson <gbateson>
Date:   Fri, 28 Aug 2009 16:04:33 +0800
Tag:    v1.9.6

HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images

commit 1087d153242ba8092434b56c5b07548447aa3fa7
Author: gbateson <gbateson>
Date:   Tue, 25 Aug 2009 09:14:36 +0800
Tag:    v1.9.6

add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively

commit 40bb96dbece1e95a629d5ec3e23eafab1bfbe2e2
Author: gbateson <gbateson>
Date:   Sun, 24 May 2009 18:22:41 +0800
Tag:    v1.9.6

fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and =>

commit 6f806335e06691961913fa8addb624635994d002
Author: gbateson <gbateson>
Date:   Fri, 08 May 2009 07:01:37 +0800
Tag:    v1.9.5

when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton"

commit 903c830041d8e957c38586e075e022dd568837c7
Author: gbateson <gbateson>
Date:   Mon, 20 Apr 2009 07:53:47 +0800
Tag:    v1.9.5

MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set

commit 66a2d3b1fc6c9fdfc1e099924dacc7d592383124
Author: gbateson <gbateson>
Date:   Fri, 17 Apr 2009 10:24:23 +0800
Tag:    v1.9.5

MDL-17426: removing superflous link to "Selecting a report"

commit beef81db81f52cfcdd7d59e851d11d80a1b0deac
Author: gbateson <gbateson>
Date:   Fri, 17 Apr 2009 09:50:11 +0800
Tag:    v1.9.5

MDL-18883: fix setting of absolute urls for images in subfolders of course files

commit cd0de43baff616106fb3743e5e8830cdf5503aa3
Author: gbateson <gbateson>
Date:   Mon, 30 Mar 2009 15:02:23 +0800
Tag:    v1.9.5

when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase

commit a1e836ace4f99f26ba62c1892e690beb3ff79c7a
Author: gbateson <gbateson>
Date:   Mon, 16 Mar 2009 10:46:54 +0900
Tag:    v1.9.5

force Moodle gradebook grades to be recalculated when HotPot grade method is changed: http://moodle.org/mod/forum/discuss.php?d=117691

commit 3856061526177513a243085f15dfa0324764299e
Author: gbateson <gbateson>
Date:   Sat, 28 Feb 2009 13:03:58 +0900
Tag:    v1.9.5

MDL-18409 add "Remove grade item" to mod_form.php form and standardize grade items for HotPots: (i) remove orphan grade items, (ii) remove grade items for HotPots with a zero grade, (iii) synchronize grade item name and HotPot name (iv) add missing grade items

commit 97268bfcd1ca9d1cb2a1c360453afb8d9376f48e
Author: gbateson <gbateson>
Date:   Sat, 28 Feb 2009 13:00:56 +0900
Tag:    v1.9.5

MDL-18409 new help file for "Remove grade item" form element

commit 61b8ee4cc823c0d3156821a9a4888a10cb34280b
Author: gbateson <gbateson>
Date:   Sat, 28 Feb 2009 12:59:28 +0900
Tag:    v1.9.5

MDL-18409: new message required for "Remove grade item" form element

commit 8d81298c4a5c05c2a9cfaa110acba83711527c10
Author: gbateson <gbateson>
Date:   Tue, 27 Jan 2009 14:33:57 +0900
Tag:    v1.9.4

MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset)

commit 615852be1690ace916bb6ac8a23d8af963853f61
Author: gbateson <gbateson>
Date:   Sun, 21 Dec 2008 10:48:21 +0900
Tag:    v1.9.4

MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls

commit 0105dfc1f3d66f83603c2f316224d43cb5fb3bd1
Author: gbateson <gbateson>
Date:   Thu, 30 Oct 2008 16:27:00 +0900
Tag:    v1.9.4

MDL-16300: use cache to minimize use of get_users_by_capability()

commit 75f484f534325018a468be38fff89f06a4f319e2
Author: gbateson <gbateson>
Date:   Thu, 30 Oct 2008 15:23:41 +0900
Tag:    v1.9.4

use "md5key" as secondary key on hotpot_strings table; allow for non-unique secondary keys on hotpot tables (can happen on hotpot_strings)

commit cba660bfe68de116524771e4d7113792506978f2
Author: gbateson <gbateson>
Date:   Sun, 03 Aug 2008 05:30:37 +0800
Tag:    v1.9.3

MDL-15811 fix quotes: width=240" -> width="240"

commit c6eff884e770a905c06ed5a74b4f4f7ad925a451
Author: gbateson <gbateson>
Date:   Sun, 13 Jul 2008 20:20:30 +0800
Tag:    v1.9.3

improvements to generation of html from xml: JCloze: set textbox size allowing for minimum gap size setting and longest answer; JMatch: allow for duplicates and distractors in RHS items; JQuiz: set textbox size allowing for longest answer, and use textarea if answer longer than 29 chars;

commit 406a9d91d8532b886693943d8f7f77da0e2f47da
Author: gbateson <gbateson>
Date:   Sun, 13 Jul 2008 06:55:39 +0800
Tag:    v1.9.3

fixed a typo in get_baseurl function: get_file_url($this->filedir.'/'); should be get_file_url($this->filedir).'/'; i.e. finial slash should be *outside* the last bracket

commit 680c8b87e9d0c5c0c62415baffcd79c9dccf90cc
Author: gbateson <gbateson>
Date:   Tue, 01 Jul 2008 18:36:53 +0800
Tag:    v1.9.2

MDL-15184: fix sql injection vulnerability

commit b797f83e4f2d3080d1fca6d5339bc349dc181953
Author: gbateson <gbateson>
Date:   Sat, 21 Jun 2008 06:55:11 +0800
Tag:    v1.9.2

add hidden "summarysource" field when updating HotPot. This fixes "undefined property" error from mod/hotpot/lib.php

commit f5018bc5486fec0864ce9b40280e27c26ed1c511
Author: gbateson <gbateson>
Date:   Thu, 19 Jun 2008 19:41:49 +0800
Tag:    v1.9.2

improved setting of LHS and RHS items in JMatch

commit 7ed61cd7492a2baa9a0302d655301c150a56ad5c
Author: gbateson <gbateson>
Date:   Thu, 19 Jun 2008 13:57:44 +0800
Tag:    v1.9.2

allow <img> and other tags in LHS of JMatch in "v6" output format

commit 4200f652add5fced5869d6ff8e932f1e792bbb53
Author: gbateson <gbateson>
Date:   Sat, 07 Jun 2008 09:42:32 +0800
Tag:    v1.9.2

fix conversion of relative URLs in Hot Potatoes "<=" and "=>" buttons on sites where slasharguments as disabled (Site Admin -> Server -> HTTP -> Use slash arguments)

commit 5a761ab83a22c1d3e874cb2cc6c354847e91e0f5
Author: gbateson <gbateson>
Date:   Fri, 11 Apr 2008 13:09:01 +0800
Tag:    v1.9.1

do not show hidden HotPots on mod/hotpot.index.php

commit f44721b9f7a719d5c3542e3a6f218ecde2f10d4d
Author: gbateson <gbateson>
Date:   Thu, 27 Mar 2008 17:16:44 +0900
Tag:    v1.9.1

fix typo: switch (HOTPOT_DISPLAYNEXT_QUIZ) should be: switch ($hotpot->displaynext)

commit 37b267d4ec38c1aef1cf62dd99d75bb412d500c9
Author: gbateson <gbateson>
Date:   Thu, 27 Mar 2008 16:23:31 +0900
Tag:    v1.9.1

fix hotpot version number so hotpot_update_grades is correctly triggered. New version is 2007101511

commit e55ee4ba0128a4a596e962e182991bce2c0ed415
Author: gbateson <gbateson>
Date:   Thu, 27 Mar 2008 12:41:43 +0900
Tag:    v1.9.1

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

commit cbebda6a363d4a5f4d4292894eeb57f67f416dda
Author: gbateson <gbateson>
Date:   Sat, 15 Mar 2008 10:17:01 +0900
Tag:    v1.9.1

require_once $CFG->dirroot."mod/hotpot/lib.php"; // get the "hotpot_is_visible" function

commit 0c11a3b0dfbc505f2e7bf7fd707c7c8ad860f9e7
Author: gbateson <gbateson>
Date:   Mon, 10 Mar 2008 10:35:28 +0900
Tag:    v1.9.1

add "mp3" (used by DewPlayer) to the list of query string parameters to search for when converting relative urls to absolute urls

commit eb84b02febf5398f6f42321e433256bf4e306e01
Author: gbateson <gbateson>
Date:   Thu, 06 Mar 2008 16:34:02 +0900
Tag:    v1.9.1

remove trailing whitespace on everyline and standardize line endings

commit f01e8f7c241133b14c77bd031f930fe15a2e2963
Author: gbateson <gbateson>
Date:   Thu, 06 Mar 2008 15:59:44 +0900
Tag:    v1.9.1

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.

commit a6a781458ecd277b318bb4b47e30cf32e5895bb3
Author: gbateson <gbateson>
Date:   Thu, 07 Feb 2008 13:14:21 +0900
Tag:    v1.9.0

MDL-13328 correct the counting of attempts when clickreporting has been enabled

commit aad4873cc6c21c0ee8af982d006a41c17cc60db8
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:24:24 +0900
Tag:    v1.9.0

MDL-10451 remove extraneous closing </b> tag from lang/en_utf8/help/hotpot/outputformat.html

commit 369865830c37fda2fe32a4c6182c86c5d69e90ae
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:09:58 +0900
Tag:    v1.9.0

MDL-13048 fix undefined course id when importing a Hot Potatoes quiz into the Lesson module

commit cfce2efbf325ef963d97448d3bfe3c87fcb54bd2
Author: gbateson <gbateson>
Date:   Thu, 31 Jan 2008 16:26:08 +0900
Tag:    v1.9.0

fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4

commit 04d1cad3bf82de25b0a38284a92ac8831ad3c6e7
Author: gbateson <gbateson>
Date:   Mon, 28 Jan 2008 08:55:29 +0900
Tag:    v1.9.0

Fix Undefined property:  stdClass::$displaynext in mod\hotpot\lib.php on line 356

commit b09b58f0521de4e0459b9312afa28ff57a8c3623
Author: gbateson <gbateson>
Date:   Mon, 28 Jan 2008 08:47:17 +0900
Tag:    v1.9.0

fix Undefined index:  studentfeedbackurl in mod\hotpot\mod_form.php on line 305

commit 9455d7c9209a02ad19c627367fca462250c7ad26
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 16:33:33 +0900
Tag:    v1.9.0

fix Undefined property:  stdClass::$studentfeedbackurl (line 282) and Undefined property:  stdClass::$cellcontent2 (line 1081) in mod/hotpot/lib.php

commit 5fffec5d492102302f34adb389c6dc4f67ae8767
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 16:00:21 +0900
Tag:    v1.9.0

fix for MDL-13047 where no attempts were found for a particular HotPot

commit 9275a2bae5d404d8a7c541209a27c9fbb92a9ff0
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 15:42:40 +0900
Tag:    v1.9.0

fix for: Error in call to helpbutton function: at least one of $title and $linktext is required

commit 4761566c54b6351d077b15d551d27fe00345b849
Author: gbateson <gbateson>
Date:   Tue, 27 Nov 2007 17:41:00 +0900
Tag:    v1.9.0

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

commit 393150a99692b036d567f0268c04f656e3a0b49e
Author: gbateson <gbateson>
Date:   Mon, 12 Nov 2007 17:53:54 +0900
Tag:    v1.9.0

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)

commit cde191082aa8bb51798d0279836011c49d452999
Author: gbateson <gbateson>
Date:   Mon, 22 Oct 2007 09:43:19 +0800
Tag:    v1.9.0

improve XHTML compatability of HotPot reports; fix termination of <input> tags in JCloze and JQuiz

commit 08461503805280b4e5d9b7e9cbf8b55c0e07ade3
Author: gbateson <gbateson>
Date:   Sun, 21 Oct 2007 10:52:49 +0800
Tag:    v1.9.0

improvements to XHTML compatability: (1) change & to &amp; 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

commit 8ee76d1ffe0f2fc27b6cf39c40297ea7c41debbc
Author: gbateson <gbateson>
Date:   Mon, 15 Oct 2007 08:59:03 +0800
Tag:    v1.9.0

where the correct responses on a JQuiz multiple choice question all have a score of 0%, the scores will be corrected to 100%

commit 68a5a1244d76becdb7d22358cd56100d3171bc9a
Author: gbateson <gbateson>
Date:   Mon, 08 Oct 2007 14:45:27 +0800
Tag:    v1.9.0

added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors

commit b3687f28f12f54707435eaa45c2002d2b00f57dd
Author: gbateson <gbateson>
Date:   Thu, 04 Oct 2007 13:32:27 +0800
Tag:    v1.9.0

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

commit caf971045ab3104e4fcf41aa4669aa92d577197b
Author: gbateson <gbateson>
Date:   Tue, 02 Oct 2007 15:46:49 +0800
Tag:    v1.9.0

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"

commit b2ae61320bb162180ba3ec306dcd1e58701dce46
Author: gbateson <gbateson>
Date:   Sun, 30 Sep 2007 12:21:52 +0800
Tag:    v1.9.0

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

commit 88fe6acf9edd2a93ebc72df27fa335adc7cf5813
Author: gbateson <gbateson>
Date:   Wed, 26 Sep 2007 15:22:06 +0800
Tag:    v1.9.0

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"

commit b64748eb5487ae523b808da637adc91df2aec995
Author: gbateson <gbateson>
Date:   Wed, 26 Sep 2007 05:43:39 +0800
Tag:    v1.9.0

corrected include path for "moodleform_mod.php"; changed $course->id to $COURSE->id;

commit c8e1555d63e5cfaf98b2d221cab264e5f4967408
Author: gbateson <gbateson>
Date:   Sat, 25 Aug 2007 09:54:30 +0800
Tag:    v1.9.0

fixed results not being because of commented out "interceptFeedback" (probably left over from debugging)

commit b9cb227378e1af37ef3b3df3c695a43701865c44
Author: gbateson <gbateson>
Date:   Fri, 03 Aug 2007 13:06:30 +0800
Tag:    v1.9.0

changes to add new mod_form.php script to add/update hotpots

commit 1094f0637f0e12940b8def32b8f663e39e08c4b3
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:35:29 +0800
Tag:    v1.9.0

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

commit 620aca0ac2390b27fb3919396408bd50cb3beb7c
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:33:49 +0800
Tag:    v1.9.0

set"reportusers" to PARAM_ALPHANUM, so that it can accept userids and group names

commit b2909a8e18a9c50ecbb1691a3a4f8bbfdc2a3f9c
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:29:01 +0800
Tag:    v1.9.0

further fix for javascript errors: getElementById -> document.getElementById

commit 33934912cc27b6f50a5a54c1f831a3117dc2adf4
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:20:46 +0800
Tag:    v1.9.0

correct 2 javascript errors: "getELementById not defined" and "parseint not defined"

commit 7048c7198473912027f4d1e5b07a7b2adfa3576c
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 20:10:12 +0800
Tag:    v1.9.0

make sure $hotpot->id is set when adding calendar events for new HotPot

commit bb7c8ac7976d60ddac41e0bf6c269270e08d64ee
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 13:05:06 +0800
Tag:    v1.9.0

in XML source files of HP quizzes, convert relative URLs to absolute URLs in links using window.open(...)

commit 53b733c427af3cb77d15b0b3f1390612a944f523
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 10:48:19 +0800
Tag:    v1.9.0

change relative URLs to absolute URLs in window.open(...)

commit 34f2a964f9b695386ab83339d37e4595987a7f14
Author: gbateson <gbateson>
Date:   Tue, 22 May 2007 12:28:27 +0800
Tag:    v1.9.0

use PARAM_ALPHANUM on "section" parameter so that "section=all" is allowed

commit 34caf003e055c83a93c82909ca17d1bd9067e8af
Author: gbateson <gbateson>
Date:   Fri, 11 May 2007 13:28:28 +0800
Tag:    v1.9.0

when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset')

commit f503b2e6b4743fa93e53201acfd7281e58c9a0fd
Author: gbateson <gbateson>
Date:   Mon, 07 May 2007 10:49:56 +0800
Tag:    v1.9.0

modified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on Safari (Mac)

commit 111a18ebf33939a54a953a1e8688262bc537ed84
Author: gbateson <gbateson>
Date:   Fri, 04 May 2007 10:53:52 +0800
Tag:    v1.9.0

remove duplicate id attribute from body tag; microincrement version to 2007040200 (release 2.4.2)

commit 14c6e7e0eed4e638b1fa644e2362da9a27ea4a31
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 09:02:06 +0800
Tag:    v1.9.0

set default body font-size to "small"

commit 3b494b543cf6538c09028abbeb3e8e7a50013070
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 08:22:50 +0800
Tag:    v1.9.0

add HP 6.2 templates; add compatability with Safari (Mac browser); microincrement version to 2007020201 (release 2.4.1)

commit 3ce4a4d12a00ef97cfabfb914365d66911ba5916
Author: gbateson <gbateson>
Date:   Fri, 30 Mar 2007 11:43:00 +0800
Tag:    v1.9.0

fix the display of the special chars keypad (in JCloze and JQuiz)

commit 6dc323a7ba259b397cd1ae38f0c015c2886b4ce9
Author: gbateson <gbateson>
Date:   Sat, 17 Mar 2007 22:42:47 +0900
Tag:    v1.9.0

fix HotPot reports for groups (MDL-8944)

commit 6b1d898f1cb024bd65170d39670babf7feb363a7
Author: gbateson <gbateson>
Date:   Wed, 14 Mar 2007 10:22:54 +0900
Tag:    v1.9.0

fix superfluous double-quote causing malformed FORM tag (MDL-8675)

commit e5ea6227e69dde82f8950082ddc443c263faacdf
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 14:28:53 +0900
Tag:    v1.9.0

removed unnecessary setting of NULL string fields to '', in hotpot_update_to_v2_1_21.