summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
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 3c1e0727..ca28c690 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -34,7 +34,15 @@ class core_block_Core {
$block = new Block();
$block->id = "gWelcome";
$block->title = _("Welcome to Gallery3");
- $block->content = new View("admin_dashboard_welcome.html");
+ $block->content = new View("admin_block_welcome.html");
+ return $block;
+ }
+
+ public static function admin_sidebar_blocks($theme) {
+ $block = new Block();
+ $block->id = "gStats";
+ $block->title = _("Gallery Stats");
+ $block->content = new View("admin_block_stats.html");
return $block;
}
} \ No newline at end of file