From bb1f45eb02bac603d67ac08cb674c4050a245c28 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:23:45 +0000 Subject: Refs #2598: Converted most $vars['url'] to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/object/default.php | 2 +- views/default/object/plugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/object') 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 .= "

" . elgg_view('input/hidden', array('internalname' => 'plugin' ?>

- $form_body, 'action' => "{$vars['url']}action/plugins/{$prefix}settings/save")); ?> + $form_body, 'action' => elgg_get_site_url()."action/plugins/{$prefix}settings/save")); ?>
\ No newline at end of file -- cgit v1.2.3