From 9afd9d05ae71a097488bea88cf87d98405881aa7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 20 Dec 2008 01:20:19 +0000 Subject: Move log entries into its own block --- core/helpers/core_block.php | 6 ++++++ core/views/admin_block_log_entries.html.php | 20 ++++++++++++++++++++ core/views/admin_dashboard.html.php | 11 ----------- 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 core/views/admin_block_log_entries.html.php (limited to 'core') diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index 41fb2790..571453a0 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -49,6 +49,12 @@ class core_block_Core { $block->content = new View("admin_block_photo_stream.html"); $blocks[] = $block; + $block = new Block(); + $block->id = "gLogEntries"; + $block->title = _("Log Entries"); + $block->content = new View("admin_block_log_entries.html"); + $blocks[] = $block; + return implode("\n", $blocks); } diff --git a/core/views/admin_block_log_entries.html.php b/core/views/admin_block_log_entries.html.php new file mode 100644 index 00000000..b2ec8e91 --- /dev/null +++ b/core/views/admin_block_log_entries.html.php @@ -0,0 +1,20 @@ + + + + diff --git a/core/views/admin_dashboard.html.php b/core/views/admin_dashboard.html.php index 78c92526..91a6ce36 100644 --- a/core/views/admin_dashboard.html.php +++ b/core/views/admin_dashboard.html.php @@ -1,17 +1,6 @@ dashboard_blocks(); ?> -
-

Recent Comments

- -
-

Log Entries