diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-06 08:10:42 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-06 08:10:42 +0000 |
commit | 63edb37076b9c1248041368f0aa16013cb7edb15 (patch) | |
tree | 67424d0ebf7997484018afa63043deac41cb579f /core/helpers/core_theme.php | |
parent | 7e23ec89d93cd7874145c7132236a057c6513ca6 (diff) |
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.
Diffstat (limited to 'core/helpers/core_theme.php')
-rw-r--r-- | core/helpers/core_theme.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 "<div class=\"gQuick\" href=\"$edit_link\">"; } } @@ -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 "<div class=\"gQuick\" href=\"$edit_link\">"; } } |