From 0bbde9e059c51fe61c92d23f9f6a4518b2fb1a8c Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 15 Jan 2009 06:19:26 +0000 Subject: Added gQuick to album_top, started implementation, but incomplete so far. Need edit album methods added to the quick controller. --- core/helpers/core_block.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/helpers/core_block.php') diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index 35bba06f..48e158be 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -33,6 +33,13 @@ class core_block_Core { return $buf; } + static function album_top($theme, $child) { + if (access::can("edit", $album)) { + $edit_link = url::site("quick/pane/$album->id"); + return "
"; + } + } + static function thumb_top($theme, $child) { if ($child->type == "photo" && access::can("edit", $child)) { $edit_link = url::site("quick/pane/$child->id"); -- cgit v1.2.3