debug
This commit is contained in:
@ -35,7 +35,15 @@ if (!empty($idCandidat))
|
||||
choixVote($path, $idVotation);
|
||||
}else
|
||||
{
|
||||
print('<h3>Nouveau candidat pour le vote');
|
||||
$votationName = $db->queryVotationName($idVotation);
|
||||
$voteName = $db->queryVoteName($idVote);
|
||||
$candidatsList = $db->queryCandidatsList($idVotation, $idVote);
|
||||
print('<h3>Nouveau candidat pour le vote ' . $voteName . ' de la votation ' . $votationName . '</h3>');
|
||||
print('Liste des candidats');
|
||||
foreach($candidatsList as $line)
|
||||
{
|
||||
print($line["libelle"] . EOLH);
|
||||
}
|
||||
candidatsForm($path, $idVotation, $idVote);
|
||||
}
|
||||
print(' </div>
|
||||
|
Reference in New Issue
Block a user