summaryrefslogtreecommitdiff
path: root/core/helpers/core_theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-20 07:11:14 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-20 07:11:14 +0000
commit3ba056d7145ad20ed278256c10033bcb4b1a97c1 (patch)
tree1c01aa518b5714f858fb947da3f970ea7825241c /core/helpers/core_theme.php
parent8384cac5e3f300c5ca13b0bf5a9c689c0b4202e9 (diff)
Add a quick edit pane for albums, too.
Diffstat (limited to 'core/helpers/core_theme.php')
-rw-r--r--core/helpers/core_theme.php4
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>";
}
}