summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-20 01:13:57 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-20 01:13:57 +0000
commite12a4f2ae392a91db0c649367977d46cedc87e68 (patch)
tree48d88eb3e15460dfe638e818b5ce132b1d41b26d /core/helpers
parent68e9dcf027551ea6cde85eefd3b58023d233604d (diff)
Move the "status messages" section into its own block.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_block.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php
index 7f0bb50a..b5f7ccf4 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -35,7 +35,15 @@ class core_block_Core {
$block->id = "gWelcome";
$block->title = _("Welcome to Gallery3");
$block->content = new View("admin_block_welcome.html");
- return $block;
+ $blocks[] = $block;
+
+ $block = new Block();
+ $block->id = "gMessages";
+ $block->title = _("Status Messages");
+ $block->content = new View("admin_block_messages.html");
+ $blocks[] = $block;
+
+ return implode("\n", $blocks);
}
public static function admin_sidebar_blocks($theme) {