139 Commits

Author SHA1 Message Date
gustav_delius
f7fccc0362 Make sure category from correct course is shown. 2006-04-18 22:53:38 +00:00
thepurpleblob
2c49e71073 Paramater cleaning for category name too restrictive for non-ascii
language encodings. Bug #5224
2006-04-18 14:20:02 +00:00
gustav_delius
54b3626b9f Moved all question deletion code to showbank.php. Fixed bug 5186 2006-04-17 05:31:21 +00:00
moodler
d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
gustav_delius
bd9964841d Fixed bug 5187 that led to error when creating cloze question 2006-04-13 21:23:15 +00:00
thepurpleblob
296cb5b57b More logical wording on button to import from local file 2006-04-13 12:10:28 +00:00
thepurpleblob
25ee4157c8 missing courseid parameter in "grades not not add up to 100%" check. 2006-04-13 08:45:11 +00:00
gustav_delius
da1cc5a44e Fixed problem with slashes, bug 5177 2006-04-13 00:37:14 +00:00
gustav_delius
89a6e4358a Fixed parameter type for $confirm 2006-04-11 22:22:31 +00:00
gustav_delius
44582764af Fixed recoding of parent field for random questions 2006-04-11 21:40:28 +00:00
gustav_delius
ab620fbf2b Added call to optional_param() 2006-04-11 20:42:31 +00:00
gustav_delius
424dba12cf Fixed typo preventing the editing of multianswer questions. 2006-04-11 07:16:10 +00:00
gustav_delius
cbe20043b5 Whenever a question is edited the version field is set to question_hash(), see bug 2958. 2006-04-10 22:10:32 +00:00
gustav_delius
9d4cbe5615 Manual grading report plugin is now no longer essay-specific. 2006-04-10 20:28:46 +00:00
gustav_delius
097bd3f5e8 No longer print the comment boxes for each question in review because it was too slow. We are back to opening the comment box in a popup window. 2006-04-10 19:58:34 +00:00
sam_marshall
96463e677e Another Postgres install fix (this time it was using mdl_ instead of prefix_) 2006-04-10 09:55:31 +00:00
gustav_delius
cf156ab045 Taking out random question hack that is no longer needed. 2006-04-09 22:43:22 +00:00
mark-nielsen
a472184c7b Updated questiontype.php to make essay compatible with manual grading (aka removed a lot of code).
Adding display.html as a display html template for the essay question type

TODO: drop the question_essay_states table and migrate comments to question_sessions
2006-04-08 21:51:29 +00:00
mark-nielsen
dbb3c4c6ea Added $prefix to form fields so that this code could be used with manual grading 2006-04-08 21:48:31 +00:00
gustav_delius
7c404f9b2b Fixed some small xhtml problems and removed a warning 2006-04-08 14:20:52 +00:00
mark-nielsen
6e49714287 Changed the Make comment or override grade link display the comment field and grade field in review.php instead of popup 2006-04-08 10:29:25 +00:00
mark-nielsen
42b245d1ca Moved the submit button to question_print_comment_box in lib/questionlib.php 2006-04-08 08:16:04 +00:00
gustav_delius
b6e907a245 Manual grading 2006-04-07 16:00:29 +00:00
gustav_delius
03c541cb9a class clearfix is the medicine against collapsing divs, see bug 5119 2006-04-07 07:55:48 +00:00
gustav_delius
5f4f608811 Replaced layout table around question by div. Doesn't display right in firefox yet. 2006-04-07 06:08:55 +00:00
gustav_delius
6463e8a6b6 Fixing a large number of tidy warnings 2006-04-06 20:35:49 +00:00
gustav_delius
755bddf118 Improvements to response history. Three small bug fixes. 2006-04-06 19:59:02 +00:00
gustav_delius
01bd54e0cb Jean-Michel's fix to the get_actual_responses() method 2006-04-06 16:43:41 +00:00
gustav_delius
3a5a6f59a3 Introduce field for teacher comments, in preparation for manual grading 2006-04-06 16:42:00 +00:00
gustav_delius
e49a8d099e Supply default values for more arguments of question_list() 2006-04-06 12:54:48 +00:00
gustav_delius
22c08850d7 Fixing stupid typos from previous commit 2006-04-05 20:02:37 +00:00
gustav_delius
4feb8730d7 Fix to make it work without globals hack 2006-04-05 19:43:42 +00:00
gustav_delius
ded180686e Fix to make it work without globals hack 2006-04-05 19:35:51 +00:00
gustav_delius
7baa9c8016 Fixing the name of the PostgreSQL files 2006-04-05 06:11:40 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +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
8cc274defc Changed the get_actual_responses() method to truncate at 40 characters, contributed by Jean-Michel. 2006-03-28 08:27:56 +00:00
gustav_delius
223ad0b94b Better fix for bug 3225 that is reading the precision setting from php.ini, contributed by Paulo 2006-03-28 07:39:36 +00:00
gustav_delius
66125eda14 Fixed incorrect use of quiz_get_renderoptions. This quiz-specific function should in future be removed from this question code 2006-03-28 07:37:51 +00:00
gustav_delius
5eae68aa2a Fixed tolerance problem, see bug 3225 2006-03-27 16:38:44 +00:00
gustav_delius
ffa1f07890 Removed notices caused by empty responses 2006-03-27 08:38:55 +00:00
moodler
6be88c6af0 Shortanswers can now be '0' 2006-03-26 15:03:08 +00:00
gustav_delius
a239d1d92c Renamed the question style class from question to que, see bug 4904 2006-03-26 11:11:29 +00:00
gustav_delius
f1b50ee94c Use existing language string for correct answer 2006-03-25 21:36:00 +00:00
gustav_delius
d7bc70247c Fixed typo 2006-03-25 21:04:44 +00:00
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
gustav_delius
5c2447494d These are no longer needed because the backup functions are part of the questiontype classes now. 2006-03-24 20:44:13 +00:00
gustav_delius
aaae75b04f Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:54:13 +00:00
gustav_delius
1fc29d8a1e Taking out help button from the grade option, there is really no help required. 2006-03-23 19:51:58 +00:00