Change page messages
This commit is contained in:
parent
d74f8ef47c
commit
821b537e93
@ -57,7 +57,8 @@ while ($line == $question->get_validator())
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "La question a été validée"
|
echo "Merci de votre participation <br/>";
|
||||||
|
echo "Une personne va maintenant confirmer votre question"
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -55,14 +55,14 @@ if (isset ($_POST['send']))
|
|||||||
|
|
||||||
echo 'Mail of user : ' . $_POST['email'] . "<br/>";
|
echo 'Mail of user : ' . $_POST['email'] . "<br/>";
|
||||||
|
|
||||||
/* This code works, perhaps should be placed in a method in Question class?
|
/* This code works, perhaps should be placed in a method in Question class?*/
|
||||||
$to = $_POST['email'];
|
$to = $_POST['email'];
|
||||||
$subject = "[Nemubot] Confirmation de question";
|
$subject = "[Nemubot] Confirmation de question";
|
||||||
$headers = "From: Nemubot <bot@nemunai.re>";
|
$headers = "From: Nemubot <bot@nemunai.re>";
|
||||||
$message = "Bonjour,\n" .
|
$message = "Bonjour,\n" .
|
||||||
"Êtes vous la personne qui a posté une nouvelle question ?\n" .
|
"Êtes vous la personne qui a posté une nouvelle question ?\n" .
|
||||||
"Adresse de validation:
|
"Adresse de validation:"
|
||||||
$confirmationAddress . $quest->getId()";
|
. $confirmationAddress . $quest->getId();
|
||||||
|
|
||||||
if (mail($to, $subject, $message, $headers))
|
if (mail($to, $subject, $message, $headers))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user