Commit Graph

65 Commits

Author SHA1 Message Date
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
3225acd58b MDL-12734, fix calling print_header() twice
merged from MOODLE_19_STABLE
2007-12-26 20:19:36 +00:00
4f1dc7ea98 MDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible; merged from MOODLE_19_STABLE 2007-12-16 13:57:21 +00:00
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
ba4418ad4e Merged Urs fixes from 1.8 stable and reformatted a bit 2007-10-10 14:57:39 +00:00
a12e11c13a MDL-10888: groupings - mod/chat - update to work with groupings 2007-08-27 02:28:35 +00:00
2311afc2a0 Merged MDL-10771 from 18 stable 2007-08-09 13:30:10 +00:00
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
8058aa051b MDL-7861 - XHTML errors (strict) were found in course/editsection.html and mod/chat/view.php. They were corrected and additional css rules were written to replace the corrected inline styling. 2007-03-02 02:40:30 +00:00
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
ccffd41265 fixed potential problems with undefined $USER->screenreader 2007-01-04 21:39:47 +00:00
7dc6c73e33 users with screenreader flag set should only see 1 link to manual refresh chat rooms 2007-01-04 01:13:26 +00:00
953eb6f315 MDL-8022 Chat accessibility - new gui_basic should integrated and fully working now
+ improved print_user_picture() to allow images with empty alt to prevent repetitive reading of usernames in jaws when username is printed next to avatar
2006-12-30 19:45:24 +00:00
0cdf34fb03 Fixed lots of XHTML errors but still not working correctly in Strict 2006-12-22 05:42:36 +00:00
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
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
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
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
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00
380bf7a6d3 Simply usertimezone(), baby! ;-) 2005-04-27 03:44:52 +00:00
b35e1a9ab9 No chat for you! (guests) 2005-04-25 19:10:14 +00:00
d071637f39 Fix chat display to show timezones correctly 2005-04-25 16:40:39 +00:00
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
200371e9f7 Now chat->name works under filterall. 2005-03-27 11:36:54 +00:00
3f95436073 Respect $CFG->showblocksonmodpages. 2005-03-16 03:26:21 +00:00
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
dffd4bb948 You know you are beyond hope of redemption when you make "API uniformity" changes. ;-) 2005-03-02 05:56:24 +00:00
664923229c Since $PAGE knows where the adminblock should be printed, let it do the printing. 2005-03-02 05:47:39 +00:00
3615b2b259 Simplifying to death using the new blocks_setup() 2005-03-02 05:19:47 +00:00
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
e96ba29d6f Vastly improved styles, lots of inline styles removed, markup improved. 2005-02-12 11:37:09 +00:00
4f0d565da6 Bringing Quiz in line with Martin's "make Chat into a showcase for pages" idea. 2005-02-10 01:59:11 +00:00
37dfb27974 Moved chat PAGE stuff out of core as an example 2005-02-09 16:44:35 +00:00
5ccb85f048 Voila! Blocks support now in chats! 2005-02-09 15:47:22 +00:00
516121bd0d radical chat clean up, see forum for details 2005-02-03 20:39:27 +00:00
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
1c61c8d6bc fixed capitalization and quoting of attribute values 2004-09-12 15:06:29 +00:00
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
d022e34545 print notice when guest views chat. 2004-08-21 21:18:33 +00:00
5be2cb7aef removed notice 2004-08-21 20:25:15 +00:00
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
067675c006 introduced the fullname() function in a lot of places. Still not complete though, especially in sorting. 2004-08-20 20:12:48 +00:00
d434b9aeeb New stuff to support socket mode 2004-07-30 15:36:39 +00:00
fdff1f63a3 Fixes when displaying lists of users in group mode 2004-04-08 15:12:35 +00:00
1b1c19fff7 A small fix to show the right users on the view page when groups are being used 2004-04-08 14:35:36 +00:00
a43b24985f Moving headings 2004-02-24 07:00:13 +00:00
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