skodak
80aede31d3
fixed capabilities in chat recent activity, removed broken optimization from message insert, fixed closing of box MDL-7313; merged from MOODLE_17_STABLE
2006-10-31 21:07:00 +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
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +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
moodler
78c98892d1
More efficient chat listings (less database calling)
2006-04-18 07:14:21 +00:00
stronk7
200371e9f7
Now chat->name works under filterall.
2005-03-27 11:36:54 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
skodak
516121bd0d
radical chat clean up, see forum for details
2005-02-03 20:39:27 +00:00
moodler
68c3b07794
FIx for display of first session, from stable
2004-12-08 13:47:06 +00:00
mjollnir_
1604a0fc2b
Merged from MOODLE_14_STABLE: More small sql tweaks to avoid invalid postgres sql
2004-11-23 02:05:47 +00:00
moodler
2defdcd7d5
Changes for XHTML and accessibility compliance
2004-10-19 10:34:02 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
1c61c8d6bc
fixed capitalization and quoting of attribute values
2004-09-12 15:06:29 +00:00
gustav_delius
90fcc576ea
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
2004-08-21 20:20:58 +00:00
moodler
b46792fe1e
Some fixes for delete groups sessions
2004-02-24 07:21:52 +00:00
moodler
a43b24985f
Moving headings
2004-02-24 07:00:13 +00:00
moodler
84a2fdd706
Preliminary support for groups in Chat.
...
It's not well tested yet - I'm hoping to do some testing on moodle.org
with some real people and get this refined enough for the Beta release
later today.
2004-02-24 06:35:57 +00:00
stronk7
8f583218df
Added missing cmid parameter when calling add_to_log() function.
2004-02-16 19:31:26 +00:00
moodler
27ac57c086
Chat sessions can now be deleted
2004-01-16 13:14:42 +00:00
moodler
7cc9a05edf
Make sure teacher override is there
2003-11-28 15:37:27 +00:00
moodler
8f6ca087e9
DIsplay names using the fullname function
2003-11-28 15:35:41 +00:00
moodler
315915628d
Keep guests out of chat
2003-11-03 10:22:24 +00:00
moodler
582de679a2
Some improved popup windows / links for user pictures
2003-07-24 02:25:23 +00:00
moodler
319ea04166
Better formatting on IE
2003-07-21 05:31:23 +00:00
moodler
1ec3c09b6b
Was cropping first/last message - fixed now
2003-07-21 05:08:46 +00:00
moodler
d861debecc
Make session link translatable
2003-07-21 04:20:01 +00:00
moodler
a669b1f5f9
Ah! Now we're getting somewhere - chat reports look quite nice now!
2003-07-21 04:08:32 +00:00
moodler
9df9138a77
A bit more usable now
2003-07-21 03:37:53 +00:00
moodler
22a4491ae9
Some new code related to the new reports - uploading for testing on
...
other server - still very early
2003-07-21 03:16:19 +00:00