From 63edb37076b9c1248041368f0aa16013cb7edb15 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 6 Apr 2009 08:10:42 +0000 Subject: Fix up the quick-edit code on the photos page. Everything but "move" is implemented. Can't do move easily because it's tricky to handle the post-move redirect. --- core/helpers/core_theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers/core_theme.php') diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php index 03018d48..9eb56f0e 100644 --- a/core/helpers/core_theme.php +++ b/core/helpers/core_theme.php @@ -54,7 +54,7 @@ class core_theme_Core { static function resize_top($theme, $item) { if (access::can("edit", $item)) { - $edit_link = url::site("quick/pane/$item->id"); + $edit_link = url::site("quick/pane/$item->id?page_type=photo"); return "
"; } } @@ -67,7 +67,7 @@ class core_theme_Core { static function thumb_top($theme, $child) { if (access::can("edit", $child)) { - $edit_link = url::site("quick/pane/$child->id"); + $edit_link = url::site("quick/pane/$child->id?page_type=album"); return "
"; } } -- cgit v1.2.3