Hi,

I found that the default 'My Account' page didn't fit in with the site I was creating (it messed up the look of my menus and contained all sorts of stuff that wasn't relevant, so turned it off (using the user.module hacks suggested elsewhere - naughty I know).

Anyway, I'd still like to let users change their passwords if they want, but I'm useless with php. Could anybody give me some pointers so that I could mirror the standard form that you get in /user/&user->uid/edit:

Password:
Confirm password:
To change the current user password, enter the new password in both fields.

I found this in user.module, and am pretty sure I need to do something in a similar fashion:

if (!$register) {
    $form['account']['pass'] = array('#type' => 'password_confirm',
      '#description' => t('To change the current user password, enter the new password in both fields.'),
      '#size' => 25,
    );
 }

Thanks, Tom