debug
This commit is contained in:
parent
09f5fa201e
commit
8c19510aa5
@ -7,7 +7,7 @@ require_once 'fonctions.inc.php';
|
||||
$path = $_SERVER["PHP_SELF"];
|
||||
$db = new db();
|
||||
|
||||
$idVotation = getpost("id");
|
||||
$idVotation = getpost("idVotation");
|
||||
$method = getpost("method");
|
||||
$libelle = getpost("libelle");
|
||||
|
||||
|
@ -57,7 +57,7 @@ function choixVote($path, $idVotation, $confirm=false)
|
||||
print '<input type="hidden" name="idVotation" value="' . $idVotation . '"/>';
|
||||
foreach($votes as $key => $value )
|
||||
{
|
||||
print '<input type="radio" name="idVote" value="' . $value["id"] . '"/> ' . $value["candidat"] . '<br>';
|
||||
print '<input type="radio" name="idVote" value="' . $value["id"] . '"/> ' . $value["libelle"] . '<br>';
|
||||
}
|
||||
// TODO confirmation du choix par javascript si $confirm = true
|
||||
|
||||
@ -88,7 +88,7 @@ function choixVotation($path, $methode = 2, $confirm = true) //2 = toutes les v
|
||||
print '<input type="hidden" name="action" value="' . $action . '"/>';
|
||||
foreach($votations as $key => $value )
|
||||
{
|
||||
print '<input type="radio" name="id" value="' . $value["id"] . '"/> ' . $value["titre"] . ' :' . $value["libelle"] . '<br>';
|
||||
print '<input type="radio" name="idVotation" value="' . $value["id"] . '"/> ' . $value["titre"] . ' :' . $value["libelle"] . '<br>';
|
||||
}
|
||||
// TODO confirmation du choix par javascript si $confirm = true
|
||||
|
||||
|
Reference in New Issue
Block a user