2453 Commits

Author SHA1 Message Date
defacer
e7a935aafa This was pulling out all those records and doing absolutely nothing
with them. Sanitized the place a bit.
2005-01-27 02:26:00 +00:00
mjollnir_
f63a559570 Fixing bug #2419 - missing global $CFG in upgrade for choice resulting in missing prefix 2005-01-27 02:17:35 +00:00
thepurpleblob
7452a56110 HTML Entities are now 'reversed' on import. 2005-01-26 10:37:16 +00:00
thepurpleblob
8f0876a98b Added example file of the learnwise import format 2005-01-26 10:36:31 +00:00
michaelpenne
07fe38c02b added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function (forgot comments before) 2005-01-26 00:30:46 +00:00
michaelpenne
57bfe93dca added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function 2005-01-26 00:25:20 +00:00
michaelpenne
eb65aeb7fd security updates: parameter cleaning 2005-01-26 00:22:51 +00:00
thepurpleblob
1680925333 Adding Learnwise import - created by Alton College, Hampshire UK
Still to do testing etc.
2005-01-25 20:18:05 +00:00
moodler
039c0ec444 Removed some inline styles 2005-01-25 14:32:43 +00:00
moodler
d30867b0bf Removed some THEME stuff 2005-01-25 14:28:47 +00:00
moodler
d3c8056258 Changes for XHTML and accessibility compatibility.
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
moodler
48b29ba423 Moved rsslib.php from the rss directory to the lib directory with the
other libraries
2005-01-25 06:09:31 +00:00
thepurpleblob
84a93f1c24 Added empty array into question object for multiplier field in numeric questions
Stops a bunch of warnings when quiz is imported
2005-01-24 15:45:20 +00:00
defacer
9407d4563f According to the final comments in SC#65:
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.

The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
gustav_delius
e6d10b266b fixed sesskey bug reported by Eloy. Thanks Eloy. 2005-01-23 09:10:34 +00:00
moodler
6a855f5b89 Searching was still calling $usexml Bug #2413 2005-01-23 05:55:02 +00:00
moodler
6c4785c2f2 To stop people browsing modules 2005-01-23 04:15:13 +00:00
gustav_delius
0353801a2b There is now a mechanism by which question types can have their own setup options. Because this does not change anything unless it is used I hope it is o.k. that I am submitting this without asking first. This is based on code by Mad Alex. 2005-01-22 22:27:16 +00:00
gustav_delius
0fc48cbfa5 question.php now uses sesskey. This means that all question type plug-ins will have to add it to their edit forms. 2005-01-22 20:08:45 +00:00
gustav_delius
010ec024b8 made multiple.php save to database in addition to $SESSION->modform and also introduced sesskey 2005-01-22 19:14:35 +00:00
gustav_delius
fc1bc87bb0 better parameter validation and some code cleanup for category.php 2005-01-22 19:03:05 +00:00
gustav_delius
4acc80ead1 if the current category is deleted then revert back to the default category 2005-01-22 18:59:10 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
gustav_delius
56b2152f69 better parameter validation and general code cleanup for edit.php 2005-01-22 18:17:33 +00:00
gustav_delius
873b77f0f5 previously I had forgotten to save sumgrades 2005-01-22 16:13:08 +00:00
gustav_delius
4ac04efaf7 quiz edit.php now saves changes to the quiz in the database as soon as the teacher makes them, see http://moodle.org/mod/forum/discuss.php?d=17167 2005-01-22 15:42:22 +00:00
moodler
bb3b56c633 Using divs to do the indenting, rather than <UL>
This probably needs to be named class
2005-01-22 08:45:47 +00:00
michaelpenne
29a014c05a corrected the sesskey code 2005-01-21 23:13:53 +00:00
michaelpenne
4ea3ce2fcb added sesskey code to remove the sesskey error from updating the lesson from view.php 2005-01-21 19:02:57 +00:00
moodler
f3f7d9e409 Changes for XHTML and accessibility compatibility. General tidy up. 2005-01-21 05:07:51 +00:00
moodler
31dedddba7 Fix help link 2005-01-21 04:58:16 +00:00
moodler
34027b1b41 Minor change 2005-01-21 04:38:46 +00:00
moodler
b1b1705aa4 Changes for XHTML and accessibility compatibility.
General code cleanup.
2005-01-21 04:23:38 +00:00
urs_hunkler
680afe2e26 _ added the DIV framework for new CSS 2005-01-19 13:16:29 +00:00
urs_hunkler
fe32b4f6d7 _ added the DIV framework for new CSS 2005-01-19 12:02:52 +00:00
gustav_delius
ef0921d1ff It is now possible to base new questions on existing ones, see get_string('editingquestion', 'quiz'); 2005-01-19 09:50:33 +00:00
urs_hunkler
08bcdcbea2 _ added the div framework 2005-01-19 09:26:45 +00:00
gustav_delius
0befd376af fixed missing courseid in breadcrumbs 2005-01-19 08:11:49 +00:00
ikawhero
2e708fa096 General tidy up of code, changes for XHTML and accessibility compatibility. 2005-01-18 09:46:01 +00:00
ikawhero
c7444a36a5 General removal of <nolink> tags for XHTML compatibility.
Moved from the glossary filter as the filter may not be enabled.
2005-01-18 06:57:59 +00:00
defacer
bc6c7c26b6 Better comments and some more diagnostic messages to help with bug hunting.
Also changed a > to >= to make the polling interval precice to the second.
2005-01-17 22:26:20 +00:00
kaipe
efa9b7fa01 Fixed a bug that was reported by James Balfour:
Numerical/Calculated questions failed to grade negative responses on questions with units.
2005-01-17 20:14:16 +00:00
gustav_delius
713492e36c corrected typo in previous commit 2005-01-15 21:59:41 +00:00
gustav_delius
dc9e582553 fixed bug 1887 2005-01-15 21:55:25 +00:00
gustav_delius
61e59ace64 implemented fix for restore problem given in bug #1589 2005-01-15 21:49:22 +00:00
moodler
cbc9da2a1b FIxed a missing brace (bug 2386) 2005-01-14 16:45:35 +00:00
stronk7
68600084f4 One space out 2005-01-14 08:36:48 +00:00
moodler
d3709d95c4 Changes for XHTML compatibility and other HTML code cleanup 2005-01-13 10:08:23 +00:00
moodler
6710ec8713 Recent activity functions should have been in lib.php, not locallib.php 2005-01-13 03:04:48 +00:00
moodler
32503db1c6 FIxes for bug 2379 (merged from stable) 2005-01-13 03:02:23 +00:00