diff --git a/subscribeAction.php b/subscribeAction.php index fa2fdab..1a79783 100644 --- a/subscribeAction.php +++ b/subscribeAction.php @@ -1,9 +1,19 @@ \n"; $message = "Bonjour,\n" ."Vous avez demandé à être ajouté à la liste des participants " @@ -11,16 +21,14 @@ $message = "Bonjour,\n" ."Si c'est le cas, vous pouvez cliquer sur le lien suivant " ."pour confirmer :\n" - . "http://".$_SERVER["SERVER_NAME"] - . dirname($_SERVER["REQUEST_URI"]) . "subscribeConfirmation.php" + . "http://".$_SERVER["SERVER_NAME"] + . dirname($_SERVER["REQUEST_URI"]) . "subscribeConfirmation.php" ."\n\n Si ce n'est pas le cas, merci de supprimer cet email\n" ."Cordialement,\n\n" ."-- \nNemubot"; -$question = new Question(); - -if ($question->mail_utf8($email, $subject, $message, $headers)) +if (mail_utf8($email, $subject, $message, $headers)) { echo "email sent"; } diff --git a/thanks.php b/thanks.php index 018a9c9..7033566 100644 --- a/thanks.php +++ b/thanks.php @@ -25,6 +25,7 @@

Nemubot Questions (BETA)

+

Merci de votre participation!

@@ -43,6 +44,6 @@ Proposer une nouvelle question

- +