Dan Poltawski
3246428b95
MDL-32505/MDL-32508 course: fix section_links block
...
Now course_display has gone
2012-05-04 10:53:03 +08:00
Eloy Lafuente (stronk7)
08fa81d6c5
MDL-30392 DML - Fix old-style delete_records() call
2011-11-22 00:41:05 +01:00
Petr Skoda
8571833f0b
MDL-23069 moving version and cron info into standard version.php - finally, yay!
2010-07-04 12:18:22 +00:00
Dongsheng Cai
a63bb431c2
"MDL-20125, added missing setting link"
2010-05-18 02:53:17 +00:00
Petr Skoda
150135ab08
MDL-22054 the last blockname removed
2010-04-11 11:57:46 +00:00
Petr Skoda
61e2e77526
MDL-22054 converting block name strings to pluginname
...
AMOS START
MOV [blockname,block_section_links],[pluginname,block_section_links]
AMOS END
2010-04-11 11:44:30 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
Dongsheng Cai
285fd4ea55
"MDL-20125, boilerplates added"
2010-01-18 05:33:25 +00:00
Dongsheng Cai
65a86aa764
"MDL-21122, fixed saving setting problem in section links block, merged from 1.9"
2009-12-18 03:03:01 +00:00
Sam Hemelryk
78bcd545d0
blocks MDL-19788 Fixed use of delete_records
2009-12-07 05:49:30 +00:00
Dongsheng Cai
6c33f53253
"MDL-20125, added configurable setting to section_links block, credits to Jason Hardin, merged from 1.9"
2009-12-04 09:01:50 +00:00
Petr Skoda
4ca6cfbfd4
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:00:47 +00:00
tjhunt
cb6402296c
blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks
2009-05-06 09:28:26 +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
tjhunt
66b10689e2
blocklib: MDL-19010 upgrade database tables ready for now blocks system
2009-05-06 09:12:03 +00:00
skodak
a5d424df7c
MDL-14679 converted some get/set_field()
2008-06-02 21:39:23 +00:00
skodak
f28f2d9022
MDL-14679 towards blocks conversion
2008-06-02 20:15:51 +00:00
skodak
98891b9348
MDL-14679 fixed regressions
2008-05-31 18:20:05 +00:00
skodak
219f652b91
MDL-14679 upgrade $DB conversion
2008-05-31 18:05:42 +00:00
moodler
433c242f1a
Merged new block versions from 1.9
2008-03-03 11:43:32 +00:00
skodak
dd97c32868
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
2008-01-24 20:33:50 +00:00
skodak
b571c6b37b
MDL-10995 eliminated some get course record calls - reused $COURSE instead
2007-08-26 08:24:50 +00:00
moodler
8b4315fd33
Little fix for typo (see MDL-8061)
2007-01-23 03:39:56 +00:00
skodak
440d164869
MDL-7861xhtml strict and css fixes in blocks
2007-01-09 23:45:24 +00:00
nfreear
764d1d20dd
Fixes MDL-6838, uses 'inline-list' class (label with ordered list <ol> not redendered with numbers)
2006-12-01 15:54:46 +00:00
skodak
2f8d5316a1
Forums index page, add table headers for section/week MDL-7480
...
and fixed section_links block for weekscss format
2006-11-22 07:48:35 +00:00
vyshane
67e4cf27e2
Added has_capability checks
2006-08-15 06:21:35 +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
defacer
a7ef57d4da
Making section links point to #section-NNN instead of #NNN
2005-11-23 23:16:24 +00:00
defacer
296c94b134
Begone, evil <font> tag
2005-11-23 22:33:33 +00:00
jpuntd
e8fce230f4
fixed bug2847
2005-04-05 21:03:15 +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
defacer
8a47e075b3
Changing the way that applicable formats for each block are defined:
...
The format for each page is now the same as the id attribute of the
BODY tag, which in turn is a simple function of the script's relative path:
The format for e.g. a quiz view page is "mod-quiz-view". The format for the
site index is "site-index". Exception: the format for courses is not just
"course-view", but "course-view-weeks" etc.
Obviously the applicable_formats() override for each block should now take
this into account. The matching rules now are:
* You can specify the full format, e.g. "mod-quiz-view" => true
will allow the block to be added in quizzes
* Prefixes match the full page format, e.g. "mod" matches ALL activities
* You can use "*" as a wildcard, e.g. "mod-*-view" matches just the view.php
page of all activities
* These rules interoperate, thus "mod-*" is the same as "mod"
* "all" remains as a catch-all situation
2005-02-08 02:59:44 +00:00
defacer
e89d741af3
New naming conventions for class names to bring them in line with the
...
rest of Moodle. The convention for blocks is now:
class block_something extends block_base { ... }
HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00
defacer
9b4b78fd6a
Da monster-commit of blocks version 2!
...
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!
Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +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
a43bbd9a15
fixed quoting of attribute values
2004-09-12 20:30:43 +00:00
defacer
2b0d60ec78
Fix for bug 1662:
...
Changed the way applicable formats for blocks are handled. The changes are
short codewise, but to grasp all the implications read the forum discussion
at the relevant URL.
2004-08-22 16:54:48 +00:00
moodler
675dbdd9f5
FIxed some notices when installing Moodle fresh
2004-08-11 09:00:53 +00:00
moodler
1b04b36bff
Fixed a notice on PHP 5
2004-08-08 05:28:26 +00:00
moodler
63b1bd7cfc
Fixed a notice when $USER->id not defined
2004-08-04 02:44:25 +00:00
gustav_delius
e44497f329
Fixed bug 1531, section links to invisible sections now greyed out or hidden
2004-06-05 12:04:02 +00:00
gustav_delius
319225a714
Fixed bug 1531, section links to invisible sections now greyed out or hidden
2004-06-05 11:57:11 +00:00
gustav_delius
f1020d0dd2
section links now preserve focused view, see http://moodle.org/mod/forum/discuss.php?d=7648#37555
2004-05-29 10:40:07 +00:00
defacer
89adb17442
Merging the changes from 1.4 dev branch (site index blocks + various bugfixes)
2004-05-28 10:53:54 +00:00
moodler
d208d07b7f
Renamed "weeks_topics" to "section_links"
2004-05-07 02:27:56 +00:00