From 16a3e43b45c654e0e882810234a39ea518a70879 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 20 Dec 2008 01:16:46 +0000 Subject: Move the "Photo Stream" section into its own block --- core/helpers/core_block.php | 6 ++++++ core/views/admin_block_photo_stream.html.php | 8 ++++++++ core/views/admin_dashboard.html.php | 9 --------- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 core/views/admin_block_photo_stream.html.php (limited to 'core') diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index b5f7ccf4..41fb2790 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -43,6 +43,12 @@ class core_block_Core { $block->content = new View("admin_block_messages.html"); $blocks[] = $block; + $block = new Block(); + $block->id = "gPhotoStream"; + $block->title = _("Photo Stream"); + $block->content = new View("admin_block_photo_stream.html"); + $blocks[] = $block; + return implode("\n", $blocks); } diff --git a/core/views/admin_block_photo_stream.html.php b/core/views/admin_block_photo_stream.html.php new file mode 100644 index 00000000..3255fb04 --- /dev/null +++ b/core/views/admin_block_photo_stream.html.php @@ -0,0 +1,8 @@ + +

+ Recent photos added to your Gallery +

+" alt="" /> +

+ Slider type of display. Show titles underneath or on hover. Draw a keyline around albums, or differentiate some how. Each will be linked to item view +

diff --git a/core/views/admin_dashboard.html.php b/core/views/admin_dashboard.html.php index 0bf62359..78c92526 100644 --- a/core/views/admin_dashboard.html.php +++ b/core/views/admin_dashboard.html.php @@ -1,15 +1,6 @@ dashboard_blocks(); ?> -
-

Photo Stream

-
-

Recent photos added to your Gallery

- " alt="" /> -

Slider type of display. Show titles underneath or on hover. Draw a keyline around albums, or differentiate some how. Each will be linked to item view

-
-
-

Recent Comments