From a5a0962dab9047e98544de370dfd2cbb250b05c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Sun, 5 Jan 2014 18:55:56 +0100 Subject: [PATCH] Fixed JS errors and little style changes --- htdocs/opensurvey/public/choix_autre.php | 6 ++++-- htdocs/opensurvey/public/choix_date.php | 2 +- htdocs/opensurvey/public/create_survey.php | 7 ++----- htdocs/opensurvey/public/index.php | 4 +++- htdocs/opensurvey/public/studs.php | 2 +- htdocs/opensurvey/results.php | 2 +- 6 files changed, 12 insertions(+), 11 deletions(-) diff --git a/htdocs/opensurvey/public/choix_autre.php b/htdocs/opensurvey/public/choix_autre.php index 0d156b751b746..4146747134057 100644 --- a/htdocs/opensurvey/public/choix_autre.php +++ b/htdocs/opensurvey/public/choix_autre.php @@ -113,12 +113,14 @@ //partie creation du sondage dans la base SQL //On prépare les données pour les inserer dans la base -print '
'."\n"; +print ''."\n"; print_fiche_titre($langs->trans("CreatePoll").' (2 / 2)'); -print '
'."\n"; + print '
'. $langs->trans("PollOnChoice") .'

'."\n"; + +print '
'."\n"; print ''."\n"; //affichage des cases texte de formulaire diff --git a/htdocs/opensurvey/public/choix_date.php b/htdocs/opensurvey/public/choix_date.php index d6708b3f9025b..7a67c31373959 100644 --- a/htdocs/opensurvey/public/choix_date.php +++ b/htdocs/opensurvey/public/choix_date.php @@ -320,7 +320,7 @@ //Debut du formulaire et bandeaux de tete -print ''."\n"; +print ''."\n"; print_fiche_titre($langs->trans("CreatePoll").' (2 / 2)'); diff --git a/htdocs/opensurvey/public/create_survey.php b/htdocs/opensurvey/public/create_survey.php index e9df55effd8dc..43d7759331366 100644 --- a/htdocs/opensurvey/public/create_survey.php +++ b/htdocs/opensurvey/public/create_survey.php @@ -128,14 +128,12 @@ $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 ''."\n"; - -print '
'."\n"; +print ''."\n"; //Affichage des différents champs textes a remplir print '
'."\n"; @@ -225,7 +223,6 @@ print '
'."\n"; } print '


'."\n"; -print '
'."\n"; print ''."\n"; llxFooter(); diff --git a/htdocs/opensurvey/public/index.php b/htdocs/opensurvey/public/index.php index 80bf73707d0ef..f070a2f6f1294 100644 --- a/htdocs/opensurvey/public/index.php +++ b/htdocs/opensurvey/public/index.php @@ -37,7 +37,9 @@ $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 '
'; diff --git a/htdocs/opensurvey/public/studs.php b/htdocs/opensurvey/public/studs.php index 0620c2070b408..80d210d167c52 100644 --- a/htdocs/opensurvey/public/studs.php +++ b/htdocs/opensurvey/public/studs.php @@ -256,7 +256,7 @@ print '
'."\n"; -print ''."\n"; +print ''."\n"; print ''; print '
'."\n"; diff --git a/htdocs/opensurvey/results.php b/htdocs/opensurvey/results.php index eadb4d26f1742..cac6f7a4a9e8c 100644 --- a/htdocs/opensurvey/results.php +++ b/htdocs/opensurvey/results.php @@ -418,7 +418,7 @@ $toutsujet=str_replace("°","'",$toutsujet); -print ''."\n"; +print ''."\n"; $head = opensurvey_prepare_head($object);