77 Commits

Author SHA1 Message Date
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
defacer
ccfa3918de Merge from STABLE:
XHTML fix, pointed out by James Ballard here:
http://moodle.org/mod/forum/discuss.php?d=35830

(Also just found out it's bug 4451)
2005-12-07 15:01:02 +00:00
patrickslee
9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00
defacer
044cdea0c6 Removing MY_MOODLE_FORMAT constant, we just play along with relative paths. 2005-10-30 01:10:08 +00:00
mjollnir_
140c139e56 Various stats fixes - including putting the link to stats in admin block - which somebody had accidently (I presume) backed out during a conflict 2005-09-28 06:07:40 +00:00
gustav_delius
232b3ccc09 Turn editing on link in admin block was missing sesskey, fixing bug 4013 2005-09-26 09:26:06 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
moodler
84bb3c12d5 Merged block changes from STABLE 2005-05-24 16:57:20 +00:00
moodler
d71756cd47 Bit too zealous 2005-05-05 07:48:15 +00:00
moodler
ac74d58f82 Removed Ellipses, they were looking naff and inconsistent 2005-05-05 07:14:43 +00:00
moodler
4eb25d43aa Adding the new grade tables
POSTGRES IS NOT DONE YET!!!!   DOES SOMEONE WANT TO TACKLE IT NOW?
2005-03-28 18:16:39 +00:00