drupal_mail('user-register-approval-admin',$from,$subject,t("%u has applied for an account.\n\n%uri",array('%u'=>$account->name,'%uri'=>url("user/$account->uid/edit",NULL,NULL,TRUE))),$from);
drupal_mail('user-register-approval-admin',$from,$subject,t("!username has applied for an account.\n\n!edit_uri",$variables),$from);
drupal_set_message(t('Thank you for applying for an account. Your account is currently pending approval by the site administrator.<br />In the meantime, your password and further instructions have been sent to your e-mail address.'));