From 68e9dcf027551ea6cde85eefd3b58023d233604d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 20 Dec 2008 01:08:39 +0000 Subject: Move Platform and Project News admin sidebar blocks into the new modular structure. --- core/helpers/core_block.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'core/helpers/core_block.php') diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index ca28c690..7f0bb50a 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -43,6 +43,20 @@ class core_block_Core { $block->id = "gStats"; $block->title = _("Gallery Stats"); $block->content = new View("admin_block_stats.html"); - return $block; + $blocks[] = $block; + + $block = new Block(); + $block->id = "gPlatform"; + $block->title = _("Platform Information"); + $block->content = new View("admin_block_platform.html"); + $blocks[] = $block; + + $block = new Block(); + $block->id = "gProjectNews"; + $block->title = _("Gallery Project News"); + $block->content = new View("admin_block_news.html"); + $blocks[] = $block; + + return implode("\n", $blocks); } } \ No newline at end of file -- cgit v1.2.3