diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-20 07:11:14 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-20 07:11:14 +0000 |
commit | 3ba056d7145ad20ed278256c10033bcb4b1a97c1 (patch) | |
tree | 1c01aa518b5714f858fb947da3f970ea7825241c /core/helpers/core_theme.php | |
parent | 8384cac5e3f300c5ca13b0bf5a9c689c0b4202e9 (diff) |
Add a quick edit pane for albums, too.
Diffstat (limited to 'core/helpers/core_theme.php')
-rw-r--r-- | core/helpers/core_theme.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 "<div class=\"gQuick\" href=\"$edit_link\">"; } } static function thumb_bottom($theme, $child) { - if ($child->type == "photo" && access::can("edit", $child)) { + if (access::can("edit", $child)) { return "</div>"; } } |