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/account/forms/forgotten_password.php | 2 +- views/default/account/forms/login.php | 8 ++-- views/default/account/forms/login_dropdown.php | 10 ++--- .../default/account/forms/login_walled_garden.php | 8 ++-- views/default/account/forms/register.php | 2 +- views/default/account/forms/useradd.php | 2 +- views/default/admin/appearance/menu_items.php | 2 +- views/default/admin/components/plugin.php | 18 ++++---- views/default/admin/components/plugin_settings.php | 2 +- views/default/admin/plugins/simple.php | 4 +- views/default/annotation/generic_comment.php | 2 +- views/default/annotation/latest_comments.php | 2 +- views/default/annotation/likes.php | 2 +- views/default/canvas/layouts/administration.php | 18 ++++---- views/default/canvas/layouts/widgets.php | 18 ++++---- views/default/comments/forms/edit.php | 2 +- views/default/css.php | 52 +++++++++++----------- views/default/dashboard/blurb.php | 2 +- views/default/friends/collection.php | 4 +- views/default/friends/collectiontabs.php | 4 +- views/default/friends/forms/edit.php | 2 +- views/default/group/search/finishblurb.php | 2 +- views/default/input/autocomplete.php | 4 +- views/default/input/userpicker.php | 4 +- views/default/likes/forms/edit.php | 2 +- views/default/likes/forms/link.php | 2 +- views/default/object/default.php | 2 +- views/default/object/plugin.php | 2 +- views/default/output/tagcloud.php | 4 +- views/default/output/tags.php | 2 +- views/default/page_elements/content_header.php | 6 +-- views/default/page_elements/elgg_footer.php | 2 +- views/default/page_elements/elgg_header_logo.php | 2 +- views/default/page_elements/elgg_topbar.php | 6 +-- views/default/page_elements/elgg_topbar_logout.php | 2 +- views/default/page_elements/html_begin.php | 20 ++++----- views/default/page_elements/html_begin_admin.php | 12 ++--- views/default/page_shells/walled_garden.php | 18 ++++---- views/default/settings/system.php | 2 +- views/default/settings/upgrading.php | 4 +- views/default/user/search/finishblurb.php | 2 +- views/default/usersettings/form.php | 2 +- views/default/widgets/editwrapper.php | 4 +- views/default/widgets/wrapper.php | 2 +- 44 files changed, 137 insertions(+), 137 deletions(-) (limited to 'views/default') diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php index 6c000bfc6..0d88cf8f7 100644 --- a/views/default/account/forms/forgotten_password.php +++ b/views/default/account/forms/forgotten_password.php @@ -13,7 +13,7 @@ $form_body .= elgg_view('input/captcha'); $form_body .= "

" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "

"; echo elgg_view('input/form', array( - 'action' => "{$vars['url']}action/user/requestnewpassword", + 'action' => elgg_get_site_url()."action/user/requestnewpassword", 'body' => $form_body, 'class' => "margin_top" )); diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php index 8f3986c4e..ceaaf66d0 100644 --- a/views/default/account/forms/login.php +++ b/views/default/account/forms/login.php @@ -17,12 +17,12 @@ $form_body .= "