aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-14 16:07:17 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-14 16:07:17 +0000
commite2bcd04612f751c035ab4e331a7a2176e9f7e35b (patch)
tree24b40c2d926cacdf42ac78c91ebe018500918fb2
parent736771dcea2a7ca82b90be27edf317dae3338489 (diff)
downloadelgg-e2bcd04612f751c035ab4e331a7a2176e9f7e35b.tar.gz
elgg-e2bcd04612f751c035ab4e331a7a2176e9f7e35b.tar.bz2
Moving login/extend view to call after the login button (consistent with login dropdown).
git-svn-id: http://code.elgg.org/elgg/trunk@6050 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/account/forms/login.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php
index baea51770..168bef604 100644
--- a/views/default/account/forms/login.php
+++ b/views/default/account/forms/login.php
@@ -12,10 +12,12 @@ $form_body = "<label>" . elgg_echo('username') . "<br />" . elgg_view('input/tex
$form_body .= "<br />";
$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login_textarea')) . "</label><br />";
-$form_body .= elgg_view('login/extend');
$form_body .= elgg_view('input/hidden', array('internalname' => 'returntoreferer', 'value' => 'true'));
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login')));
$form_body .= "<div class='persistent_login'><label><input type='checkbox' name='persistent' value='true' />".elgg_echo('user:persistent')."</label></div>";
+
+$form_body .= elgg_view('login/extend');
+
$form_body .= "<p class='loginbox'>";
$form_body .= $CONFIG->allow_registration ? "<a href=\"{$vars['url']}pg/register/\">" . elgg_echo('register') . '</a> | ' : '';
$form_body .= "<a href=\"{$vars['url']}account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";