diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-03 05:48:15 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-03 05:48:15 +0000 |
commit | d299414399bf7bff32900f6d32322dcb830dad81 (patch) | |
tree | 769a40030c66bba5c5b48ff92e38b719b34e5d13 /core/helpers | |
parent | 0cfa51b5b70eeeb5e6c070311fbb6f451aef3b05 (diff) |
No quickedit for album thumbs (for now, anyway)
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_block.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index d161d9b4..be2c138b 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -25,7 +25,8 @@ class core_block_Core { $buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . url::file("core/css/debug.css") . "\" />"; } - if ($theme->page_type == "album" && access::can("edit", $theme->item())) { + if ($theme->page_type == "album" && $theme->item()->type == "photo" && + access::can("edit", $theme->item())) { $buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . url::file("core/css/quickedit.css") . "\" />"; $buf .= html::script("core/js/quickedit.js"); |