Commit graph

5294 commits

Author SHA1 Message Date
tjhunt
b169c31e39 Save two queries if we are not going to output anything. 2006-08-16 16:54:20 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
tjhunt
920b93d1e3 Remove horrific code duplication in mod/quiz/lib.php. 2006-08-16 08:46:10 +00:00
vyshane
e40a7a3c8b Fixing notices 2006-08-16 03:24:43 +00:00
vyshane
87ca0adf00 Fixed forum_print_post. Thanks Yu :) 2006-08-16 02:33:43 +00:00
tjhunt
eeaeff8e04 Corrected include. 2006-08-15 20:44:21 +00:00
tjhunt
4e3487c59c Remove horrific code duplication in mod/quiz/mod.html. 2006-08-15 15:29:38 +00:00
tomflannaghan
72184a52b8 A few fixes for the dropdown menus. 2006-08-15 11:14:07 +00:00
moodler
901dd2fb4c Merged new "Database preset" support from Tom Flannaghan.
Still needs some tidy-up work but it's working.
2006-08-15 08:42:06 +00:00
tjhunt
c097419986 Reorder the table definitions in the file, to group them more logically. 2006-08-14 13:32:39 +00:00
moodler
c4a333b328 Fixes from forum http://moodle.org/mod/forum/discuss.php?d=46048 2006-08-14 08:59:38 +00:00
vyshane
951e1073da Added has_capability calls. Reverted forum_search to pre-roles until the
function is totally converted to work with roles.
2006-08-14 07:37:53 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
stronk7
6750328ba0 Latest changes added + some polish in keys. 2006-08-12 23:03:59 +00:00
stronk7
9bd4d98bc2 Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +00:00
stronk7
42173f5121 Initial version of the XMLDB file for this plugin 2006-08-12 21:41:46 +00:00
stronk7
6f398232e6 Added une foreign+unique key 2006-08-12 21:40:30 +00:00
danstowell
ac87088b50 Added download link for all entries as KML 2006-08-12 19:03:16 +00:00
danstowell
3af692dba0 Now latlong data types allow you to choose which labels appear in Google Earth 2006-08-12 17:36:22 +00:00
stronk7
613f306d1d XMLDB schema initial commit for the quiz module.
Some doubts are pending to finish it properly.
2006-08-11 19:29:47 +00:00
stronk7
49025df359 Added one comment about recursive FK for the future. 2006-08-11 18:36:47 +00:00
stronk7
401846cca7 XMLDB schema initial commit for the lesson module 2006-08-11 17:56:18 +00:00
stronk7
a2a4bfc567 XMLDB schema initial commit for the lams module 2006-08-11 17:39:38 +00:00
stronk7
e0996851da XMLDB schema initial commit for the label module 2006-08-11 17:37:17 +00:00
stronk7
01c3c55960 Oops, filled now. I forgot to save changes before commit. 2006-08-11 17:31:11 +00:00
stronk7
4121848035 XMLDB schema initial commit for the journal module 2006-08-11 17:29:47 +00:00
stronk7
540c65ba43 XMLDB schema initial commit for the hotpot module 2006-08-11 17:24:55 +00:00
stronk7
2bf10cbf7b XMLDB schema initial commit for the glossary module 2006-08-11 17:11:46 +00:00
stronk7
b72bed89da Give some more chars to enum fields. 2006-08-11 16:45:45 +00:00
stronk7
d7a4f74ede XMLDB schema initial commit for forum module 2006-08-11 16:35:11 +00:00
tjhunt
1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
danstowell
8161ac9842 Adding new data field type, latlong, to HEAD 2006-08-11 13:17:29 +00:00
bobopinna
5c1ac70c63 Fixed a problem during scorm update.
Now only the lost scoes tracks are deleted
Added support to IMS CP repository
2006-08-11 12:26:06 +00:00
tjhunt
2c3968c407 Major code cleanup of this report (that started as a small code cleanup). None of the functionality should have changed - crosses fingers. 2006-08-10 21:52:07 +00:00
stronk7
c7b39f4737 XMLDB schema initial commit for exercise module 2006-08-10 17:12:00 +00:00
bobopinna
f69db63ed4 Cleaned code 2006-08-10 11:32:48 +00:00
bobopinna
03f5564e43 Fixed a problem with popup window and IE 2006-08-10 08:27:12 +00:00
vyshane
628e2264b1 Adding back lines that mysteriously disapeared. 2006-08-10 05:57:34 +00:00
skodak
8fd62c6401 Bug #6199 - A typo in edit.php; merged from MOODLE_16_STABLE 2006-08-09 19:46:32 +00:00
skodak
c853b39f50 Bug #6225 - Moodle bug #4658 Breaks assignment type: Upload Single; merged from MOODLE_16_STABLE 2006-08-09 18:36:54 +00:00
moodler
d1516f2064 Fixed a typo, thanks Tim 2006-08-09 13:55:05 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
moodler
bee7ee3815 Removed tabs 2006-08-09 13:39:44 +00:00
vyshane
7613e6d7d1 More updates in lib.php 2006-08-09 09:18:31 +00:00
vyshane
f0eb2ffe85 Added mod/forum:viewhiddentimedposts 2006-08-09 09:17:37 +00:00
vyshane
0fa18d5a27 Bug fixes + updated capabilities. 2006-08-09 06:59:28 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
stronk7
9c642ecacb Initial XMLDB schema for data tables. Using FKs where they are obvious. 2006-08-08 17:00:44 +00:00
stronk7
305ebf6849 Initial XMLDB schema for choice tables. Using FKs where they are obvious. 2006-08-08 17:00:03 +00:00