Commit Graph

86 Commits

Author SHA1 Message Date
nicolasconnault 7c08ef3653 Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
toyomoyo afb3efd947 checking in nick's patch for MDL-8582 2007-02-23 05:05:56 +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
moodler bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
toyomoyo 6dede909af merged, changepassword obsolete 2006-05-31 07:12:10 +00:00
moodler 815c84a8dc Merged fix from stable 2006-05-29 08:36:58 +00:00
skodak 70efd5689a fixed redirection to https:// for edit profile and change password when loginhttps on; merged from MOODLE_16_STABLE 2006-05-21 20:35:22 +00:00
tjhunt 450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
stronk7 0045d58c69 Now the help link in the admin block points to Docs. Bug 4803.
(http://moodle.org/bugs/bug.php?op=show&bugid=4803)

Merged from MOODLE_16_STABLE
2006-05-05 17:56:56 +00:00
moodler 6f7d1382eb Just tidying up, and removed the logs link (it's in reports) 2006-04-26 16:09:43 +00:00
moodler 9d8d30e03a Aha, the link to the new reset feature 2006-03-21 09:04:22 +00:00
vyshane 2c42a9e71c Fixed Bug #4945 2006-03-21 03:11:38 +00:00
skodak 838231ff95 fixed broken log links in admin menu; I noticed it some time ago, the merge seems to be finished - I decided to fix it now 2006-03-15 21:03:45 +00:00
nfreear 3182eb7832 Accessibility: (strict HTML) remove unnecessary width/height attributes on <img> (OU-Bugz: 697) 2006-03-14 14:05:51 +00:00
nfreear ea78c234f9 Accessibility: fixed ambiguous asterisk next to 'edit profile', with title and hidden text (OU-Bugz: 733). 2006-03-14 12:55:06 +00:00
patrickslee 96a7973eb9 Updated Authorize.net for Ethem 2006-03-13 21:19:04 +00:00
martinlanghoff d70fd5612d block_admin: add special cases for enrol/authorize -- might need more work for multienrol 2006-03-10 02:20:56 +00:00
moodler 222aa60d3f Adding reports link. 2006-03-09 07:40:41 +00:00
gustav_delius 2662cf46fc Some improvements to how the tabs and links behave. 2006-03-01 21:16:28 +00:00
gustav_delius d7c4c1b653 Admin Question link now points to the new question bank editing interface in moodle/question/ 2006-02-24 10:58:04 +00:00
gustav_delius 344be2522c Added link to questions bank 2006-02-17 17:15:56 +00:00
defacer e68cf1b3e9 Merging from STABLE:
Fix for bug 4627:

Hide "change password" link in admin block if the user is restricted.
Not a security issue, as the script doesn't allow you to change your
password even if you go there by typing in the URL.

Credits for report & patch go to Joseph Rezeau.
2006-01-28 19:49:16 +00:00
mjollnir_ e49c4d3075 Fixing wishlist bug # 4357: different icon & wording in admin block for metacourse importstudents 2006-01-17 23:54:14 +00:00
moodler ef26f27869 Change string name in admin list 2006-01-05 06:30:54 +00:00