mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-05 14:40:44 -04:00
Move Recent Comments into its own block.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user