Commit graph

18879 commits

Author SHA1 Message Date
gbateson
4a2360ac71 improved conversion of relative URLs for some Flash players 2006-02-23 21:24:25 +00:00
danmarsden
90ca2ce87d fixed bug with limits not limiting for only enrolled students - limit was counting non-enrolled students as well. - also removed checkboxes to delete response from not-answered column. 2006-02-23 21:20:44 +00:00
gustav_delius
c6293e00db Backing up the 'originalquestion' field 2006-02-23 19:16:39 +00:00
gustav_delius
3eb9904f61 Restoring the 'originalquestion' field 2006-02-23 19:14:51 +00:00
gustav_delius
602d778b1f Experimenting with a new event type to accommodate teacher-marked questions. This is work in progress. 2006-02-23 19:12:46 +00:00
thepurpleblob
cb06a092dc Whoops - ranges for categories on each page were incorrect. Plus added
sesskey to page numbers.
2006-02-23 16:55:13 +00:00
thepurpleblob
4a987dfa67 Improvements to pagination. Linked to all actions now. 2006-02-23 16:05:05 +00:00
thepurpleblob
fb3fe7aa07 Added some basic pagination to categories screen. Probably needs a bit
more refinement.
2006-02-23 15:26:38 +00:00
ikawhero
9677eb79c5 Making custom scripts path generic so it is not forced to be in the
dataroot directory which is writable by the web server.
Path cleaned to avoid relative directory links.
2006-02-23 07:04:13 +00:00
toyomoyo
7b5aa1b725 case sensitive IP 2006-02-23 03:16:28 +00:00
toyomoyo
2786ff706d fix for 4825 2006-02-23 02:56:07 +00:00
toyomoyo
f055d14bed fix for string type sort error, bug 4823 2006-02-23 02:34:46 +00:00
danmarsden
348630d87e moving duplicated code into Lib.php as functions & clean up the code a bit. - also now include users group info in text/excel downloads. - preparation for new choice block! 2006-02-23 01:20:24 +00:00
mits
d8c33a44a9 polished. 2006-02-23 01:06:20 +00:00
mits
b5cbc10eca to show "Turn editing on" and "Turn student view on" button in-line,
added styles_layout.css which includes  ".navbutton" attribute.
2006-02-23 01:04:36 +00:00
michaelpenne
150cdce033 [Update] Updated the help files to support regular expressions in short answer 2006-02-23 01:01:16 +00:00
michaelpenne
e2d89fc3a7 [Changed/Added] langs for regular expression code in short answer 2006-02-23 00:42:46 +00:00
michaelpenne
d643cbfb73 [Added] Added Regular Expression support for short answers by Joseph Rézeau. Discussion: http://moodle.org/mod/forum/discuss.php?d=38544
[Changed] Some display information has been changed, now prints page contents, user answer, and response
2006-02-23 00:41:28 +00:00
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
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