539 Commits

Author SHA1 Message Date
moodler
28e7967aea FIxed some notices 2006-08-24 03:28:09 +00:00
moodler
0a0bb38019 Ed Coyne's AJAX course format, with some cleanups done.
More cleanups to come from Ed.

This isn't actually working for me right now but he'll fix it now.

This is completely optional and won't affect any other code right now.
2006-08-24 03:20:37 +00:00
vyshane
905c4567a2 Removed forum_get_course_forum for forum type teacher. 2006-08-23 07:05:36 +00:00
vinkmar
e277678dab changes made to ensure compatibility with core admin (admin/adminlib.php) where $_GET is no longer used; changed 'admin' to $CFG->admin in dir paths 2006-08-21 04:08:57 +00:00
vinkmar
9acea96564 changes made to ensure compatibilty with core admin files (admin/adminlib.php), where $_GET is no longer used 2006-08-21 04:08:00 +00:00
vinkmar
36647b9fbb More PHP4 compatibility issues fixed. 2006-08-20 03:56:25 +00:00
vinkmar
fea42164fb preventing notifications by using isset() unsparingly (i.e. small bug fixes) 2006-08-19 02:21:44 +00:00
vinkmar
ccad2d8e7d Modifications made for PHP4 compatibility. 2006-08-19 01:40:54 +00:00
vinkmar
0155cf991d Fixed error that caused self_test failure during initial install; made changes for PHP4 compatibility (no use of instanceof, no use of private/protected/public) 2006-08-19 01:38:57 +00:00
vinkmar
708870d3a8 added blank footer (to eliminate the notice when $footer is non-existant) 2006-08-18 22:02:09 +00:00
vinkmar
0b4073cedb trying to prevent an undefined index error 2006-08-18 19:27:02 +00:00
vinkmar
bb14a9e3b7 admin page cleanup blocks (new ones!) 2006-08-18 08:25:02 +00:00
vinkmar
c74af0688f adding admin page cleanup blocks (new ones!) 2006-08-18 08:24:07 +00:00
vyshane
01199ea958 Updated to use new Roles System. Plus some fixes. 2006-08-16 08:54:07 +00:00
vyshane
6006c31d28 Added has_capability call 2006-08-15 06:37:55 +00:00
vyshane
67e4cf27e2 Added has_capability checks 2006-08-15 06:21:35 +00:00
vyshane
bede8db79f Updated with new capabilities 2006-08-15 05:01:00 +00:00
skodak
795821c497 fixed warning in participants block 2006-08-14 08:54:45 +00:00
moodler
339a9129ec Only need to pass contextid to this script 2006-08-14 08:41:54 +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
stronk7
388e9ab212 One more FK in blocks system. 2006-08-09 11:56:02 +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
stronk7
08b6ce833d Initial commit for rss block tables 2006-08-07 18:40:37 +00:00
stronk7
158c1b3035 Initial commit of blocks XMLDB schema 2006-08-07 18:30:46 +00:00
danmarsden
5ac207d98e fix for Bug #4733 title gets garbled when html inside title. 2006-07-23 22:05:18 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
skodak
3984a18589 Bug #6080 - Loancalc block doesn't define a footer string; merged from MOODLE_16_STABLE 2006-07-14 21:05:14 +00:00
sam_marshall
44c55d4662 Added hooks so that blocks can create functions that are run when they are installed and uninstalled. The base implementation does nothing. 2006-07-14 11:17:46 +00:00
mchampan
a25a3912f7 Search functions moved from mod/name/lib.php to search/documents/mod_document.php.
Pagination added to query page. Various small changes and amendments.
2006-07-11 17:15:22 +00:00
mchampan
e0eb89a13e Initial commit 2006-07-11 16:08:47 +00:00
mchampan
682d403259 Initial commit 2006-06-25 23:07:36 +00:00
moodler
25fb38d465 Merged tag block context fixes from stable 2006-06-19 14:17:55 +00:00
moodler
2de48ff93d Added check for $CFG->disablemycourses 2006-06-16 04:28:56 +00:00
vyshane
9dc3d3255d Merged from 1.6. Fix for Bug #5767 - Section links block is removed from
course view after settings update.
2006-06-13 07:50:02 +00:00
nfreear
782792047b Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack. 2006-06-09 14:25:18 +00:00
toyomoyo
e3cfd5d717 merged fix for 5748 2006-06-08 04:08:04 +00:00
toyomoyo
cc82876291 changepassword obsolete, merged 2006-05-31 07:24:19 +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
moodler
1a2ea6f488 Merged $course -> $COURSE fixes from 1.6 stable 2006-05-29 08:17:57 +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
vyshane
2631c1744e Fix for Bug #5541 2006-05-19 06:25:12 +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
martinlanghoff
7f8199c253 moodle16cleanup: blocks/rss_client set the correct column default value 2006-05-17 06:35:50 +00:00
toyomoyo
6caa2c52ec merged fix for 5493 2006-05-15 03:00:11 +00:00
toyomoyo
114f81ce09 merged, tidying up constants 2006-05-15 02:57:48 +00:00
toyomoyo
f1f5ec3773 fix for 5438 merged 2006-05-08 07:09:28 +00:00