diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-11 12:20:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-11 12:20:26 +0000 |
commit | 62e0ddc74006b99f0d854a33b80f47d7cf317792 (patch) | |
tree | ec1f0f0b0d022ec3909e3da295f052d915f58c89 /modules | |
parent | d062ec4e6afe3a2dc744ffbd3eb4030d10727f61 (diff) | |
download | brdo-62e0ddc74006b99f0d854a33b80f47d7cf317792.tar.gz brdo-62e0ddc74006b99f0d854a33b80f47d7cf317792.tar.bz2 |
- Patch #545356 by Damien Tournoud: sidebars were broken in install.php, update.php, and the expert profile due to a previous patch that made the sidebar regions more semantic for RTL support.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/block/block.api.php | 2 | ||||
-rw-r--r-- | modules/system/system.api.php | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/block/block.api.php b/modules/block/block.api.php index c1f5d6145..96c04e06e 100644 --- a/modules/block/block.api.php +++ b/modules/block/block.api.php @@ -57,7 +57,7 @@ function hook_block_list() { 'info' => t('An exciting block provided by Mymodule.'), 'weight' => 0, 'status' => 1, - 'region' => 'left', + 'region' => 'sidebar_first', // BLOCK_CACHE_PER_ROLE will be assumed for block 0. ); diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 37d37ea15..cbfc78dd1 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -304,9 +304,9 @@ function hook_css_alter(&$css) { * The $page array contains top level elements for each block region: * @code * $page['header'] - * $page['left'] + * $page['sidebar_first'] * $page['content'] - * $page['right'] + * $page['sidebar_second'] * $page['footer'] * @endcode * @@ -330,8 +330,8 @@ function hook_css_alter(&$css) { * * Blocks may be referenced by their module/delta pair within a region: * @code - * // The login block in the left sidebar region. - * $page['left']['user-login']['#block']; + * // The login block in the first sidebar region. + * $page['sidebar_first']['user-login']['#block']; * @endcode * * @param $page |