Commit Graph

32 Commits

Author SHA1 Message Date
Gordon Bateson 8785967704 mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank 2010-06-10 23:42:23 +00:00
Petr Skoda 2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Gordon Bateson cb514f984e for consistency, use 0x80 instead of 128 in hotpot_charcode_to_utf8() 2009-12-14 03:29:33 +00:00
Gordon Bateson eaa658c4b2 MDL-20810: add missing function hotpot_charcode_to_utf8() required when importing Hot Potatoes files containing non-ascii chars into Moodle question bank 2009-12-08 04:13:20 +00:00
Petr Skoda aeb15530b8 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:52 +00:00
tjhunt 964c571975 question import/export: MDL-20299 fix regression I introduced yesterday in hotpot import/export 2009-10-01 10:12:29 +00:00
tjhunt eaf3fd7a45 question import/export: MDL-20299 fatal error cause by hotpot format changes
Replaced copy and paste code from mod/hotpot/lib.php with a require_once.
2009-09-30 17:19:32 +00:00
gbateson 50476da5c3 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 2009-09-01 01:25:23 +00:00
gbateson e564571835 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 2009-09-01 01:05:41 +00:00
gbateson eb01b2e976 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 2009-08-31 02:08:00 +00:00
gbateson 489a7b243f MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module 2009-08-31 01:36:01 +00:00
gbateson 8693dca9a0 MDL-18883: fix setting of absolute urls for images in subfolders of course files 2009-04-17 01:51:35 +00:00
thepurpleblob 9843511764 MDL-17779
Add simple check that question at least has questiontext before allowing it.
2009-01-05 15:23:10 +00:00
tjhunt cdfaa8386e Removing calls to depricated stripslashes. It is no longer needed with dmllib 2.0. 2008-07-14 15:29:30 +00:00
scyrma 5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak 42519b5d7e MDL-14451 removed 1.4 compatibility code 2008-05-12 22:56:48 +00:00
gbateson 7433742566 MDL-13048 fix indefined course id when importing a Hot Potatoes quiz into the Lesson module 2008-02-05 04:13:51 +00:00
gbateson 9d042298ff fix for MDL-13174 ' replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP4 2008-01-31 07:28:30 +00:00
gbateson 2958e18586 where the correct responses on a JQuiz multiple choice question all have a score of 0%, the scores will be corrected to 100% 2007-10-15 01:00:38 +00:00
poltawski a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
pichetp 41a89a0748 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:10:26 +00:00
gbateson 9d45b55ad0 omit empty answers from JQuiz import 2007-02-03 00:36:18 +00:00
skodak 60f9e36ee8 MDL-8223 - last global $course hacks removed 2007-01-19 10:29:03 +00:00
gbateson 6385429d24 prevent backslashes being inserted before #-sign in HTML entities by converting html-entities to UTF-8 when importing from Hot Potatoes quizzes into Moodle 's standard Quiz module 2007-01-07 12:37:06 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
moodler 5da199169b Merged fixes from MOODLE_16_STABLE which were never merged into HEAD 2006-10-11 09:22:42 +00:00
stronk7 1f1e3288ca Only decode from utf8 if we aren't running under utf8.
Please test it. Thanks!
2006-03-28 19:22:35 +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
gustav_delius 32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
gustav_delius f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +00:00
thepurpleblob 84769fd8a8 Moving quiz import/export files to new question area. 2006-02-24 15:14:09 +00:00