diff --git a/Question.class.php b/Question.class.php index cb20878..7cf60e6 100644 --- a/Question.class.php +++ b/Question.class.php @@ -116,6 +116,24 @@ class Question { return $this->validated; } + + public function getCourse() + { + return $course; + } + + public function getQuestion() + { + return $question; + } + + public function getAnswer() + { + return $answers; + } + + + } ?> \ No newline at end of file diff --git a/confirmation.php b/confirmation.php index 7fe2391..245f970 100644 --- a/confirmation.php +++ b/confirmation.php @@ -42,10 +42,13 @@ else $message = "Bonjour,\n" ."Une nouvelle question a été proposée à Nemubot.\n\n" - ."Vous avez été sélectionné pour valider la question.\n" - ."Vous pouvez cliquer sur le lien ci-dessous pour voir " - ."les détails de la question et la valider si elle vous " - ."semble juste.\n\n" + ."Vous avez été sélectionné pour valider la question.\n\n" + + ."Rappels de la questions:\n" + .'Cours concerné : ' . $question->getCourse() . "\n" + .'La question est : ' . $question->getQuestion() . "\n" + .'Les réponses sont : ' . print_r($question->getAnswer(), true) . "\n" + ."Adresse de confirmation de la question:\n" . "http://".$_SERVER["SERVER_NAME"] diff --git a/email.txt b/email.txt index e03875c..d7a30da 100644 --- a/email.txt +++ b/email.txt @@ -1,5 +1,6 @@ -5 +2 bertrand.cournaud@gmail.com +bertrand@cournaud.fr colona@ycc.fr ircquizz@23.tf ircquizz@p0m.fr