add a link to update your profile

This commit is contained in:
Michael Erdely 2024-10-18 22:51:01 -04:00
parent 746ec3ab43
commit b537f40f40
3 changed files with 11 additions and 7 deletions

View file

@ -72,9 +72,10 @@ if ($action == "approve") {
"Your Gift Registry application was approved.\r\n" .
"Your username is {$row["username"]} and your password is '$pwd'.\r\n" .
"Log in to {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/ and change your password under " .
"'Update Profile' (menu at the top/right of the page) as soon as possible.\r\n" .
"'Update Profile' as soon as possible:\r\n" .
" {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/profile.php\r\n" .
"\r\n" .
"There is a browser bookmarklet at {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/help.php\r\n" .
"There is help and a browser bookmarklet at {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/help.php\r\n" .
"\r\n" .
"Once you've logged in, you can see the people you can shop for under 'Available People To Shopping For'. " .
"Click on the icon next to each person you want to shop for to see their lists.\r\n" .

View file

@ -140,9 +140,10 @@ if (isset($_POST["action"]) && $_POST["action"] == "signup") {
"Your Gift Registry account was created.\r\n" .
"Your username is $username and your password is '$pwd'.\r\n" .
"Log in to {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/ and change your password under " .
"Update Profile (menu at the top/right of the page) as soon as possible.\r\n" .
"'Update Profile' as soon as possible:\r\n" .
" {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/profile.php\r\n" .
"\r\n" .
"There is a browser bookmarklet at {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/help.php\r\n" .
"There is help and a browser bookmarklet at {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/help.php\r\n" .
"\r\n" .
"Once you've logged in, you can see the people you can shop for under 'Available People To Shopping For'. " .
"Click on the icon next to each person you want to shop for to see their lists.\r\n" .

View file

@ -177,9 +177,10 @@ else if ($action == "insert") {
"Your Gift Registry account was created.\r\n" .
"Your username is $username and your password is '$pwd'.\r\n" .
"Log in to {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/ and change your password under\r\n" .
"Update Profile (menu at the top/right of the page) as soon as possible.\r\n" .
"'Update Profile' as soon as possible:\r\n" .
" {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/profile.php\r\n" .
"\r\n" .
"There is a browser bookmarklet at {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/help.php\r\n" .
"There is help and a browser bookmarklet at {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/help.php\r\n" .
"\r\n" .
"Once you've logged in, you can see the people you can shop for under 'Available People To Shopping For'. " .
"Click on the icon next to each person you want to shop for to see their lists.\r\n" .
@ -230,7 +231,8 @@ else if ($action == "reset") {
"Gift Registry password reset",
"Your Gift Registry password was reset to '$pwd'.\r\n" .
"Log in to {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/ and change your password under\r\n" .
"Update Profile (menu at the top/right of the page) as soon as possible.",
"Update Profile as soon as possible:\r\n" .
" {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}/profile.php\r\n",
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
) or die("Mail not accepted for $email");
header("Location: " . getFullPath("users.php?message=Password+reset."));