95 Commits

Author SHA1 Message Date
Sam Marshall
f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +00:00
Petr Skoda
e7521559ed MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:17:47 +00:00
samhemelryk
d32229555f chat MDL-19804 Upgraded deprecated calls 2009-10-16 03:19:32 +00:00
dongsheng
75d07096d3 "MDL-14651, improved chat module interface" 2009-10-08 06:37:00 +00:00
samhemelryk
296b589efd mod-chat MDL-19804 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 04:08:56 +00:00
nicolasconnault
2edd2d9bf1 MDL-19804 Upgraded calls to link_to_popup_window() 2009-08-20 13:15:57 +00:00
nicolasconnault
af7bad7997 MDL-19804 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:42:59 +00:00
dongsheng
e8041d2c0d "MDL-14651, update chat module to work in new API" 2009-08-15 11:20:35 +00:00
nicolasconnault
c15fa88fb8 MDL-19804 Converted print_box* to $OUTPUT->box* 2009-08-10 04:58:40 +00:00
nicolasconnault
d8772689b2 MDL-19804 Converted all print_footer() calls 2009-08-06 14:15:30 +00:00
nicolasconnault
b2dc6880e4 MDL-19806 Migrated calls to print_heading 2009-08-06 08:21:01 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt
b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt
c85acc871f pagelib: MDL-12212 eliminate chat_page 2009-05-06 09:25:54 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
skodak
9b010a102e MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:33:08 +00:00
skodak
65e7c870c1 MDL-18910 normalised module intro and introformat 2009-04-20 18:39:24 +00:00
dongsheng
c19df282a6 "CHAT/MDL-14949, remove mod/chat:talk capability and check chat and readlog capabilities respectively, merged and modified from 1.9" 2009-03-11 02:34:20 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
dongsheng
97d5076b15 CHAT_MOD/MDL-14651
$CFG->enableajax == true, ajax chat will be enabled.
2008-11-19 08:12:00 +00:00
dongsheng
3698966986 CHAT_MOD/MDL-14651, disable ajax UI by default" view.php 2008-11-19 06:32:49 +00:00
dongsheng
547ac6644d CHAT_MOD/MDL-14651, clean up update.php script. 2008-11-19 06:29:27 +00:00
dongsheng
1d5071868f MDL-14651
1. identify IRC commands
2. commiting ajax chat room, I lost my half finished source code, so I have to
start again :-(
2008-11-18 05:21:57 +00:00
dongsheng
8eed94e2f0 "MDL-11371, The View past chat sessions should not appear if there haven't been any." 2008-10-15 09:03:30 +00:00
dongsheng
c260ac7db6 "MDL-11371, The View past chat sessions should not appear if there haven't been any, merged from 1.9" 2008-10-08 07:55:42 +00:00
dongsheng
6e5f40eadc MDL-14650, create a new table chat_messages_current to save latest 8 hours messages, could improve performance. The expired message will be deleted in chat_cron function 2008-07-24 03:15:03 +00:00
skodak
d3bf6f92f6 MDL-15104 chat dml conversion 2008-06-08 15:49:36 +00:00
dongsheng
2f52a088bf "MDL-14129, fix print_error" 2008-06-06 08:46:48 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
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
poltawski
3225acd58b MDL-12734, fix calling print_header() twice
merged from MOODLE_19_STABLE
2007-12-26 20:19:36 +00:00
skodak
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
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
moodler
ba4418ad4e Merged Urs fixes from 1.8 stable and reformatted a bit 2007-10-10 14:57:39 +00:00
mattc-catalyst
a12e11c13a MDL-10888: groupings - mod/chat - update to work with groupings 2007-08-27 02:28:35 +00:00
moodler
2311afc2a0 Merged MDL-10771 from 18 stable 2007-08-09 13:30:10 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
urs_hunkler
f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
nicolasconnault
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
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
skodak
ccffd41265 fixed potential problems with undefined $USER->screenreader 2007-01-04 21:39:47 +00:00
toyomoyo
7dc6c73e33 users with screenreader flag set should only see 1 link to manual refresh chat rooms 2007-01-04 01:13:26 +00:00
skodak
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
moodler
0cdf34fb03 Fixed lots of XHTML errors but still not working correctly in Strict 2006-12-22 05:42:36 +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