aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-08 11:15:45 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-08 11:15:45 +0000
commit031b32c3cbd35da918b41b9a2e0c21060298c85b (patch)
tree149f1cf9cdf96e0f3c72095ee4db235206e723c6
parent29abc15133a5d125f05e956f9ff1a737b7db0ca5 (diff)
downloadelgg-031b32c3cbd35da918b41b9a2e0c21060298c85b.tar.gz
elgg-031b32c3cbd35da918b41b9a2e0c21060298c85b.tar.bz2
delete and edit wired up on full view
-rw-r--r--watch.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/watch.php b/watch.php
index c46a20948..7ca752265 100644
--- a/watch.php
+++ b/watch.php
@@ -42,11 +42,12 @@ if ($videos = get_entity($video_id)) {
$area1 .= "<div id='content_header' class='clearfloat'><div class='content_header_title'><h2>".$title."</h2></div>";
if ($videos->canEdit()) {
$area1 .= "<div class='content_header_options'>
- <a class='action_button' href=\"{$CONFIG->wwwroot}mod/videolist/edit.php?file_guid={$videos->getGUID()}\">".elgg_echo('edit')."</a>";
+ <a class='action_button' href=\"{$CONFIG->wwwroot}mod/videolist/edit.php?video={$videos->getGUID()}\">".elgg_echo('edit')."</a>";
$area1 .= elgg_view('output/confirmlink',array(
- 'href' => $CONFIG->wwwroot . "action/videolist/delete?file=" . $videos->getGUID(),
+ 'href' => $CONFIG->wwwroot . "action/videolist/delete?video=" . $videos->getGUID(),
'text' => elgg_echo('delete'),
+ 'is_action' => true,
'confirm' => elgg_echo('document:delete:confirm'),
'class' => 'action_button disabled'))."</div>";
}