aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/default.php2
-rw-r--r--views/default/object/plugin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/object/default.php b/views/default/object/default.php
index 7ef563e91..6975804c3 100644
--- a/views/default/object/default.php
+++ b/views/default/object/default.php
@@ -29,7 +29,7 @@ if ($vars['full']) {
$controls = "";
if ($vars['entity']->canEdit()) {
$delete = elgg_view('output/confirm_link', array(
- 'href' => "{$vars['url']}action/entities/delete?guid={$vars['entity']->guid}",
+ 'href' => elgg_get_site_url()."action/entities/delete?guid={$vars['entity']->guid}",
'text' => elgg_echo('delete')
));
$controls .= " ($delete)";
diff --git a/views/default/object/plugin.php b/views/default/object/plugin.php
index 7b1e7d2df..bef709d7d 100644
--- a/views/default/object/plugin.php
+++ b/views/default/object/plugin.php
@@ -15,5 +15,5 @@ $form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'plugin'
?>
<div>
- <?php echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/plugins/{$prefix}settings/save")); ?>
+ <?php echo elgg_view('input/form', array('body' => $form_body, 'action' => elgg_get_site_url()."action/plugins/{$prefix}settings/save")); ?>
</div> \ No newline at end of file