aboutsummaryrefslogtreecommitdiff
path: root/views/default/account/forms
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-28 14:50:53 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-28 14:50:53 +0000
commitb8192c6349d9b5b3293099d06ee1eb239dd7b9fd (patch)
tree91611103909d2cf240ebcc994e51d8fa9cbf03e5 /views/default/account/forms
parent92653993d3d6376936d32f071803e4a372faf0c2 (diff)
downloadelgg-b8192c6349d9b5b3293099d06ee1eb239dd7b9fd.tar.gz
elgg-b8192c6349d9b5b3293099d06ee1eb239dd7b9fd.tar.bz2
Closes #306
git-svn-id: https://code.elgg.org/elgg/trunk@2330 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/account/forms')
-rw-r--r--views/default/account/forms/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php
index cd66e3cdb..661ce763c 100644
--- a/views/default/account/forms/login.php
+++ b/views/default/account/forms/login.php
@@ -16,7 +16,7 @@
$form_body = "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label>";
$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('input/submit', array('value' => elgg_echo('login'))) . "</p>";
+ $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . " <div id=\"persistent_login\"><label><input type=\"checkbox\" name=\"persistent\" value=\"true\" />".elgg_echo('user:persistent')."</label></div></p>";
$form_body .= "<p>";
$form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "<a href=\"{$vars['url']}account/register.php\">" . elgg_echo('register') . "</a> | " : "";
$form_body .= "<a href=\"{$vars['url']}account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";