aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-29 11:51:52 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-29 11:51:52 +0000
commit377a28a18836f23b6759d0e41dc9ad8249297449 (patch)
treeb7b1c7ea3d643c257ab41b5a0b63d8ef7ce423e8
parentedce4be8d472579b712af01c3869f73e53ceecb8 (diff)
downloadelgg-377a28a18836f23b6759d0e41dc9ad8249297449.tar.gz
elgg-377a28a18836f23b6759d0e41dc9ad8249297449.tar.bz2
persistent login checkbox styled
git-svn-id: https://code.elgg.org/elgg/trunk@2343 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/account/forms/login.php4
-rw-r--r--views/default/css.php10
2 files changed, 9 insertions, 5 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php
index 661ce763c..17b44cc78 100644
--- a/views/default/account/forms/login.php
+++ b/views/default/account/forms/login.php
@@ -13,11 +13,11 @@
global $CONFIG;
- $form_body = "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label>";
+ $form_body = "<p class=\"loginbox\"><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'))) . " <div id=\"persistent_login\"><label><input type=\"checkbox\" name=\"persistent\" value=\"true\" />".elgg_echo('user:persistent')."</label></div></p>";
- $form_body .= "<p>";
+ $form_body .= "<p class=\"loginbox\">";
$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>";
diff --git a/views/default/css.php b/views/default/css.php
index 03f902296..c79824783 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -843,13 +843,15 @@ input[type="submit"] {
font-size: 1.2em;
color:gray;
}
+#login-box p.loginbox {
+ margin:10px 0 0 0;
+}
#login-box input[type="text"],
#login-box input[type="password"],
#register-box input[type="text"],
#register-box input[type="password"] {
margin:0 0 10px 0;
}
-
#login-box-openid {
margin: 10px;
text-align:left;
@@ -868,7 +870,6 @@ input[type="submit"] {
margin:0pt 0pt 5px;
padding:5px;
}
-
#register-box {
text-align:left;
border:1px solid #ddd;
@@ -877,7 +878,10 @@ input[type="submit"] {
background: #ffffff;
margin:20px;
}
-
+#persistent_login label {
+ font-size:1.0em;
+ font-weight: normal;
+}
/* ***************************************
PROFILE