aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/forms/edit.php1
-rw-r--r--views/default/object/videolist.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/views/default/forms/edit.php b/views/default/forms/edit.php
index 09dba432c..00658bd2b 100644
--- a/views/default/forms/edit.php
+++ b/views/default/forms/edit.php
@@ -29,6 +29,7 @@ $container_guid = $vars['entity']->container_guid;
if (isset($vars['entity'])) {
echo "<input type='hidden' name=\"file_guid\" value=\"{$vars['entity']->getGUID()}\" />";
}
+ echo elgg_view('input/securitytoken');
?>
<input type="submit" value="<?php echo elgg_echo("save"); ?>" />
</p>
diff --git a/views/default/object/videolist.php b/views/default/object/videolist.php
index 19015384a..82336ec97 100644
--- a/views/default/object/videolist.php
+++ b/views/default/object/videolist.php
@@ -33,8 +33,8 @@ if(!empty($video_file)) {
// include edit and delete options
if ($owner->canEdit()) {
- $info .= "<span class='entity_edit'><a href=\"{$vars['url']}mod/videolist/edit.php?file_guid={$video_guid}\">" . elgg_echo('edit') . "</a></span>";
- $info .= "<span class='delete_button'>" . elgg_view('output/confirmlink',array('href' => $vars['url'] . "action/videolist/delete?file=" . $video_guid, 'text' => elgg_echo("delete"),'confirm' => elgg_echo("videolist:delete:confirm"),)). "</span>";
+ $info .= "<span class='entity_edit'><a href=\"{$vars['url']}mod/videolist/edit.php?video={$video_guid}\">" . elgg_echo('edit') . "</a></span>";
+ $info .= "<span class='delete_button'>" . elgg_view('output/confirmlink',array('href' => $vars['url'] . "action/videolist/delete?video=" . $video_guid, 'text' => elgg_echo("delete"),'confirm' => elgg_echo("videolist:delete:confirm"),)). "</span>";
}
$info .= "</div>";