Le formulaire prend maintenant l'url complète du sondage pour une meilleure lisibilité lors de la validation du formulaire

This commit is contained in:
Simon Leblanc 2011-06-27 00:39:58 +02:00
parent 8f05ffe463
commit 9e350b5869
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ if ($dsondage->commentaires) {
echo '<br>'."\n";
echo '</div>'."\n";
echo '<form name="formulaire" action="studs.php"'.'#bas" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
echo '<form name="formulaire" action="'.getUrlSondage($dsondage->id_sondage).'"'.'#bas" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
echo '<input type="hidden" name="sondage" value="' . $numsondage . '"/>';
// Todo : add CSRF protection
echo '<div class="cadre"> '."\n";