diff options
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r-- | core/helpers/core_block.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index 0e9ee27b..79fc0bf4 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -47,6 +47,8 @@ class core_block_Core { $block->id = "gPhotoStream"; $block->title = _("Photo Stream"); $block->content = new View("admin_block_photo_stream.html"); + $block->content->photos = + ORM::factory("item")->where("type", "photo")->orderby("created", "desc")->find_all(10); $blocks[] = $block; $block = new Block(); |