18705 Commits

Author SHA1 Message Date
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
thepurpleblob
b9709b76d9 Corrected oversight with uploaded file filters change
See http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 12:54:24 +00:00
thepurpleblob
e11108a580 $CFG->filteruploadedfiles off by default.
See http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 12:39:16 +00:00
thepurpleblob
2f9bd37cc3 Added proper check for $CFG->filteruploadedfiles, so that text/plain files
are not converted to text/html if this is 'off'
See discussion: http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 10:43:23 +00:00
thepurpleblob
88118bb173 Range of settings improved for $CFG->filteruploadedfiles
See discussion: http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 10:39:33 +00:00
thepurpleblob
741f827adc Added text strings for more versatile $CFG->filteruploadedfiles setting
and changed help string to suit.
2006-02-21 10:37:44 +00:00
urs_hunkler
55a997d08a some missing icons added 2006-02-21 07:44:53 +00:00
urs_hunkler
5452c7255c Comments from Andy:
config.php contains a new option,  $THEME->chameleonteachereditenabled  by default this is false, preventing teachers from editing chameleon course themes.  css.php has been changed a little to make use of this new property, it now also checks $CFG->allowcoursethemes before letting a teacher edit anything.

There have been some bug fixes in the handling of border shorthands.

Some workarounds to avoid a pretty big IE bug - the addRule method in IE's version of DOM 2 CSS  (which I use to create the live preview of changes), can crash the browser if the selector being added contains certain characters. Now as chameleon generates the preview it checks the selectors against a list of allowed characters - if the selector contains any character not on the list it will be ignored.

I don't think I'm quite there yet, but I made a bit of a change in some of the event handling code which means support for IE 5.5 seems to be getting closer :-)
2006-02-21 07:29:34 +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
vyshane
006e4687cd Added array check when counting number of groups. 2006-02-20 05:09:43 +00:00
vyshane
4c906f7388 List of people in course now shows the number of groups each user is in. Resolves Bug #4799. 2006-02-20 04:59:30 +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 #4806 2006-02-20 01:41:00 +00:00
toyomoyo
f344731398 fix for 4758 2006-02-20 01:30:30 +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
koenr
917dd201c9 Ignored by accident some good advise 2006-02-19 21:39:22 +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
d211bc1db1 Added string used to avoid confusion due to hidden questions, see bug 4217 2006-02-19 17:37:29 +00:00
gustav_delius
2e42186cbb Part of the future question type plug-in mechanism. This is not yet active, I am committing this only so as not to loose it. 2006-02-19 17:30:45 +00:00
gustav_delius
14afbbf034 Added the much-requested question reordering tool 2006-02-19 16:34:06 +00:00
gustav_delius
1c34035a40 Language string for the question reordering tool
Fixed grammar
2006-02-19 16:32:59 +00:00
koenr
64ac757850 Extra help and relieving lecture for during installation. 2006-02-19 16:32:57 +00:00
gustav_delius
cd4f6b27a2 Help file for the question reordering tool 2006-02-19 16:27:02 +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
stronk7
8630fd4be7 Done, changing some files with DOS linefeeds to Unix linefeeds. Bug 4763.
(http://moodle.org/bugs/bug.php?op=show&bugid=4763)
2006-02-19 10:31:21 +00:00
koenr
a8126fc554 XHTML compliance typo 2006-02-18 21:35:30 +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