diff --git a/core/views/admin_dashboard.html.php b/core/views/admin_dashboard.html.php
index 91a6ce36..2713cc0b 100644
--- a/core/views/admin_dashboard.html.php
+++ b/core/views/admin_dashboard.html.php
@@ -1,13 +1,3 @@
defined("SYSPATH") or die("No direct script access."); ?>
= $theme->dashboard_blocks(); ?>
-
-
Log Entries
-
- - 2008-12-10 23:02:23 Something happened
- - 2008-12-10 23:02:23 Someone logged in
- - 2008-12-10 23:02:23 New module installed
- - 2008-12-10 23:02:23 Someone logged in
- - 2008-12-10 23:02:23 RSS feed updated
-
-
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index ee05a383..03a2cb11 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -27,4 +27,12 @@ class comment_block_Core {
public static function photo_bottom($theme) {
return comment::block($theme, true);
}
+
+ public static function admin_dashboard_blocks($theme) {
+ $block = new Block();
+ $block->id = "gRecentComments";
+ $block->title = _("Recent Comments");
+ $block->content = new View("admin_block_recent_comments.html");
+ return $block;
+ }
}
\ No newline at end of file
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php
new file mode 100644
index 00000000..c86d8ce2
--- /dev/null
+++ b/modules/comment/views/admin_block_recent_comments.html.php
@@ -0,0 +1,20 @@
+
+ -
+ 2008-12-10 23:02:23 Bob said "Doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi..."
+
+ -
+ 2008-12-10 23:02:23 Bob said "Architecto beatae vitae dicta sunt, explicabo. Nemo enim ipsam voluptatem, quia voluptas..."
+
+ -
+ 2008-12-10 23:02:23 Bob said "Sit, aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos, qui ratione..."
+
+ -
+ 2008-12-10 23:02:23 Bob said "Voluptatem sequi nesciunt, neque porro quisquam est, qui dolorem ipsum, quia dolor sit,..."
+
+ -
+ 2008-12-10 23:02:23 Bob said "Amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt, ut..."
+
+ -
+ 2008-12-10 23:02:23 Bob said "Labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum..."
+
+