vyshane
6ee81cb55b
Got rid of isadmin() calls, added capability checks.
2006-09-18 07:19:38 +00:00
moodler
a4e108450f
Some trivial tidying of source
2006-09-18 05:50:02 +00:00
vyshane
bd574b2a06
Removed isteacher()
2006-09-18 05:29:42 +00:00
vyshane
0019725320
Removed references to showsiteparticipantslist. Replaced by capability.
2006-09-18 05:28:06 +00:00
vyshane
8b8db38e6e
Removed showsiteparticipantslist strings.
2006-09-18 05:27:28 +00:00
vyshane
dd8d5345ce
Removed showsiteparticipantslist, replaced with capability
2006-09-18 05:26:16 +00:00
vyshane
b008da9551
Removed showsiteparticipantslist. Replaced with capability.
2006-09-18 05:25:43 +00:00
toyomoyo
353a7269a2
removing word for teachers and students, please use proper role names instead
2006-09-18 04:57:34 +00:00
moodler
09a89b01d0
Nuked nuke.
2006-09-18 03:28:02 +00:00
moodler
ad48842401
Automatic installer.php lang files by installer_builder (20060918)
2006-09-18 03:04:28 +00:00
vinkmar
cc73de7147
Fixes for MDL-6440 and MDL-6577
2006-09-18 02:41:14 +00:00
vyshane
24bf6cc196
Replaced isteacher() in fullname() call.
2006-09-18 02:28:57 +00:00
mark-nielsen
62bb11d837
Added display default feedback in lesson settings
...
Led to reducing some redundant code in action/continue.php
Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)
2006-09-18 01:31:35 +00:00
mark-nielsen
1032b61d3f
Added lang entry for display default feedback
2006-09-18 01:29:03 +00:00
mark-nielsen
52f13a25df
Help file for displaying default feedback
2006-09-18 01:28:12 +00:00
skodak
1aad431080
metacourse sync now uses roles, I will continue with fixing of GUIs tomorrow
2006-09-17 22:21:37 +00:00
skodak
4b7aaf4025
added new capability 'moodle/course:managemetacourses'
2006-09-17 21:03:35 +00:00
skodak
6e283151b0
fixed some more warnings in uploaduser.php script
2006-09-17 21:02:31 +00:00
skodak
a25200709b
fixed warning
2006-09-17 20:51:54 +00:00
cap2501
1752e584de
Added dialog to confirm deletion of activity.
2006-09-17 18:20:43 +00:00
skodak
09575480bb
fixed several warnings in get_course()
2006-09-17 18:07:35 +00:00
skodak
8743f4f3ec
removed foter login link during initial phase of installation
2006-09-17 17:53:20 +00:00
cap2501
8a66975e84
cleaned up some formatting
2006-09-17 17:48:27 +00:00
gustav_delius
0839ef65d5
Removed a PHP notice
2006-09-17 17:43:30 +00:00
skodak
d847bb32fd
fixed non-working edit button on course page for teachers, added explanation comments
2006-09-17 17:32:45 +00:00
moodler
21ef1a8b27
New string
2006-09-17 16:39:12 +00:00
moodler
1cd85caf3f
Fixed a typo
2006-09-17 16:10:00 +00:00
moodler
9d05e659cc
Rewritten manual enrolment module using new core functions.
...
(except for the last part of cron function, which is still ugly)
2006-09-17 16:08:34 +00:00
moodler
b963384f41
Added new convenience funtions:
...
get_default_course_role() - gets default role for enrolment
enrol_into_course() - enrols a person using the default role
2006-09-17 16:06:25 +00:00
moodler
9c641bd871
Added email_welcome_message_to_user() to send course welcome emails
2006-09-17 16:04:15 +00:00
moodler
41f6ed56ce
Don't rely on the legacy capabilities to identify admins, use doanything
2006-09-17 16:00:16 +00:00
skodak
c8218a42fa
Partial fix for missing deafult values in upgradesettings.php script - MDL-6577
2006-09-17 12:11:23 +00:00
moodler
88af238ccb
$CFG->defaultcourseroleid defines a site default for the role given to
...
people who enrol in the course.
$course->defaultrole defines the value for each course for what role
should be used in the same case. Naturally it defaults to the site config
(when it is zero).
This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).
Note that enrol plugins are free to ignore these values and use whatever
roles they like. Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
moodler
b29ab53d31
Removed the setting of default values. The default is now just zero.
2006-09-17 09:08:47 +00:00
skodak
86e2c51da8
infinite loop prevention when unassigning recursively
2006-09-17 08:53:57 +00:00
skodak
4e5f3064bf
role assignment and unassignment now propagates to metacourses
2006-09-17 08:42:42 +00:00
moodler
ff64aaeaec
Just tidying a couple of functions
2006-09-17 07:00:47 +00:00
skodak
7f5bc80b78
backupdata folder is no longer displayed in list of directories when setting up Directory Resource - partially related to MDL-6280 ; and some other typo fixes; get_directory_list() no accepts also array of exluded files
2006-09-17 06:49:26 +00:00
moodler
746a04c500
Adding defaultrole to course table
2006-09-17 06:37:59 +00:00
vinkmar
90cfbd0ab4
Changes required for MDL-6439 made to admin_sitesettext object
2006-09-17 06:08:10 +00:00
moodler
1434a286dd
Fixing up script tag for compliance
2006-09-17 03:40:22 +00:00
moodler
ce607dd457
Tidying up coursebox teacher listing (no bullets)
2006-09-17 03:38:04 +00:00
moodler
ec6eb11097
Sort get_user_roles from most local to most general
2006-09-17 03:33:22 +00:00
moodler
08abf1dc0e
Updated tags file
2006-09-17 03:29:56 +00:00
martinlanghoff
5a39def902
re-merge of "Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions."
...
Originally by vyshane - got dropped accidentally in one of the biiiiig roles
commits.
2006-09-17 02:27:13 +00:00
skodak
0d5a9a94c1
fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 18:15:40 +00:00
skodak
5434bacabe
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
skodak
de9a33f3c9
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
moodler
88768091a4
Upgrading print_course to use roles properly
...
Added list for the teacher names for better XHTML
2006-09-16 15:23:41 +00:00
moodler
5b6306677b
extending get_user_roles with more options and more returned info
2006-09-16 15:22:55 +00:00