diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 01:25:03 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 01:25:03 +0000 |
commit | b933d1a17096bfe61cf43ee866d7ae5eb557e3af (patch) | |
tree | 9230c42088568c10fb14396e690088b3ff63e2ac /modules/comment/helpers | |
parent | 9afd9d05ae71a097488bea88cf87d98405881aa7 (diff) |
Move Recent Comments into its own block.
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_block.php | 8 |
1 files changed, 8 insertions, 0 deletions
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 |