summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-20 01:08:39 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-20 01:08:39 +0000
commit68e9dcf027551ea6cde85eefd3b58023d233604d (patch)
tree055a94ca7a8cd40d28a68defb67fec2d33bb8375 /core/helpers/core_block.php
parentac4bb34cf26ea5147849d47bab2747473503d582 (diff)
Move Platform and Project News admin sidebar blocks into the new
modular structure.
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r--core/helpers/core_block.php16
1 files changed, 15 insertions, 1 deletions
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