Extend block_manager to handle sidebar blocks. get_available has become get_available_admin_blocks, get_list becomes get_admin_list. Create new functions get_available_site_blocks which will look for gallery_block get_available_site_blocks

This commit is contained in:
Tim Almdal
2009-09-29 12:04:47 -07:00
parent 39cd84d86c
commit d77045f60d
4 changed files with 17 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class comment_block_Core {
static function get_list() {
static function get_admin_list() {
return array("recent_comments" => t("Recent Comments"));
}