aboutsummaryrefslogtreecommitdiff
path: root/watch.php
diff options
context:
space:
mode:
Diffstat (limited to 'watch.php')
-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>";
}