summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-05 08:05:50 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-05 08:05:50 +0000
commit7482b6683eb0cabb9841f839a474d25b4257fc91 (patch)
tree94471660020e8d307affc1a6e1eaaa10f1fda1bd /core/helpers/core_block.php
parent0b473327c58df6d6261270cd007421e42eda3d29 (diff)
Add "quick edit" which lets you edit a photo's details from the albums
page.
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r--core/helpers/core_block.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php
index 0976c37a..f4224190 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -35,8 +35,8 @@ class core_block_Core {
public static function thumb_top($theme, $child) {
if ($child->type == "photo" && access::can("edit", $child)) {
- $edit_link = url::site("quick/edit/$child->id");
- return "<div class=\"gQuick\" quick_link=\"$edit_link\">";
+ $edit_link = url::site("quick/pane/$child->id");
+ return "<div class=\"gQuick\" href=\"$edit_link\">";
}
}