21993 Commits

Author SHA1 Message Date
toyomoyo
102d890c14 remove_admin() no longer referenced 2006-09-18 10:47:09 +00:00
vyshane
7aeedc0cfb Removed configshowparticipantslist 2006-09-18 10:26:11 +00:00
toyomoyo
6eccd8f099 add_creator no longer in use 2006-09-18 10:18:26 +00:00
skodak
a7a54c3ba1 new metacourse fixes for admin block 2006-09-18 09:58:22 +00:00
skodak
339dc4e28f metacourse fixes for course editting 2006-09-18 09:37:51 +00:00
toyomoyo
24671bd8b4 validation should not watch out for teacher and students string anymore 2006-09-18 09:16:49 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
toyomoyo
65becbc3ef if the user has no capability, after creating a course we add him to the first role with legacy:edittingteacher, to make him a legacy editting teacher 2006-09-18 09:10:03 +00:00
vyshane
16b09a43ca Added moodle/site:viewparticipants 2006-09-18 09:09:25 +00:00
tjhunt
89d878671d Remove duplicate call to print_header 2006-09-18 09:02:30 +00:00
vyshane
840c1c31fa Added moodle/site:viewparticipants 2006-09-18 09:02:12 +00:00
moodler
0bb391b7a0 Fixed some debugging statements 2006-09-18 08:57:23 +00:00
vyshane
218ec889d2 Replaced managesharedfeeds by manageanyfeeds 2006-09-18 08:37:29 +00:00
skodak
f5002f10bf metacourses gui fixes, part I. 2006-09-18 08:20:01 +00:00
vyshane
f98fe0efad Removed isadmin() 2006-09-18 08:10:20 +00:00
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