2009-01-31 20:07:32 +00:00
|
|
|
This files describes API changes in /blocks/* - activity modules,
|
|
|
|
information provided here is intended especially for developers.
|
|
|
|
|
2012-04-24 14:01:53 +02:00
|
|
|
=== 2.3 ===
|
|
|
|
|
|
|
|
required changes in code:
|
|
|
|
* block_xxx_pluginfile() is now given the 7th parameter (hopefully the last one) that
|
|
|
|
contains additional options for the file serving. The array should be re-passed
|
|
|
|
to send_stored_file().
|
2011-10-30 09:28:20 +01:00
|
|
|
|
2009-01-31 20:07:32 +00:00
|
|
|
=== 2.0 ===
|
|
|
|
|
|
|
|
required changes in code:
|
|
|
|
* use new DML syntax everywhere
|
|
|
|
* use new DDL syntax in db/upgrade.php
|
|
|
|
* replace defaults.php by settings.php and db/install.php
|
|
|
|
* replace STATEMENTS section in db/install.xml by db/install.php
|
|
|
|
* move post instalation code from install() method into db/install.php
|
|
|
|
* completely rewrite file handling
|
|
|
|
* rewrite backup/restore
|
2009-12-16 18:00:58 +00:00
|
|
|
* theme changes: move plugin styles into blocks/xxx/styles.css and use new css markers for images,
|
|
|
|
move all images into new blocks/xxx/pix/ directory and use new outputlib api
|
2009-12-23 18:23:21 +00:00
|
|
|
old global $THEME is fully replaced by $OUTPUT
|
2010-04-13 21:41:11 +00:00
|
|
|
* remove '_utf8' from language pack names, use new {$a} syntax in language packs
|
2011-10-30 09:28:20 +01:00
|
|
|
* use 'pluginname' lang pack identifier instead of 'blockname'
|
2010-07-04 12:18:22 +00:00
|
|
|
* move cron and version number into standard version.php
|
2010-07-13 13:56:55 +00:00
|
|
|
* removed support for old config_global.html, use settings.php
|
2009-01-31 20:07:32 +00:00
|
|
|
|