diff --git a/mod.php b/mod.php index b5ef4438c..af0d93f83 100644 --- a/mod.php +++ b/mod.php @@ -1,14 +1,56 @@ Email confirmation failed + +

+ Sorry, the URL is incomplete. Please verify that you used the + complete URL even if it spans multiple lines. +

+ERROR; } -mail("confirm@".$sites[$site], "confirm", "[confirm: $token $sender]", "From: $sender"); +// Data OK, send confirmation mail +else { + mail( + "confirm@" . $sites[$site], + "confirm", + "[confirm: $token $sender]", + "From: $sender" + ); -echo "Thanks for confirming your email address. No further action is required on your part."; + echo <<Email confirmation successful + +

+ Thanks for confirming your email address. No further + action is required on your part. +

+THANKS; + +} + +site_footer();