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/views/quick_pane.html.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'core/views') diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php index 9bdff325..1dba206f 100644 --- a/core/views/quick_pane.html.php +++ b/core/views/quick_pane.html.php @@ -1,27 +1,27 @@ -type == "photo" || $item->type == "resize"): ?> +type == "photo"): ?> type == "movie"): ?> type == "album"): ?> -id") ?>" +id?page_type=$page_type") ?>" title=""> -is_photo() || $item->type == "resize") && graphics::can("rotate")): ?> -id/ccw?csrf=$csrf") ?>" +is_photo() && graphics::can("rotate")): ?> +id/ccw?csrf=$csrf&page_type=$page_type") ?>" title=""> -id/cw?csrf=$csrf") ?>" +id/cw?csrf=$csrf&page_type=$page_type") ?>" title=""> @@ -29,7 +29,9 @@ -type == "photo" || $item->type == "resize"): ?> + + +type == "photo"): ?> type == "movie"): ?> @@ -42,30 +44,31 @@ + parent())): ?> -type == "photo" || $item->type == "resize"): ?> +type == "photo"): ?> type == "movie"): ?> type == "album"): ?> -id?csrf=$csrf") ?>" +id?csrf=$csrf&page_type=$page_type") ?>" title=""> -type == "photo" || $item->type == "resize"): ?> +type == "photo"): ?> type == "movie"): ?> type == "album"): ?> -id?csrf=$csrf") ?>" +id?csrf=$csrf&page_type=$page_type") ?>" title=""> -- cgit v1.2.3