diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
commit | 7dd19a4cb04803f4d05fcd109b3149c6926b6558 (patch) | |
tree | d0481513061bdc2e3ce16ecb1ad49f81d0ab706f /views/default/account/forms | |
parent | 172bbf136ab45a5c6e4f53f911d9901797bb0020 (diff) | |
download | elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.gz elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.bz2 |
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
Diffstat (limited to 'views/default/account/forms')
-rw-r--r-- | views/default/account/forms/forgotten_password.php | 2 | ||||
-rw-r--r-- | views/default/account/forms/login_walled_garden.php | 2 | ||||
-rw-r--r-- | views/default/account/forms/register.php | 2 | ||||
-rw-r--r-- | views/default/account/forms/useradd.php | 2 |
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 |