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 diff --git a/core/views/admin_block_news.html.php b/core/views/admin_block_news.html.php new file mode 100644 index 00000000..963a8cbd --- /dev/null +++ b/core/views/admin_block_news.html.php @@ -0,0 +1,9 @@ + defined("SYSPATH") or die("No direct script access."); ?> +
^ Display as a tree widget
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index a393546a..6aa5c3c9 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -60,46 +60,6 @@ = $theme->sidebar_blocks() ?> -^ Display as a tree widget
-