diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 01:08:39 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 01:08:39 +0000 |
commit | 68e9dcf027551ea6cde85eefd3b58023d233604d (patch) | |
tree | 055a94ca7a8cd40d28a68defb67fec2d33bb8375 /core/helpers | |
parent | ac4bb34cf26ea5147849d47bab2747473503d582 (diff) |
Move Platform and Project News admin sidebar blocks into the new
modular structure.
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_block.php | 16 |
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 |