From 7ebbe189d4a6955532fb17f4cb9466115279ca35 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 8 Feb 2009 00:42:17 +0000 Subject: 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. --- core/helpers/core_theme.php | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'core/helpers') 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 .= ""; $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 "
"; - } - } - static function thumb_top($theme, $child) { if (access::can("edit", $child)) { $edit_link = url::site("quick/pane/$child->id"); -- cgit v1.2.3