ERROR: please enter your nickname (can be the same as your username)")); return false; } /* if the ICQ UIN has been entered, check to see if it has only numbers */ if (!empty($_POST["newuser_icq"])) { if ((ereg("^[0-9]+$",$_POST["newuser_icq"]))==false) { die (__("ERROR: your ICQ UIN can only be a number, no letters allowed")); return false; } } /* checking e-mail address */ if (empty($_POST["newuser_email"])) { die (__("ERROR: please type your e-mail address")); return false; } else if (!is_email($_POST["newuser_email"])) { die (__("ERROR: the e-mail address isn't correct")); return false; } $pass1 = $_POST["pass1"]; $pass2 = $_POST["pass2"]; do_action('check_passwords', array($user_login, &$pass1, &$pass2)); if ( '' == $pass1 ) { if ( '' != $pass2 ) die (__("ERROR: you typed your new password only once. Go back to type it twice.")); $updatepassword = ""; } else { if ('' == $pass2) die (__("ERROR: you typed your new password only once. Go back to type it twice.")); if ( $pass1 != $pass2 ) die (__("ERROR: you typed two different passwords. Go back to correct that.")); $newuser_pass = $pass1; $updatepassword = "user_pass=MD5('$newuser_pass'), "; wp_clearcookie(); wp_setcookie($user_login, $newuser_pass); } $newuser_firstname = wp_specialchars($_POST['newuser_firstname']); $newuser_lastname = wp_specialchars($_POST['newuser_lastname']); $newuser_nickname = $_POST['newuser_nickname']; $newuser_nicename = sanitize_title($newuser_nickname); $newuser_icq = wp_specialchars($_POST['newuser_icq']); $newuser_aim = wp_specialchars($_POST['newuser_aim']); $newuser_msn = wp_specialchars($_POST['newuser_msn']); $newuser_yim = wp_specialchars($_POST['newuser_yim']); $newuser_email = wp_specialchars($_POST['newuser_email']); $newuser_url = wp_specialchars($_POST['newuser_url']); $newuser_url = preg_match('/^(https?|ftps?|mailto|news|gopher):/is', $newuser_url) ? $newuser_url : 'http://' . $newuser_url; $newuser_idmode = wp_specialchars($_POST['newuser_idmode']); $user_description = $_POST['user_description']; $result = $wpdb->query("UPDATE $wpdb->users SET user_firstname='$newuser_firstname', $updatepassword user_lastname='$newuser_lastname', user_nickname='$newuser_nickname', user_icq='$newuser_icq', user_email='$newuser_email', user_url='$newuser_url', user_aim='$newuser_aim', user_msn='$newuser_msn', user_yim='$newuser_yim', user_idmode='$newuser_idmode', user_description = '$user_description', user_nicename = '$newuser_nicename' WHERE ID = $user_ID"); wp_redirect('profile.php?updated=true'); break; case 'IErightclick': $bookmarklet_height= 550; ?>

To have a one-click bookmarklet, just copy and paste this
into a new text file:

Save it as wordpress.reg, and double-click on this file in an Explorer
window. Answer Yes to the question, and restart Internet Explorer.

That's it, you can now right-click in an IE window and select
'Post to WP' to make the bookmarklet appear. :)

user_login; ?>
user_level; ?>
Password (Leave blank to stay the same.)') ?>

user_level != 0) { ?>

WordPress Sidebar!') ?>

.
*/ include('admin-footer.php'); ?>