summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-08 00:42:17 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-08 00:42:17 +0000
commit7ebbe189d4a6955532fb17f4cb9466115279ca35 (patch)
tree22d9c328815d15ddd53ec8120f02071c255e83bf /core/helpers
parentd9b4d96c670187aab0c7f37477da3f0c7a628767 (diff)
Implement the "additional options" part of the quick menu. It's only
for albums, because we don't currently have additional options for photos yet.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_theme.php15
1 files changed, 4 insertions, 11 deletions
diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php
index 2ac7d327..72e7829e 100644
--- a/core/helpers/core_theme.php
+++ b/core/helpers/core_theme.php
@@ -32,23 +32,16 @@ class core_theme_Core {
if ($theme->page_type == "photo" && access::can("view_full", $theme->item())) {
$buf .= "<script type=\"text/javascript\" >" .
" var fullsize_detail = { " .
- " close: \"" . url::file("core/images/ico-close.png") . "\", " .
- " url: \"" . $theme->item()->file_url() . "\", " .
- " width: " . $theme->item()->width . ", " .
- " height: " . $theme->item()->height . "};" .
+ " close: \"" . url::file("core/images/ico-close.png") . "\", " .
+ " url: \"" . $theme->item()->file_url() . "\", " .
+ " width: " . $theme->item()->width . ", " .
+ " height: " . $theme->item()->height . "};" .
"</script>";
$buf .= html::script("core/js/fullsize.js");
}
return $buf;
}
- static function album_top($theme, $child) {
- if (access::can("edit", $album)) {
- $edit_link = url::site("quick/pane/$album->id");
- return "<div class=\"gQuick\" href=\"$edit_link\"></div>";
- }
- }
-
static function thumb_top($theme, $child) {
if (access::can("edit", $child)) {
$edit_link = url::site("quick/pane/$child->id");