Can add comment when refused question
This commit is contained in:
parent
b9e54784fa
commit
89122cc4a4
@ -26,7 +26,10 @@ if (isset($_POST['id']))
|
|||||||
." - Question posée : " . $question->getQuestion() . "\n"
|
." - Question posée : " . $question->getQuestion() . "\n"
|
||||||
." - Les réponses valides sont :\n".$question->getAnswersMail()."\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"])
|
."http://".$_SERVER["SERVER_NAME"].dirname($_SERVER["REQUEST_URI"])
|
||||||
."changeQuestion.php?id=".$question->getNormalId()
|
."changeQuestion.php?id=".$question->getNormalId()
|
||||||
|
|
||||||
|
@ -35,6 +35,10 @@ if ($question->isValidation())
|
|||||||
<form method="post"
|
<form method="post"
|
||||||
class="invalidation"
|
class="invalidation"
|
||||||
action="thanksRefused.php">
|
action="thanksRefused.php">
|
||||||
|
<label for="comment">Précisez les raisons de votre refus</label>
|
||||||
|
<input name="comment" type="textarea"
|
||||||
|
rows="5" cols="50" />
|
||||||
|
|
||||||
<input type="hidden" name="id" value="<?php echo $question->getId() ?>">
|
<input type="hidden" name="id" value="<?php echo $question->getId() ?>">
|
||||||
<input type="submit" value="Refuser la question">
|
<input type="submit" value="Refuser la question">
|
||||||
</form>
|
</form>
|
||||||
|
Reference in New Issue
Block a user