mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-21 11:59:13 -04:00
Refactor sidebar_blocks into a separate function and then call block_manager::get_html(site.sidebar). Convert image_block to use block management instead of theme::sidebar_blocks
This commit is contained in:
@@ -153,6 +153,13 @@ class Theme_View_Core extends Gallery_View {
|
||||
return message::get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Print out the sidebar.
|
||||
*/
|
||||
public function sidebar_blocks() {
|
||||
return block_manager::get_html("site.sidebar");
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle all theme functions that insert module content.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user