skodak
daa588aa52
merged changes in moodlelib.php from MOODLE_16_STABLE
2006-09-20 18:40:22 +00:00
vyshane
36acdd6df9
Updated to reflect changes to data table
2006-09-20 18:08:30 +00:00
skodak
ba4e0b059d
fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox.
2006-09-20 17:51:59 +00:00
vyshane
741c4d0b04
Upgrade to roles code for data module.
2006-09-20 17:46:20 +00:00
tjhunt
e7d57d9e6c
MDL-6380 - added required include to make blocks work on the quiz pages.
2006-09-20 17:22:38 +00:00
tjhunt
15995c4ab6
Fix typos in string concatenation.
2006-09-20 17:01:19 +00:00
vyshane
7f2586640e
Upgrade to roles code, as well as restoring from 1.6 on a 1.7 install code.
2006-09-20 16:57:01 +00:00
vyshane
2a1b4af377
Added course module groupmodes in convertion to roles logic
2006-09-20 16:54:50 +00:00
tjhunt
df44078448
Another typo.
...
A pity, I would love to know what a delect_records function did ;-)
2006-09-20 16:36:40 +00:00
stronk7
a6e0172869
renaming question_dataset_items->number to itemnumber (reserved word) and
...
question->commentarytext to question->generalfeedback
2006-09-20 16:22:19 +00:00
tjhunt
9fd73f0c26
Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE
2006-09-20 16:19:57 +00:00
tjhunt
40cc892b6a
Fix bug with getting the capability.
2006-09-20 16:17:27 +00:00
sam_marshall
027d048574
Update to static JS - 'hitem' hidden fields now optional for lockoptions.
2006-09-20 15:04:57 +00:00
skodak
43a8ceeaf1
fixed missing ;
2006-09-20 15:04:01 +00:00
ikawhero
d096e0d8b5
Bump for new tables. See MDL-474
2006-09-20 14:18:37 +00:00
ikawhero
adecf1c475
Adding tables for customisable user profile fields. See MDL-474
2006-09-20 14:17:21 +00:00
martinlanghoff
d7e901c669
dmlib: changed array access to keyed instead of ordinal.
...
This supports the move to ADODB_FETCH_ASSOC instead of ADODB_FETCH_BOTH.
see:
http://docs.moodle.org/en/XMLDB_Problems#ADOdb_fetch_mode_.28ASSOC.2C_NUM_and_BOTH.29
Author: Luke Hudson <luke@catalyst.net.nz>
2006-09-20 11:26:47 +00:00
koenr
0647422475
updated Guinea MDL-3909
2006-09-20 09:33:11 +00:00
toyomoyo
dc5586907d
replacing deprecated calls and references to capability calls
2006-09-20 09:00:04 +00:00
vyshane
759ac72de1
Added new function function fetch_context_independent_capabilities(). Modified fetch_context_capabilities() to use the former.
...
Fixed get_roles_used_in_context() sql query. r.sortorder must be selected if it is to be used in an ORDER BY clause.
2006-09-20 08:30:49 +00:00
tjhunt
1da5a36294
More capability name typos.
2006-09-20 08:01:59 +00:00
urs_hunkler
c954040189
'updated CSS for the breadcrumb and calendar arrows'
2006-09-20 07:40:55 +00:00
skodak
1d126f4fe4
mostly removed old isadmin() calls
2006-09-20 06:59:32 +00:00
moodler
54a7469271
Removed some obsolete stuff
2006-09-20 06:52:54 +00:00
skodak
8521d83aff
role_context_capabilities should handle current context too and role override simply use parent context
2006-09-20 06:24:55 +00:00
vinkmar
bcaa8d9322
admin page cleanup -- added missing strings
2006-09-20 04:48:39 +00:00
vinkmar
43ba7a1388
admin page cleanup - added most missing strings
2006-09-20 04:47:57 +00:00
vyshane
6adc1e975d
Added more overrides during restore process for forums from 1.6. Plus some bug fixes.
2006-09-20 02:59:43 +00:00
moodler
a914213a45
Automatic installer.php lang files by installer_builder (20060920)
2006-09-20 02:59:20 +00:00
vyshane
689b19297f
Fixed notice
2006-09-20 02:47:57 +00:00
moodler
c4381ef5d2
FIxed a bug where $context had not been defined in enrol_into_course
2006-09-20 02:19:08 +00:00
moodler
b0270f84eb
Added unset_config as a companion to set_config
2006-09-20 02:17:27 +00:00
moodler
7f7cacdf4e
Made the debugging message a bit less passive
2006-09-20 01:52:49 +00:00
tjhunt
f3fb11f378
And another typo in capability name.
2006-09-19 22:58:12 +00:00
tjhunt
df5e4d3106
Another typo in capability name.
2006-09-19 22:57:38 +00:00
tjhunt
a8a7300acc
In debug mode, warn people if they are asking for an unknown capability.
2006-09-19 22:57:17 +00:00
tjhunt
8cd402f900
Typo in capability name.
2006-09-19 22:35:40 +00:00
tjhunt
6fceebea95
Always print the question list, so you can add questions to a quiz, even if you are not allowed to edit them.
2006-09-19 22:35:02 +00:00
tjhunt
3fccd7fa8d
Typo in capability names.
You do not want to know how long I had to stare at the code to spot that!
2006-09-19 22:31:13 +00:00
koenr
f2137ac2a5
fixed MDL-6551
2006-09-19 22:14:57 +00:00
tjhunt
f866df1c4f
allowassign.php was submitting to allowoverride.php
2006-09-19 21:53:37 +00:00
tjhunt
15677ae4a5
Fix JavaScript problem reported in this thread: http://moodle.org/mod/forum/discuss.php?d=54432 . Merged from MOODLE_16_STABLE.
2006-09-19 21:48:16 +00:00
koenr
28efcc8b63
fix for mdl-3909
...
cleaned up the file completely
2006-09-19 21:45:13 +00:00
skodak
a14049f107
metacourse role assignment fixes
2006-09-19 20:39:55 +00:00
skodak
681729b16e
various minor Role UI fixes
2006-09-19 17:34:29 +00:00
moodler
946cbe7029
Added some docs
2006-09-19 16:38:53 +00:00
moodler
6051c68d4b
Deleted the old students-based function and created the
...
new-style setup_enrolments() function that uses roles
to do the tasks required when a user logs in.
Other enrolment plugins should use this as an example/guide
The sync parts of this plugin are not yet fixed.
2006-09-19 16:29:43 +00:00
moodler
33f857405b
Slight extensions to get_my_courses() API to make it more useful in general
2006-09-19 14:23:43 +00:00
toyomoyo
9ce384ba1e
relacing deprecated functions with capability checks
2006-09-19 14:16:40 +00:00
moodler
0dde27bb52
More efficient get_my_courses()
2006-09-19 14:14:32 +00:00