From d97a701e669d6c0938f734d78d7d7590e6cfad51 Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 13 Aug 2008 12:19:19 +0000 Subject: front page login box git-svn-id: https://code.elgg.org/elgg/trunk@1893 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/forms/login.php | 27 ++++++++++++++------------- views/default/css.php | 10 +++++----- 2 files changed, 19 insertions(+), 18 deletions(-) (limited to 'views') diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php index 7afef1404..cd66e3cdb 100644 --- a/views/default/account/forms/login.php +++ b/views/default/account/forms/login.php @@ -10,21 +10,22 @@ * @copyright Curverider Ltd 2008 * @link http://elgg.org/ */ - - global $CONFIG; - - $form_body = "

"; - $form_body .= "
"; - $form_body .= "
"; - $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "

"; - $form_body .= "

"; - $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "" . elgg_echo('register') . " : " : ""; - $form_body .= "" . elgg_echo('user:password:lost') . "

"; - + + global $CONFIG; + + $form_body = "

"; + $form_body .= "
"; + $form_body .= "
"; + $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "

"; + $form_body .= "

"; + $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "" . elgg_echo('register') . " | " : ""; + $form_body .= "" . elgg_echo('user:password:lost') . "

"; + // ?> -

- $form_body, 'action' => "{$vars['url']}action/login")); ?> +
+

+ $form_body, 'action' => "{$vars['url']}action/login")); ?>
\ No newline at end of file diff --git a/views/default/css.php b/views/default/css.php index 93a2b3096..6311241d1 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -855,15 +855,15 @@ input[type="submit"] { LOGIN / REGISTER *************************************** */ #login-box { - margin-top: 20px; + margin: 10px; text-align:left; - border:1px solid #ddd; - width:300px; padding:10px; background: #ffffff; - - float:left; } +#login-box .login-textarea { + width:155px; +} + #login-box-openid { margin-top: 20px; text-align:left; -- cgit v1.2.3