Move Recent Comments into its own block.

This commit is contained in:
Bharat Mediratta
2008-12-20 01:25:03 +00:00
parent 9afd9d05ae
commit b933d1a170
3 changed files with 28 additions and 10 deletions
@@ -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;
}
}