1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-27 11:02:38 +01:00

4251 Commits

Author SHA1 Message Date
gustav_delius
4546212ce3 Keep the action icons in the category questions list from wrapping. Eventually this editing page needs to be styled properly with css. 2006-02-22 19:19:42 +00:00
gustav_delius
f7cf31f594 Some mysql versions appear not to be willing to convert an empty string into a float. So setting all empty fields to 0 first. 2006-02-22 19:12:29 +00:00
thepurpleblob
ce5a4f3284 Split out category class, and moved display part of code to it's own
section. About to make some changes related to large numbers of
categories (pagination etc).
2006-02-22 10:47:20 +00:00
gustav_delius
f9cd8ce632 To determine whether a question has been graded we can now no longer look at wether the grade is the empty string because the grade is now always a number. Instead we use the $state->last_graded->event field. 2006-02-22 00:17:17 +00:00
urs_hunkler
c02131ec37 started to build the CSS for the new quizzes. While working on it I will write all into styles.php. When finished I will put the CSS into the standard themes. The quiz part in the standard theme is deactivated. 2006-02-21 23:53:52 +00:00
gustav_delius
7fddf77ea5 display template for truefalse questions. Also simplified the code. 2006-02-21 23:08:11 +00:00
gustav_delius
dcfa8b2aa9 No submit button in readonly mode 2006-02-21 23:06:47 +00:00
gustav_delius
3fc63cbe96 display template for shortanswer questions 2006-02-21 13:23:02 +00:00
toyomoyo
c19c05c400 security issues with dangerous template 2006-02-21 07:17:02 +00:00
toyomoyo
5af0b52558 changed data_submitted for secureform; added sesskey 2006-02-21 02:02:24 +00:00
gbateson
bb54c1c756 do not show JCloze clue button, if there is no clue 2006-02-21 00:19:15 +00:00
gustav_delius
fbf0e2a204 Fix for bug 4810 2006-02-20 21:10:13 +00:00
gustav_delius
1d0f9df57e Added CVS hooks to templates 2006-02-20 20:47:48 +00:00
thepurpleblob
35d0543a1a added forcedownload=1 to exported file download.
Partly fixes problem with <pre> tags getting added by file.php
2006-02-20 16:42:01 +00:00
toyomoyo
03b80ff60d real fix for secureforms 2006-02-20 09:34:13 +00:00
toyomoyo
ea6f999dc3 fix for secure forms 2006-02-20 09:31:29 +00:00
gustav_delius
38992f7e23 Changed grade fields to type real, added missing essay question tables. 2006-02-20 09:04:09 +00:00
toyomoyo
850d05ce38 . 2006-02-20 06:07:09 +00:00
toyomoyo
310639ff8c keep comments to the left for IE 2006-02-20 05:50:45 +00:00
gbateson
8faa855d37 encapsulate all functions within class;
rename "get_hotpotatoes_xxx" functions to "hotpot_get_xxx";
rename "seed_hotpotatoes_RNG" function to "hotpot_seed_RNG";
initialize all $question objects using $this->defaultquestion (if possible);
fix decoding of ampersands in HP quiz readings
2006-02-20 05:49:53 +00:00
toyomoyo
b22bd6bc54 took out an extra echo 2006-02-20 05:40:26 +00:00
toyomoyo
bbf0379ca1 fixed navigation after deleting or editting data comment 2006-02-20 05:37:15 +00:00
toyomoyo
8b034b6ddb string fix and empty lines 2006-02-20 03:15:38 +00:00
vyshane
e5689267df Fixed bug in RSS xml file generation.
Fixed bug in file and picture links.
2006-02-20 03:02:32 +00:00
vyshane
af25f45e1a Cleaning up xhtml markup. Code now validates for xhtml 1.0 transitional. 2006-02-20 02:15:45 +00:00
toyomoyo
7541b03f28 changed some grade fields into float type, see 2006-02-20 01:41:00 +00:00
mjollnir_
ebe2c5057b Fixed up a few tiny syntax errors in quiz upgrade 2006-02-19 23:15:55 +00:00
gustav_delius
0f03f3a0c2 This way around will work better. Sorry, I am tired. 2006-02-19 23:08:52 +00:00
gustav_delius
e3d36faadf Tables for essay questions. Penny will check I didn't mess this up. 2006-02-19 23:06:25 +00:00
gustav_delius
c1e24bcd8e Changing grade fields to float for postgre 2006-02-19 22:49:30 +00:00
gustav_delius
3dd1a5c432 Changing grade fields to float for mysql. Asking Penny to do the same for postgreSQL 2006-02-19 22:19:00 +00:00
gustav_delius
c4c7a2a67b Revert the fix to $status because it turns out that for example backup_putid() returns false when called with an id that has already been added. 2006-02-19 21:46:36 +00:00
gustav_delius
e1eed5ccfc Fix for bug 4217 2006-02-19 17:41:27 +00:00
moodler
b8d1372a7b Make Database RSS feed work on Moodle 1.5 as well ;-) 2006-02-19 17:39:59 +00:00
gustav_delius
14afbbf034 Added the much-requested question reordering tool 2006-02-19 16:34:06 +00:00
gustav_delius
7af1e88286 Added comments to the code (when will moodle HQ start commenting their own code? ;-) 2006-02-19 13:26:58 +00:00
gustav_delius
1ef048aed3 Fixing a misprint that was preventing multiple files from showing. 2006-02-18 21:19:04 +00:00
gustav_delius
238bf03473 get_image now only returns the link, leaving the formating of the img tag up to the template 2006-02-18 21:08:34 +00:00
gustav_delius
997a2d5be3 New defaults, strings and help files for shuffle options 2006-02-18 21:07:39 +00:00
gustav_delius
a3b8af3805 Clear all floats before printing the next component. 2006-02-18 20:41:08 +00:00
gustav_delius
0f9f31c81c Using html template for multichoice question 2006-02-18 20:01:36 +00:00
gustav_delius
ee49be211b updated required Moodle version in an attempt to stop people installing the unstable quiz module code (I use unstable in the sense of rapidly changing, not in the sense of buggy of course :-)) 2006-02-18 19:03:06 +00:00
gustav_delius
7f65c565be First steps towards separating logic and layout in the printing of questions: the print_question() method in the default question type now uses the template question.html 2006-02-18 17:32:56 +00:00
gustav_delius
7aa42eb0c8 The import tab has to provide the course id. 2006-02-18 15:11:03 +00:00
gustav_delius
c54da50b29 An additional sorting order for category question list 2006-02-18 15:09:08 +00:00
gustav_delius
a258d4fea8 Make sure teachers can only import into categories for which they have editing rights. 2006-02-18 13:09:59 +00:00
gustav_delius
39230689ef shuffleanswers is always turned on in cloze questions
Feedback popups are now sticky, see http://moodle.org/mod/forum/discuss.php?d=39983#183780
2006-02-17 18:31:15 +00:00
gustav_delius
6551bb8969 Changing headers to decoupling the question editing page from the quiz module. 2006-02-17 17:15:17 +00:00
gustav_delius
fe5a3eb249 Better prompts for multiple choice questions, see bug 2791 2006-02-17 14:14:18 +00:00
toyomoyo
80329e02da forgot timelimit 2006-02-17 02:47:01 +00:00