Commit graph

24 commits

Author SHA1 Message Date
nicolasconnault
b58961acaa MDL-20565 When editing is off, hiding blocks whose sub-system is disabled at site level. When editing is on, printing a "[subsytem] is disabled" message. 2009-10-15 01:36:50 +00:00
samhemelryk
4cdb8d70ae blocks MDL-19791 Upgrade deprecated function calls 2009-09-30 06:54:07 +00:00
nicolasconnault
cda9c83d16 MDL-19790 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:39 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
tjhunt
3179b0006a blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way 2009-05-06 09:15:33 +00:00
poltawski
8a083dc75b Messages block: Incorrect link to user profile
The block incorrectly links to site profile in the current pageid.
This doens't make sense in a number of different scenarios, but
most notably if the user who messaged isn't enrolled in the current
course. Instead link to the profile at site context like the messaging
popup does.

Fixes: MDL-18279 MDL-6890 MDL-5887
merged from MOODLE_19_STABLE
2009-03-22 22:40:07 +00:00
skodak
f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak
2b0689c912 MDL-13482 fixed pg issue with group by; merged from MOODLE_19_STABLE 2008-02-15 10:31:28 +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
toyomoyo
094d92a4ac turn this block off when $CFG->messaging is off 2007-11-22 01:17:03 +00:00
skodak
440d164869 MDL-7861xhtml strict and css fixes in blocks 2007-01-09 23:45:24 +00:00
skodak
80381122be MDL-5162 Deprecated elements in messages block 2007-01-09 00:05:56 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
gustav_delius
9c22e022cb Now uses print_user_picture() instead of custom code 2005-09-29 14:26:25 +00:00
moodler
dd189d93ab Fixed messaging links in blocks 2005-04-21 11:34:34 +00:00
defacer
3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
moodler
6f9e100660 A possible fix for bug 2629 and PostgreSQL inflexibility. ;-) 2005-02-24 02:47:18 +00:00
moodler
d2b059c6c9 FIxed some links for compliance 2005-02-12 03:51:18 +00:00
moodler
cdf3925518 Messaging can now be completely disabled using $CFG->messaging 2005-01-31 07:11:42 +00:00
gustav_delius
3cebccea7b defined $timeago 2004-12-31 20:42:53 +00:00
moodler
b1b4e59618 Minor fixes 2004-12-31 01:53:59 +00:00
moodler
b603ccb72c Hide Messages block from guests 2004-12-28 17:50:35 +00:00
moodler
bc8ccf6b18 First quick go at a Messages block. Needs polishing but seems to work. 2004-12-28 16:34:13 +00:00