Fixed JS errors and little style changes
This commit is contained in:
parent
4cdafba7a2
commit
a5a0962dab
@ -113,12 +113,14 @@ if (empty($_SESSION['titre']) || empty($_SESSION['nom']) || empty($_SESSION['adr
|
||||
//partie creation du sondage dans la base SQL
|
||||
//On prépare les données pour les inserer dans la base
|
||||
|
||||
print '<form name="formulaire" action="#bas" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
|
||||
print '<form name="formulaire" action="#bas" method="POST">'."\n";
|
||||
|
||||
print_fiche_titre($langs->trans("CreatePoll").' (2 / 2)');
|
||||
|
||||
print '<div class=corps>'."\n";
|
||||
|
||||
print '<br>'. $langs->trans("PollOnChoice") .'<br><br>'."\n";
|
||||
|
||||
print '<div class=corps>'."\n";
|
||||
print '<table>'."\n";
|
||||
|
||||
//affichage des cases texte de formulaire
|
||||
|
||||
@ -320,7 +320,7 @@ else
|
||||
|
||||
|
||||
//Debut du formulaire et bandeaux de tete
|
||||
print '<form name="formulaire" action="choix_date.php" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
|
||||
print '<form name="formulaire" action="choix_date.php" method="POST">'."\n";
|
||||
|
||||
print_fiche_titre($langs->trans("CreatePoll").' (2 / 2)');
|
||||
|
||||
|
||||
@ -128,14 +128,12 @@ $form = new Form($db);
|
||||
|
||||
$arrayofjs=array();
|
||||
$arrayofcss=array('/opensurvey/css/style.css');
|
||||
llxHeader('', $langs->trans("OpenSurvey"), "", 0, 0, $arrayofjs, $arrayofcss);
|
||||
llxHeader('', $langs->trans("OpenSurvey"), '', "", 0, 0, $arrayofjs, $arrayofcss);
|
||||
|
||||
print_fiche_titre($langs->trans("CreatePoll").' (1 / 2)');
|
||||
|
||||
//debut du formulaire
|
||||
print '<form name="formulaire" action="create_survey.php" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
|
||||
|
||||
print '<div class=corps>'."\n";
|
||||
print '<form name="formulaire" action="create_survey.php" method="POST">'."\n";
|
||||
|
||||
//Affichage des différents champs textes a remplir
|
||||
print '<table class="border" width="100%">'."\n";
|
||||
@ -225,7 +223,6 @@ else
|
||||
print '</table>'."\n";
|
||||
}
|
||||
print '<br><br><br>'."\n";
|
||||
print '</div>'."\n";
|
||||
print '</form>'."\n";
|
||||
|
||||
llxFooter();
|
||||
|
||||
@ -37,7 +37,9 @@ $langs->load("opensurvey");
|
||||
|
||||
$arrayofjs=array();
|
||||
$arrayofcss=array('/opensurvey/css/style.css');
|
||||
llxHeader('', $langs->trans("OpenSurvey"), "", 0, 0, $arrayofjs, $arrayofcss);
|
||||
llxHeader('', $langs->trans("OpenSurvey"), '', "", 0, 0, $arrayofjs, $arrayofcss);
|
||||
|
||||
print_fiche_titre($langs->trans("CreatePoll"));
|
||||
|
||||
print '<center>
|
||||
<form name="formulaire" action="create_survey.php" method="POST">';
|
||||
|
||||
@ -256,7 +256,7 @@ if ($object->commentaires)
|
||||
|
||||
print '</div>'."\n";
|
||||
|
||||
print '<form name="formulaire" action="studs.php?sondage='.$numsondage.'"'.'#bas" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
|
||||
print '<form name="formulaire" action="studs.php?sondage='.$numsondage.'"'.'#bas" method="POST">'."\n";
|
||||
print '<input type="hidden" name="sondage" value="' . $numsondage . '"/>';
|
||||
|
||||
print '<div class="cadre"> '."\n";
|
||||
|
||||
@ -418,7 +418,7 @@ $toutsujet=str_replace("@","<br>",$toutsujet);
|
||||
$toutsujet=str_replace("°","'",$toutsujet);
|
||||
|
||||
|
||||
print '<form name="formulaire4" action="#" method="POST" onkeypress="javascript:process_keypress(event)">'."\n";
|
||||
print '<form name="formulaire4" action="#" method="POST">'."\n";
|
||||
|
||||
$head = opensurvey_prepare_head($object);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user