debug
This commit is contained in:
parent
cd91a95aea
commit
ade2a8e0c8
@ -83,13 +83,14 @@ function choixVotation($path, $methode = 2, $confirm = true) //2 = toutes les v
|
|||||||
<input type="submit" value="Envoyer"/>
|
<input type="submit" value="Envoyer"/>
|
||||||
</div>
|
</div>
|
||||||
</form>';
|
</form>';
|
||||||
$db->close;
|
$db->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function votationForm($path, $titre="", $libelle="", $dateDebut="", $DateFin="", $status=0)
|
function votationForm($path, $titre="", $libelle="", $dateDebut="", $dateFin="", $status=0)
|
||||||
{
|
{
|
||||||
//TODO vérification du formulaire en javascript
|
//TODO vérification du formulaire en javascript
|
||||||
print('<form method="get" action="' . $path . '">');
|
print('<form method="get" action="' . $path . '">');
|
||||||
|
print('<input type="hidden" name="status" value="' . $status . '">');
|
||||||
print('<label for="titre">' . _("Titre") .'</label><br><input type="text" id="titre" name="titre" value="'. $titre . '"/>') . EOLH;
|
print('<label for="titre">' . _("Titre") .'</label><br><input type="text" id="titre" name="titre" value="'. $titre . '"/>') . EOLH;
|
||||||
print('<label for="libelle">' . _("Description") . '</label><br><input type="text" id="libelle" name="libelle" value="'. $libelle . '"/>') . EOLH;
|
print('<label for="libelle">' . _("Description") . '</label><br><input type="text" id="libelle" name="libelle" value="'. $libelle . '"/>') . EOLH;
|
||||||
print('<label for="dateDebut">' . _("Date de début de la période de vote") . '</label><br><input type="date" id="dateDebut" name="dateDebut" value="'. $dateDebut . '"/>') . EOLH;
|
print('<label for="dateDebut">' . _("Date de début de la période de vote") . '</label><br><input type="date" id="dateDebut" name="dateDebut" value="'. $dateDebut . '"/>') . EOLH;
|
||||||
|
Reference in New Issue
Block a user