From 3ba056d7145ad20ed278256c10033bcb4b1a97c1 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 20 Jan 2009 07:11:14 +0000 Subject: Add a quick edit pane for albums, too. --- core/helpers/core_theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php index 0ccad457..57664b48 100644 --- a/core/helpers/core_theme.php +++ b/core/helpers/core_theme.php @@ -40,14 +40,14 @@ class core_theme_Core { } static function thumb_top($theme, $child) { - if ($child->type == "photo" && access::can("edit", $child)) { + if (access::can("edit", $child)) { $edit_link = url::site("quick/pane/$child->id"); return "
"; } } static function thumb_bottom($theme, $child) { - if ($child->type == "photo" && access::can("edit", $child)) { + if (access::can("edit", $child)) { return "
"; } } -- cgit v1.2.3