diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-19 16:13:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-19 16:13:07 +0000 |
commit | 980637265c51416b57ba2145d7ab459f0c0eed02 (patch) | |
tree | 95a6f5d1678dee81ad4b2c7e3fcf4b31b9e1b305 /modules/help | |
parent | 3198d786a1ba6f4c32e76f6c6d3da9ac1e9811e1 (diff) | |
download | brdo-980637265c51416b57ba2145d7ab459f0c0eed02.tar.gz brdo-980637265c51416b57ba2145d7ab459f0c0eed02.tar.bz2 |
- Block and theme improvements. Patch by Ax.
+ block_list() (in block.module): returns an array of block objects for
$region.
+ theme_blocks() (in theme.inc): uses block_list() and theme("block") to
actually render them.
Advantages:
+ Decouples blocks content and layout, allows block_list() to be used
for non-output purposes (think "pull").
+ Unifies naming in theme.inc: render_blocks()) didn't really fit there.
+ Puts block_list() in blocks.module where it logically belongs.
- Removed some cruft from the Xtemplate theme. Patch by Ax.
Diffstat (limited to 'modules/help')
0 files changed, 0 insertions, 0 deletions