Changeset 135
- Timestamp:
- 12/26/07 13:59:08 (1 year ago)
- Files:
-
- branches/RB-0.9/wp-infocard/site-messages/en-us/new-email.html (modified) (1 diff)
- branches/RB-0.9/wp-infocard/site-messages/en-us/to-be-verified-new-user.html (added)
- branches/RB-0.9/wp-infocard/site-messages/en-us/trusted-new-email.html (added)
- branches/RB-0.9/wp-infocard/wp/clickback.pw.php (modified) (1 diff)
- branches/RB-0.9/wp-infocard/wp/userdata.pw.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/RB-0.9/wp-infocard/site-messages/en-us/new-email.html
r110 r135 1 <h2>Email Address Change</h2> 2 <p>Your email address has changed - please note that your login ID is based on your original email address, and will remain the same. This will be important if you ever need to recover your regular password.</p> 1 <h2>Email Validation Required</h2> 2 3 <p>You have changed the email address in your registered Information Card. You must validate the new email address before you can continue.</p> 4 5 <p>This blog is currently sending you an email. It contains a link back to this site. Please click on that link, which will validate you by proving that your claim to control the stated email address is legitimate.</p> branches/RB-0.9/wp-infocard/wp/clickback.pw.php
r125 r135 107 107 // Output: none 108 108 // Side Effects: sends an email 109 function sendAccountValidation( $clickbackID, $user_email )109 function sendAccountValidation( $clickbackID, $user_email, $function='registration' ) 110 110 { 111 global $mosConfig_live_site; 111 switch ($function) 112 { 113 case "registration": 114 $message = sprintf('Please complete your registration at %s by opening the link below.', pw_utils::getTitle()) . "\r\n\r\n"; 115 $email_title = 'New Information Card Registration'; 116 break; 117 118 case "emailvalidation": 119 $email_title = 'Information Card Email Validation'; 120 $message = sprintf('Someone has recently attempted to change their email address at %s (%s) to be this email address. If you are the person who has triggered this change, please click on the link below to confirm. If you have received this email in error, please disregard.', pw_utils::getTitle(), pw_utils::getSuccessUrl()) . "\r\n\r\n"; 121 break; 122 123 default: 124 pw_utils::printDebug('Error: invalid function passed to sendAccountValidation!<br/>'); 125 126 } 112 127 $clickbackUrl = PW_SECUREPLUGINURL . "/" . PW_PLUGIN . "/login/infocard-clickback.php?clickbackID=" . $clickbackID; 113 128 114 $message = sprintf('Please complete your registration at %s by opening the link below.', pw_utils::getTitle()) . "\r\n\r\n"; 115 $message .= $clickbackUrl."\r\n\r\nThanks\r\n"; 129 $message .= $clickbackUrl."\r\n\r\nThank You.\r\n"; 116 130 // sendEmail: to-address, subject, body 117 pw_utils::sendEmail($user_email, 'New InfoCard Registration', $message);131 pw_utils::sendEmail($user_email, $email_title, $message); 118 132 119 133 pw_utils::printDebug( "<br/><br/>Account Validation is required.<br/>" branches/RB-0.9/wp-infocard/wp/userdata.pw.php
r129 r135 734 734 pw_utils::printDebug('DBv1 users left: ' . $total_cards . '<br/>'); 735 735 } //end function updateLegacyCardHash 736 736 737 } // end class pw_userdata 737 738 ?>
