aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views')
-rw-r--r--mod/file/views/default/object/file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index c1d2a3d13..2511f5af6 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -43,7 +43,7 @@
echo "<a href=\"".elgg_get_site_url()."mod/file/edit.php?file_guid={$file->getGUID()}\">" . elgg_echo('edit') . "</a>&nbsp;";
echo elgg_view('output/confirmlink',array(
- 'href' => elgg_get_site_url() . "action/file/delete?file=" . $file->getGUID(),
+ 'href' => "action/file/delete?file=" . $file->getGUID(),
'text' => elgg_echo("delete"),
'confirm' => elgg_echo("file:delete:confirm"),
'is_action' => true,
@@ -151,7 +151,7 @@
<?php
echo elgg_view('output/confirmlink',array(
- 'href' => elgg_get_site_url() . "action/file/delete?file=" . $file->getGUID(),
+ 'href' => "action/file/delete?file=" . $file->getGUID(),
'text' => elgg_echo("delete"),
'confirm' => elgg_echo("file:delete:confirm"),
'is_action' => true,