From 7dd19a4cb04803f4d05fcd109b3149c6926b6558 Mon Sep 17 00:00:00 2001
From: ewinslow
Date: Tue, 2 Nov 2010 19:54:30 +0000
Subject: Refs #2463: Removed many more graituitous calls to
elgg_get_site_url(), $CONFIG->url, etc.
git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544
---
views/default/account/forms/forgotten_password.php | 2 +-
views/default/account/forms/login_walled_garden.php | 2 +-
views/default/account/forms/register.php | 2 +-
views/default/account/forms/useradd.php | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
(limited to 'views/default/account/forms')
diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php
index 0d88cf8f7..2fe2bc9d9 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' => elgg_get_site_url()."action/user/requestnewpassword",
+ 'action' => "action/user/requestnewpassword",
'body' => $form_body,
'class' => "margin_top"
));
diff --git a/views/default/account/forms/login_walled_garden.php b/views/default/account/forms/login_walled_garden.php
index 8b5d593bb..4bfc3afda 100644
--- a/views/default/account/forms/login_walled_garden.php
+++ b/views/default/account/forms/login_walled_garden.php
@@ -60,7 +60,7 @@ __HTML;
elgg_get_site_url()."action/user/requestnewpassword",
+ 'action' => "action/user/requestnewpassword",
'body' => $lostpassword_form_body
));
?>
diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php
index 9b777ba64..828a99b4b 100644
--- a/views/default/account/forms/register.php
+++ b/views/default/account/forms/register.php
@@ -38,7 +38,7 @@ $form_body .= elgg_view('input/hidden', array('internalname' => 'invitecode', 'v
$form_body .= elgg_view('input/hidden', array('internalname' => 'action', 'value' => 'register'));
$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "
";
-echo elgg_view('input/form', array('action' => elgg_get_site_url()."action/register", 'body' => $form_body, 'class' => "margin_top"));
+echo elgg_view('input/form', array('action' => "action/register", 'body' => $form_body, 'class' => "margin_top"));
?>