aboutsummaryrefslogtreecommitdiff
path: root/views/default/account
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/account')
-rw-r--r--views/default/account/forms/forgotten_password.php2
-rw-r--r--views/default/account/forms/login_walled_garden.php2
-rw-r--r--views/default/account/forms/register.php2
-rw-r--r--views/default/account/forms/useradd.php2
4 files changed, 4 insertions, 4 deletions
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 .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "</p>";
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;
<h2><?php echo elgg_echo('user:password:lost'); ?></h2>
<?php
echo elgg_view('input/form', array(
- 'action' => 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'))) . "</p>";
-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"));
?>
<script type="text/javascript">
diff --git a/views/default/account/forms/useradd.php b/views/default/account/forms/useradd.php
index bad1b11df..4729048e6 100644
--- a/views/default/account/forms/useradd.php
+++ b/views/default/account/forms/useradd.php
@@ -27,5 +27,5 @@ $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value
<div class="admin_settings add_user">
<h3><?php echo elgg_echo('adduser'); ?></h3>
- <?php echo elgg_view('input/form', array('action' => elgg_get_site_url()."action/useradd", 'body' => $form_body)) ?>
+ <?php echo elgg_view('input/form', array('action' => "action/useradd", 'body' => $form_body)) ?>
</div> \ No newline at end of file