From 031b32c3cbd35da918b41b9a2e0c21060298c85b Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Thu, 8 Apr 2010 11:15:45 +0000 Subject: delete and edit wired up on full view --- watch.php | 5 +++-- 1 file 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 .= "

".$title."

"; if ($videos->canEdit()) { $area1 .= "
- wwwroot}mod/videolist/edit.php?file_guid={$videos->getGUID()}\">".elgg_echo('edit').""; + wwwroot}mod/videolist/edit.php?video={$videos->getGUID()}\">".elgg_echo('edit').""; $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'))."
"; } -- cgit v1.2.3