diff options
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_theme.php | 15 |
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"); |