May I suggest that it would be a good idea to make the login Block Themable.
For example, I was to remove the
bwtween the links: 'Login' and 'Register' and I can only currently do that by manually adjusting the code on line 100.
Thank you.

Comments

sirclickalot’s picture

My apologies, I should have included this is the original post.
You seem to have hard-coded in a size and with for the popup Form too - this is rather limiting. especially given the easily-to-theme nature of Drupal.
May suggest that you include a style sheet, perhaos something along th lines of...

#ajax_register_block_authenticated, #ajax_register_block_anonymous {
padding-top:6px;
float:right;
}

#ajax_register_block_authenticated p {
padding-right: 8px;
display:inline;
}

#TB_ajaxContent {
width: 400px; /* Allow developer to choose their own dimension */
height: 3195px;
}

Finally, I also notice a couple of what I think might be bugs...

1) The 'Forgot Your Password' does not appear to actually link anywhere
2) I am seeing the following Drupal massage...

'warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'user_pass' was given in C:\xampp\htdocs\XXXX\includes\form.inc on line 372.'

Scheepers de Bruin’s picture

Assigned: Unassigned » Scheepers de Bruin

Thanks for your comment.

Regarding the themeing:

You may theme or alter the form elements like you would any other form elements using hook_form_alter

As for the other possible bugs, I'll investigate.