From: Dave Tosh Date: Thu, 8 Apr 2010 11:15:45 +0000 (+0000) Subject: delete and edit wired up on full view X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=031b32c3cbd35da918b41b9a2e0c21060298c85b;p=lorea%2Felgg.git delete and edit wired up on full view --- 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'))."
"; }