From 89122cc4a41606a74b3e8263f57eabc8c4f447e1 Mon Sep 17 00:00:00 2001 From: Bertrand Date: Wed, 20 Jun 2012 16:28:27 +0200 Subject: [PATCH] Can add comment when refused question --- thanksRefused.php | 5 ++++- validation.php | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/thanksRefused.php b/thanksRefused.php index 7a32197..74bce05 100644 --- a/thanksRefused.php +++ b/thanksRefused.php @@ -26,7 +26,10 @@ if (isset($_POST['id'])) ." - Question posée : " . $question->getQuestion() . "\n" ." - Les réponses valides sont :\n".$question->getAnswersMail()."\n" - ."Vous pouvez modifier la question à cette adresse :\n" + ."\nLa raison de ce refus est la suivante : \n" + . $_POST['comment'] + + ."\n\nVous pouvez modifier la question à cette adresse :\n" ."http://".$_SERVER["SERVER_NAME"].dirname($_SERVER["REQUEST_URI"]) ."changeQuestion.php?id=".$question->getNormalId() diff --git a/validation.php b/validation.php index fa335b9..6e002c5 100644 --- a/validation.php +++ b/validation.php @@ -35,6 +35,10 @@ if ($question->isValidation())
+ + +