Index: modules/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user.module,v retrieving revision 1.498 diff -u -F^f -r1.498 user.module --- modules/user.module 5 Aug 2005 01:18:39 -0000 1.498 +++ modules/user.module 6 Aug 2005 00:39:40 -0000 @@ -516,8 +516,6 @@ function user_block($op = 'list', $delta if (!$user->uid && !(arg(0) == 'user' && !is_numeric(arg(1)))) { $edit = $_POST['edit']; - $output = "
\n"; - // NOTE: special care needs to be taken because on pages with forms, // such as node and comment submission pages, the $edit variable // might already be set. @@ -525,9 +523,8 @@ function user_block($op = 'list', $delta $output .= form_textfield(t('Username'), 'name', $edit['name'], 15, 64); $output .= form_password(t('Password'), 'pass', $pass, 15, 64); $output .= form_submit(t('Log in')); - $output .= "
\n"; - $output = form($output, 'post', url('user/login', drupal_get_destination())); + $output = form($output, 'post', url('user/login', drupal_get_destination()), array('id' => 'user-login-form')); if (variable_get('user_register', 1)) { $items[] = l(t('Create new account'), 'user/register', array('title' => t('Create a new user account.'))); Index: misc/drupal.css =================================================================== RCS file: /cvs/drupal/drupal/misc/drupal.css,v retrieving revision 1.111 diff -u -F^f -r1.111 drupal.css --- misc/drupal.css 29 Jul 2005 06:59:29 -0000 1.111 +++ misc/drupal.css 6 Aug 2005 00:39:40 -0000 @@ -465,7 +464,7 @@ form { #tracker table { width: 100%; } -.user-login-block { +#user-login-form { text-align: center; } .more-help-link {