109 Commits

Author SHA1 Message Date
jerome
70044d63c4 MDL-11382 added a link 'Profil' to the administration block 2008-05-02 06:07:51 +00:00
jerome
5448c13d41 MDL-11382 Put back 'Activity Reports' and 'Edit Profil' links in the administration block 2008-04-24 08:58:48 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak
76b570d602 MDL-12938, MDL-12937 - unenrol fixes - can not unenrol if can not unassign all users roles in course, do not show self unenrol if enrolment comes from parent context, fixed rturn value from get_user_roles; based on patch by Eric Merrill; merged from MOODLE_19_STABLE 2008-02-05 12:59:28 +00:00
moodler
1ee0c98322 MDL-13245 Merged viewallfix from stable 1.9 2008-01-31 01:30:43 +00:00
moodler
f1401c244e Merged MDL-13245 from 1.9 2008-01-30 06:59:25 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
tjhunt
9ce2fe53cb MDL-12501 - Logic for including 'Grades' link in admin block is different for the logic in grade/report/index.php. Merged from MOODLE_19_STABLE. 2007-12-07 16:58:07 +00:00
tjhunt
e5a3a5176d MDL-11952 - In the course admin block, if the user has moodle/question:managecategory, but no other capabilites, the questions link should go to the manage categories page. Merged from MOODLE_19_STABLE. 2007-10-29 16:58:32 +00:00
skodak
b571c6b37b MDL-10995 eliminated some get course record calls - reused $COURSE instead 2007-08-26 08:24:50 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
jamiesensei
8bdd8660bf See http://moodle.org/mod/forum/discuss.php?d=77564#p345310 Questions link not showing up. 2007-08-12 16:09:57 +00:00
moodler
1966aa49b9 Added outcomes link back again 2007-08-02 07:39:24 +00:00
moodler
c4a71837f3 Removed outcomes and scales links (Use grades instead) 2007-08-02 05:13:15 +00:00
moodler
33c35353dd Don't show outcomes at all if it's not enabled. 2007-08-01 03:57:28 +00:00
stronk7
b030054c1c Using new outcomes icon + whitespace cleaning. 2007-07-31 22:54:46 +00:00
moodler
60e2592702 Reordered the list a bit 2007-07-31 13:51:07 +00:00
skodak
042596946b tabbed Edit/Outcomes interface, link from course admin block, added manage outcomes capability, other cleanup 2007-07-31 09:10:35 +00:00
skodak
78ad5f3ff0 MDL-10544 placeholder for outcome edit forms grade/edit/outcome/
MDL-10650 scales code moved to grade/edit/scale/
refactoring in grade/edit/
2007-07-29 23:02:03 +00:00
skodak
65dd61bda6 MDL-10579 Implement capability checks in grade import/export/report/edit pages - work in progress
refactoring - reports now use real index.php
2007-07-23 22:20:07 +00:00
skodak
dd45888a24 MDL-9511 adding/renaming grading capabilities 2007-07-23 19:22:48 +00:00
moodler
540c411934 MOved the main link to reports.php 2007-07-16 04:04:49 +00:00
moodler
052ba1f503 Merged applicable_format fixes for MDL-9119 2007-03-30 16:52:38 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
toyomoyo
e2cd3ed012 merged nick's fix for MDL-8582, ampersand in course name/shortname causes xtheml strict problems 2007-02-23 06:03:09 +00:00
skodak
84c8ede022 MDL-8343 reorganize frontpage settings in admintree - admin tree now allows to specify context together with required capability for each entry
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - first part of cleanup related to frontpage
2007-01-29 21:29:27 +00:00
skodak
440d164869 MDL-7861xhtml strict and css fixes in blocks 2007-01-09 23:45:24 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
toyomoyo
7cf0769e97 reenabling this for site level course, backup/restore/assign roles and so on.
This provides a course context for the site course
2006-11-15 07:17:46 +00:00
moodler
f440589b77 Merged fix from MDL-7239 2006-10-31 14:08:17 +00:00
skodak
c517c8f779 Wrong "settings" link in course Administration block on module pages MDL-7286; merged from MOODLE_17_STABLE 2006-10-30 14:58:09 +00:00
moodler
bd4128e91f Merged enrolment-related fixes from stable 2006-10-20 17:53:50 +00:00
moodler
d4484f3209 IFxed some notices when the block was used on sticky blocks page. MDL-6620 2006-09-30 08:22:17 +00:00
moodler
2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
moodler
09edb3794b Fixed a capability name typo 2006-09-21 14:07:27 +00:00
skodak
b79da3ac68 moodle/course:managemetacourse is now singular 2006-09-19 06:35:52 +00:00
skodak
a7a54c3ba1 new metacourse fixes for admin block 2006-09-18 09:58:22 +00:00
moodler
b649a19e20 Some tidying up of admin blocks 2006-09-06 05:24:35 +00:00
moodler
6d0bd10c0a A temporary icon for roles (needs work!) 2006-09-06 02:16:48 +00:00
toyomoyo
cc398c7262 adding caapabilities 2006-09-04 08:45:08 +00:00
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
skodak
02cc05a708 fixes for new admin blocks 2006-09-02 23:55:56 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
moodler
cf0b6604e0 Removed tabs
This block still needs work to merge with the new admin pages
2006-08-31 04:00:01 +00:00
vyshane
905c4567a2 Removed forum_get_course_forum for forum type teacher. 2006-08-23 07:05:36 +00:00
vyshane
bede8db79f Updated with new capabilities 2006-08-15 05:01:00 +00:00
moodler
5c524305e3 FIxed 'assign roles' link from course admin 2006-08-14 08:34:11 +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
624f2fea76 Removed some old calls to isadmin 2006-08-13 13:12:51 +00:00