diff --git a/AUTHORS.md b/AUTHORS.md new file mode 100644 index 0000000..5b0860a --- /dev/null +++ b/AUTHORS.md @@ -0,0 +1,14 @@ +# [Framasoft](http://framadate.org) +* Simon Leblanc (development), +* Pierre-Yves Gosset (development, graphism) +* Pascal Chevrel (development) +* Armony Altinier (accessibility) +* JosephK (development) +* Framasoft community +*For a list of people who have contributed to the codebase, see [GitHub's list of contributors](https://github.com/framasoft/OpenSondage/graphs/contributors).* + +## [STUdS](http://studs.u-strasbg.fr) +* Guilhem Borghesi (borghesi@unistra.fr) +* Raphaël Droz +* Contributors from the University of Strasbourg: Guy, Christophe, Julien, Pierre, Romaric, Matthieu, Catherine, Christine, Olivier, Emmanuel and Florence + diff --git a/CHANGELOG b/CHANGELOG index f76ee73..2595d49 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,16 @@ Les dernières améliorations d'OpenSondage + + Changelog version 0.8 (juillet 2014 Armony - JosephK) + - Améliorations sur l'accessibilité + - Améliorations sur l'ergonomie + - Améliorations sur l'internationalisation (nombreuses phrases en français dans le code) + - Découpage chaines de langue pour virer le code html + - Remise en place de l'export CSV + - Remise en place de get_server_name() pour permettre l'installation dans un sous dossier, en https ou sur un port différent + - Ajout Authors.md + en-têtes refaits + - Fix bug changement de langues en mode URL rewriting (requête GET passée en formulaire POST) + - Fix bug 2 boutons valider lorsqu'on édite un vote + - Fix focus javascript sur "Votre nom" Changelog version 0.7 (mars 2013) - Fix : le sondage supprimé n'était pas forcément le sondage sélectionné (cfévrier) diff --git a/adminstuds.php b/adminstuds.php index ed43459..ece5415 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -1,42 +1,21 @@ RecordCount() != 1){ - print_header(false, _("Error!")); + print_header(false, _("Error!"), '', $lang); echo ''."\n"; framanav(); logo(); @@ -85,9 +64,9 @@ if (!$sondage || $sondage->RecordCount() != 1){ echo '
'."\n"; - print "

" . _("This poll doesn't exist !") . "



"."\n"; + print "

" . _("This poll doesn't exist !") . "



"."\n"; print "" . _("Back to the homepage of ") . " ".NOMAPPLICATION.". "."\n"; - echo '



'."\n"; + echo '



'."\n"; echo '
'."\n"; # sur_bandeau_pied(); bandeau_pied(); @@ -173,7 +152,7 @@ $dsujet=$sujets->FetchObject(false); $dsondage=$sondage->FetchObject(false); if (isset($_POST["ajoutsujet"]) || isset($_POST["ajoutsujet_x"])) { - print_header(true); + print_header(true, '', $lang); echo ''."\n"; framanav(); logo(); @@ -185,78 +164,77 @@ if (isset($_POST["ajoutsujet"]) || isset($_POST["ajoutsujet_x"])) { echo '
'."\n"; - echo '
'."\n"; echo '
'."\n"; - echo "

" . _("Column's adding") . "



"."\n"; + echo "

" . _("Column's adding") . "



"."\n"; if ($dsondage->format=="A"||$dsondage->format=="A+"){ - echo _("Add a new column") .' :
'; - echo '

'; - echo ''."\n"; - echo ''."\n"; + echo _("Add a new column") .' :
'; + echo '

'; + echo ''."\n"; + echo ''."\n"; } else { //ajout d'une date avec creneau horaire - echo _("You can add a new scheduling date to your poll.
If you just want to add a new hour to an existant date, put the same date and choose a new hour.") .'

'."\n"; - echo _("Add a date") .' :

'."\n"; - echo ' '."\n"; + echo ''."\n"; for ($i=1;$i<32;$i++){ - echo ''."\n"; + echo ''."\n"; } - echo ''."\n"; + echo '

'."\n"; - echo ' '."\n"; + echo ''."\n"; for($i = 1; $i < 13; $i++) { - echo ''."\n"; + echo ''."\n"; } - echo ''."\n"; + echo '

'."\n"; - echo ' '."\n"; + echo ''."\n"; for ($i = date("Y"); $i < (date("Y") + 5); $i++) { - echo ''."\n"; + echo ''."\n"; } - echo ''."\n"; - echo '

'. _("Add a start hour (optional)") .' :

'."\n"; - echo '

'."\n"; + echo '

'. _("Add a start hour (optional)") .' :

'."\n"; + echo '


'."\n"; - echo ''."\n"; - echo '

'. _("Add a end hour (optional)") .' :

'."\n"; - echo '

'."\n"; + echo '


'."\n"; + echo '

'. _("Add a end hour (optional)") .' :

'."\n"; + echo '


'."\n"; - echo ''."\n"; + echo '

'."\n"; + echo '


'."\n"; - echo '

'; - echo ''."\n"; - echo ''."\n"; + echo '

'; + echo ''."\n"; + echo '

'."\n"; } echo ''."\n"; - echo '



'."\n"; + echo '



'."\n"; echo '
'."\n"; echo '
'."\n"; @@ -271,7 +249,7 @@ if (isset($_POST["ajoutsujet"]) || isset($_POST["ajoutsujet_x"])) { } if (isset($_POST["suppressionsondage_x"])) { - print_header(true); + print_header(true, '', $lang); echo ''."\n"; framanav(); logo(); @@ -281,11 +259,11 @@ if (isset($_POST["suppressionsondage_x"])) { echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; - echo "

" . _("Confirm removal of your poll") . "



"."\n"; + echo "

" . _("Confirm removal of your poll") . "



"."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; - echo '



'."\n"; + echo '



'."\n"; echo '
'."\n"; echo '
'."\n"; @@ -315,7 +293,7 @@ if (isset($_POST["confirmesuppression"]) || isset($_POST["confirmesuppression_x" _("Thanks for your confidence.") . "\n" . NOMAPPLICATION ); //affichage de l'ecran de confirmation de suppression de sondage - print_header(); + print_header(false, '', $lang); echo ''."\n"; framanav(); logo(); @@ -323,9 +301,9 @@ if (isset($_POST["confirmesuppression"]) || isset($_POST["confirmesuppression_x" bandeau_titre(_("Make your polls")); echo '
'."\n"; - print "

" . _("Your poll has been removed!") . "



"; + print "

" . _("Your poll has been removed!") . "



"; print _("Back to the homepage of ") . ' '.NOMAPPLICATION.'.'."\n"; - echo '


'."\n"; + echo '


'."\n"; echo '
'."\n"; sur_bandeau_pied(); bandeau_pied(); @@ -367,7 +345,7 @@ if(isset($_POST['ajoutcomment']) || isset($_POST['ajoutcomment_x'])) { //s'il existe on affiche la page normale // DEBUT DE L'AFFICHAGE DE LA PAGE HTML -print_header(true); +print_header(true, '', $lang); echo ''."\n"; framanav(); logo(); @@ -376,26 +354,27 @@ bandeau_titre(_("Make your polls")); sous_bandeau(); echo '
'."\n"; - +echo '

' . _('Print') . '

'; +echo '

' . _('Export to CSV') . '

'; echo '
'."\n"; //affichage du titre du sondage $titre=str_replace("\\","",$dsondage->titre); -echo '

'.$titre.'

'."\n"; +echo '

'.$titre.'

'."\n"; //affichage du nom de l'auteur du sondage -echo _("Initiator of the poll") .' : '.stripslashes($dsondage->nom_admin).'
'."\n"; - -//affichage des commentaires du sondage -if ($dsondage->commentaires){ - echo '
'. _("Comments") .' :
'."\n"; - $commentaires=$dsondage->commentaires; - $commentaires=str_replace("\\","",$commentaires); - echo stripslashes(nl2br($commentaires)); - echo '
'."\n"; +echo '

'. _("Initiator of the poll") .' : '.stripslashes($dsondage->nom_admin).'

'."\n"; +echo '

'._("Public link of the pool") .' : '.getUrlSondage($dsondage->id_sondage).'

'."\n"; +echo '

'._("Admin link of the pool") .' : '.getUrlSondage($dsondage->id_sondage, true).'

'."\n"; +//affichage de la description du sondage +if ($dsondage->commentaires) { + echo '
'._("Description: ") .'
'."\n"; + $commentaires = $dsondage->commentaires; + $commentaires=nl2br(str_replace("\\","",$commentaires)); + echo ''. $commentaires .''; + echo '
'."\n"; } -echo '
'."\n"; echo '
'."\n"; @@ -726,16 +705,16 @@ if ($sondage !== false) { $sql = $connect->Prepare($sql); $user_studs = $connect->Execute($sql, array($numsondage)); } else { - print_header(false, _("Error!")); + print_header(false, _("Error!"), '', $lang); echo ''."\n"; framanav(); logo(); bandeau_tete(); bandeau_titre(_("Error!")); echo '
'."\n"; - print "

" . _("This poll doesn't exist !") . "



"."\n"; - print "" . _("Back to the homepage of ") . " ".NOMAPPLICATION.". "."\n"; - echo '



'."\n"; + print "

" . _("This poll doesn't exist !") . "



"."\n"; + print "" . _("Back to the homepage of ") . " ".NOMAPPLICATION.". "."\n"; + echo '



'."\n"; echo '
'."\n"; @@ -750,14 +729,17 @@ $dsujet=$sujets->FetchObject(false); $dsondage=$sondage->FetchObject(false); $toutsujet=explode(",",$dsujet->sujet); -$toutsujet=str_replace("@","
",$toutsujet); +$toutsujet=str_replace("@","
",$toutsujet); $toutsujet=str_replace("°","'",$toutsujet); $nbcolonnes=substr_count($dsujet->sujet,',')+1; echo '
'."\n"; -echo '
'."\n"; -echo _('As poll administrator, you can change all the lines of this poll with infos.
You can, as well, remove a column or a line with Cancel.
You can also add a new column with Add column.
Finally, you can change the informations of this poll like the title, the comments or your email address.') ."\n"; -echo '

'."\n"; +echo '

'."\n"; +echo _('As poll administrator, you can change all the lines of this poll with this button ').'' . _('Edit') . '.
'; +echo _('You can, as well, remove a column or a line with ') . '' . _('Remove the column') . '.
'; +echo _('You can also add a new column with '). ''. _('Add a colomn') . '.
'; +echo _('Finally, you can change the informations of this poll like the title, the comments or your email address.') ."\n"; +echo '

'."\n"; //debut de l'affichage de résultats echo ''."\n"; @@ -767,13 +749,13 @@ $toutsujet=explode(",",$dsujet->sujet); echo ''."\n"; echo ''."\n"; echo ''."\n"; -echo ''."\n"; + //boucle pour l'affichage des boutons de suppression de colonne for ($i = 0; isset($toutsujet[$i]); $i++) { - echo ''."\n"; + echo ''."\n"; } - +echo ''."\n"; echo ''."\n"; //si le sondage est un sondage de date @@ -807,7 +789,7 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") { } } - echo ''."\n"; + echo ''."\n"; echo ''."\n"; echo ''."\n"; @@ -841,7 +823,7 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") { } } - echo ''."\n"; + echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; @@ -875,7 +857,7 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") { } } - echo ''."\n"; + echo ''."\n"; echo ''."\n"; //affichage des horaires @@ -893,7 +875,7 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") { } } - echo ''."\n"; + echo ''."\n"; echo ''."\n"; } } else { @@ -908,7 +890,7 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") { echo ''."\n"; } - echo ''."\n"; + echo ''."\n"; echo ''."\n"; } @@ -921,7 +903,7 @@ while ($data = $user_studs->FetchNextObject(false)) { $ensemblereponses = $data->reponses; echo ''."\n"; - echo ''."\n"; + echo ''."\n"; //affichage du nom $nombase=str_replace("°","'",$data->nom); @@ -948,9 +930,9 @@ while ($data = $user_studs->FetchNextObject(false)) { for ($j = 0; $j < $nbcolonnes; $j++) { $car = substr($ensemblereponses, $j, 1); if ($car == "1") { - echo ''."\n"; + echo ''."\n"; } else { - echo ''."\n"; + echo ''."\n"; } } } else { //sinon on affiche les lignes normales @@ -972,14 +954,14 @@ while ($data = $user_studs->FetchNextObject(false)) { //a la fin de chaque ligne se trouve les boutons modifier if (!$testligneamodifier=="true") { - echo ''."\n"; + echo ''."\n"; } //demande de confirmation pour modification de ligne for ($i = 0; $i < $nblignes; $i++) { if (isset($_POST["modifierligne$i"]) || isset($_POST['modifierligne'.$i.'_x'])) { if ($compteur == $i) { - echo ''."\n"; + echo ''."\n"; } } } @@ -988,23 +970,28 @@ while ($data = $user_studs->FetchNextObject(false)) { echo ''."\n"; } +if (!$testligneamodifier=="true") { + //affichage de la case vide de texte pour un nouvel utilisateur + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; -//affichage de la case vide de texte pour un nouvel utilisateur -echo ''."\n"; -echo ''."\n"; -echo ''."\n"; + //une ligne de checkbox pour le choix du nouvel utilisateur + for ($i = 0; $i < $nbcolonnes; $i++) { + echo ''."\n"; + } + + // Affichage du bouton de formulaire pour inscrire un nouvel utilisateur dans la base + echo ''."\n"; + echo ''."\n"; + + //focus en javascript sur le champ texte pour le nom d'utilisateur + echo ''."\n"; -//une ligne de checkbox pour le choix du nouvel utilisateur -for ($i = 0; $i < $nbcolonnes; $i++) { - echo ''."\n"; } -// Affichage du bouton de formulaire pour inscrire un nouvel utilisateur dans la base -echo ''."\n"; -echo ''."\n"; - //determination du meilleur choix for ($i = 0; $i < $nbcolonnes + 1; $i++) { if (isset($somme[$i]) === true) { @@ -1049,7 +1036,7 @@ echo ''."\n"; for ($i = 0; $i < $nbcolonnes; $i++) { if (isset($somme[$i]) === true && isset($meilleurecolonne) === true && $somme[$i] == $meilleurecolonne){ - echo ''."\n"; + echo ''."\n"; } else { echo ''."\n"; } @@ -1061,25 +1048,25 @@ echo ''."\n"; // S'il a oublié de remplir un nom if ((isset($_POST["boutonp"]) || isset($_POST["boutonp_x"])) && $_POST["nom"] == "") { echo ''."\n"; - print "'."\n"; } if (isset($erreur_prenom) && $erreur_prenom) { echo ''."\n"; - print "\n"; + print '\n"; echo ''."\n"; } if (isset($erreur_injection) && $erreur_injection) { echo ''."\n"; - print "\n"; + print '\n"; echo ''."\n"; } if (isset($erreur_ajout_date) && $erreur_ajout_date) { echo ''."\n"; - print "\n"; + print '\n"; echo ''."\n"; } @@ -1087,11 +1074,6 @@ if (isset($erreur_ajout_date) && $erreur_ajout_date) { echo '
'."\n"; echo '
'.stripslashes($toutsujet[$i]).'
'."\n"; + echo '
'."\n"; + echo '
'."\n"; -echo '
'."\n"; -echo '
Meilleur resultat' . _('Best choice') . '
" . _("Enter a name !") . "\n"; + print '

' . _("Enter a name !") . "

\n"; echo '
" . _("The name you've chosen already exist in this poll!") . "

' . _("The name you've chosen already exist in this poll!") . "

" . _("Characters \" ' < et > are not permitted") . "

' . _("Characters \" ' < et > are not permitted") . "

" . _("The date is not correct !") . "

' . _("The date is not correct !") . "

'."\n"; echo '
'."\n"; -//focus en javascript sur le champ texte pour le nom d'utilisateur -echo ''."\n"; - //recuperation des valeurs des sujets et adaptation pour affichage $toutsujet = explode(",", $dsujet->sujet); @@ -1141,97 +1123,104 @@ echo '

'."\n"; //affichage de la phrase annoncant le meilleur sujet if (isset($meilleurecolonne) && $compteursujet == "1") { - print "\"Meilleur" . _("The best choice at this time is") . " : $meilleursujet " . _("with") . " $meilleurecolonne " . $vote_str . ".
\n"; + print "\"\"" . _("The best choice at this time is") . " : $meilleursujet " . _("with") . " $meilleurecolonne " . $vote_str . ".
\n"; } elseif (isset($meilleurecolonne)) { - print "\"Meilleur " . _("The bests choices at this time are") . " : $meilleursujet " . _("with") . " $meilleurecolonne " . $vote_str . ".
\n"; + print "\"\" " . _("The bests choices at this time are") . " : $meilleursujet " . _("with") . " $meilleurecolonne " . $vote_str . ".
\n"; } -echo '

'."\n"; +echo '

'."\n"; echo '

'."\n"; echo ''."\n"; echo '
'."\n"; +//Suppression du sondage +echo '

'."\n"; +echo '
'."\n"; + //Gestion du sondage -echo '
'. _("Poll's management") .' :
'."\n"; -echo '

'."\n"; -echo '
'."\n"; +echo '

'. _("Poll's management") .' :'."\n"; +echo '

'."\n"; +echo '
'."\n"; //Changer le titre du sondage $adresseadmin=$dsondage->mail_admin; -echo _("Change the title") .' :
' . - ''. - '

'."\n"; +echo '

' . + '

'. + '

'."\n"; //si la valeur du nouveau titre est invalide : message d'erreur if ((isset($_POST["boutonnouveautitre"]) || isset($_POST["boutonnouveautitre_x"])) && !issetAndNoEmpty('nouveautitre')) { - echo ''. _("Enter a new title!") .'

'."\n"; + echo '

'. _("Enter a new title!") .'

'."\n"; } -//Changer les commentaires du sondage -echo _("Change the comments") .' :



'."\n"; - //Changer l'adresse de l'administrateur -echo _("Change your email address") .' :

'."\n"; +echo '

'. + '

'. + '

'."\n"; //si l'adresse est invalide ou le champ vide : message d'erreur if ((isset($_POST["boutonnouvelleadresse"]) || isset($_POST["boutonnouvelleadresse_x"])) && !issetAndNoEmpty('nouvelleadresse')) { - echo ''. _("Enter a new email address!") .'

'."\n"; + echo '

'. _("Enter a new email address!") .'

'."\n"; } +//Changer la description du sondage +echo '

'. + '

'. + '

'."\n"; + +echo '
'."\n"; + //affichage des commentaires des utilisateurs existants $sql = 'SELECT * FROM comments WHERE id_sondage='.$connect->Param('numsondage').' ORDER BY id_comment'; $sql = $connect->Prepare($sql); $comment_user = $connect->Execute($sql, array($numsondage)); if ($comment_user->RecordCount() != 0) { - print "
" . _("Comments") . " :
\n"; + print "
" . _("Comments of polled people") . " :
\n"; $i = 0; while ( $dcomment=$comment_user->FetchNextObject(false)) { - print " ". stripslashes($dcomment->usercomment) ." : ".stripslashes($dcomment->comment) ."
"; + print "
" . ''.stripslashes($dcomment->usercomment). ' : ' . stripslashes(nl2br($dcomment->comment)) . '
'; $i++; } - echo '
'; + echo '
'; } if (isset($erreur_commentaire_vide) && $erreur_commentaire_vide=="yes") { - print "" . _("Enter a name and a comment!") . ""; + print '

' . _("Enter a name and a comment!") . "

"; } //affichage de la case permettant de rajouter un commentaire par les utilisateurs -print "
" . _("Add a comment in the poll") . " :
\n"; -echo _("Name") .' :
'."\n"; -echo ''."\n"; -echo '
'."\n"; - -//suppression du sondage -echo '
'."\n"; -echo _("Remove your poll") .' :

'."\n"; - -echo '
'."\n"; +print '
' .'
' ._("Add a comment in the poll:") . '' . "\n"; +echo '

:

'."\n"; +echo '


'."\n"; +echo '

'."\n"; +echo '
'."\n"; +echo '
'."\n"; +/* Lettre de convocation if ($dsondage->format == "D" || $dsondage->format == "D+") { echo '
'."\n"; - echo _("Generate the convocation letter (.PDF), choose the place to meet and validate") .'
'; + echo _("Generate the convocation letter (.PDF), choose the place to meet and validate") .'
'; echo ''; echo ''; echo ''; - echo '

'; + echo '

'; echo '
'."\n"; - // ''. _("Enter a meeting place!") .'

'."\n"; + // ''. _("Enter a meeting place!") .'

'."\n"; } // TODO if (isset($_POST["exportpdf_x"]) && !issetAndNoEmpty('lieureunion')) { - echo ''. _("Enter a meeting place!") .'

'."\n"; -} + echo ''. _("Enter a meeting place!") .'

'."\n"; +} */ echo ''."\n"; -echo '

'."\n"; +echo '

'."\n"; //fin de la partie GESTION et beandeau de pied //echo '

'."\n"; -echo '
'; +//echo ''; echo '
 
'; bandeau_pied_mobile(); //echo ''."\n"; diff --git a/apropos.php b/apropos.php index 0a97166..abf8a1c 100644 --- a/apropos.php +++ b/apropos.php @@ -1,42 +1,20 @@ Framadate ? Framadate est un service en ligne permettant de planifier un rendez-vous rapidement et simplement. Aucune inscription préalable -n'est nécessaire.
+n'est nécessaire.
Framadate est un service du réseau Framasoft, mis en place par l'association -Framasoft.
+Framasoft.

Quelles différences entre Framadate et STUdS ! ?

Framadate est un service basé sur le logiciel libre OpenSondage. OpenSondage est lui-même basé sur le logiciel STUdS ! développé -par l'Université de Strasbourg.
+par l'Université de Strasbourg.
Après avoir testé STUdS, nous avons décidé d'apporter de nombreuses modifications, notamment ergonomiques, au code source existant. L'ensemble de ces modifications ne pouvaient entrer dans le cadre @@ -112,59 +90,59 @@ d'utilisation d'un logiciel déjà en production dans une université et aurait été (fort logiquement) rejetté de la branche principale de développement. C'est pourquoi nous avons préferer "forker" -STUdS pour créer OpenSondage.
+STUdS pour créer OpenSondage.

Quelles différences entre Framadate et Doodle ?

Aujourd'hui, le danger pour le logiciel libre ne provient plus de Microsoft ou d'Adobe et de leurs logiciels qu'on installe sans avoir le code source, mais des applications web "dans les -nuages" proposés comme services par des entreprises.
-
-Cela pour au moins 4 raisons :
+nuages" proposés comme services par des entreprises.
+
+Cela pour au moins 4 raisons :
1- sécurité : aucune garantie ne peut vous être apportée quand au fait les données -soient correctement sauvegardées et protégées, ni que le
-code source "officiel" soit réellement celui que vous utilisez en ligne.
+soient correctement sauvegardées et protégées, ni que le
+code source "officiel" soit réellement celui que vous utilisez en ligne.
2- fiabilité/perennité : le service peut tomber en panne, et rien ne garanti que la -société Doodle sera toujours là demain et maintiendra le site
+société Doodle sera toujours là demain et maintiendra le site
3- propriété des données : beaucoup d'entreprises s'autoproclament co-détentrices de vos contenus "clouds" (ex: Facebook impose une clause de partage des droits -sur vos contenus, vos données, vos photos)
+sur vos contenus, vos données, vos photos)
4- vie privée : une entreprise - comme Doodle - doit gagner de l'argent (et il n'y a aucun mal à cela). Mais si elle est en difficulté financière, elle peut décider de changer ses conditions d'utilisation et vendre vos données à des tiers (alors que Framasoft, asso loi 1901 d'intérêt général, n'aura -jamais d'intérêt à le faire).
-
-A cela s'ajoute le problème, plus éthique, de la publicité.
-
+jamais d'intérêt à le faire).
+
+A cela s'ajoute le problème, plus éthique, de la publicité.
+
Les problèmes 1 et 2 concernent aussi Framadate.org : rien ne garanti la sécurité et la fiabilité du service (d'autant plus que les -administrateurs systèmes de Framasoft sont bénévoles).
-
-Par contre :
+administrateurs systèmes de Framasoft sont bénévoles).
+
+Par contre :
- les problemes 3 et 4 ne sont pas d'actualité avec Framadate, exploité -par une association loi 1901
+par une association loi 1901
- et surtout, Framadate fait partie d'un projet plus global (Framatools) qui vise justement à sensibiliser le grand public à la problématique du "cloud". Cela peut sembler paradoxal, mais bien que proposant le service Framadate.org, nous allons surtout encourager les organisations à installer leur propre instance du logiciel afin de -maitriser totalement leurs données.
-
+maitriser totalement leurs données.
+
Bref, oui Framadate est inspiré de Doodle.com, et oui Doodle est un excellent service. Mais Doodle reste une "boite noire" pour l'utilisateur final qui va sur doodle.com. Framadate.org essaie de répondre, modestement, à cette problématique en montrant que des -alternatives libres existent et qu'on peut les installer "chez soi".
+alternatives libres existent et qu'on peut les installer "chez soi".

Mon sondage restera-t-il longtemps en ligne ?

Le service Framadate est proposée gratuitement par l'association -Framasoft.
+Framasoft.
Framasoft s'engage à maintenir le service "aussi longtemps que possible", mais ne peut fournir aucune garantie de date. Si cela ne vous convient pas, @@ -172,7 +150,7 @@ nous vous encourageons sincèrement à installer vous-même Framadate et à maintenir vous-même votre propre service.
-

Mentions légales
+

Mentions légales

Éditeur et Responsable de la publication

Editeur : Association Framasoft (cf "Hébergement")

@@ -246,40 +224,40 @@ propre licence, installez votre propre logiciel de sondage et n'utilisez pas Framadate.org.


Crédits

-Application d'origine
-
+Application d'origine
+
L'application Framadate est une instance du logiciel STUdS ! -développé à l'Université de Strasbourg depuis 2008.
-
+développé à l'Université de Strasbourg depuis 2008.
+
Pour les besoins de Framadate, STUdS a fait l'objet d'un fork par l'équipe Framasoft. Les sources sont disponibles sur le Github OpenSondage.
-
-Technologies utilisées
-
-- PHP
-- MySQL
-- Apache
-- Subversion
-- iCalcreator
-- FPDF
+ href="https://github.com/leblanc-simon/OpenSondage">OpenSondage.
+
+Technologies utilisées
+
+- PHP
+- MySQL
+- Apache
+- Subversion
+- iCalcreator
+- FPDF
- Icônes : Deleket, PixelMixer et DryIcons
-
-Compatibilités des navigateurs
-
-- Firefox
-- Opéra
-- Konqueror
-- Links
-- Safari
-- IE
-
-Validations des pages
-
-- Toutes les pages disposent de la validation HTML 4.01 Strict du W3C.
+ href="http://dryicons.com">DryIcons
+
+Compatibilités des navigateurs
+
+- Firefox
+- Opéra
+- Konqueror
+- Links
+- Safari
+- IE
+
+Validations des pages
+
+- Toutes les pages disposent de la validation HTML 4.01 Strict du W3C.
- La CSS dispose de la validation CSS 2.1 du W3C.

Valid HTML 4.01 StrictCSS Valide !

-Propositions améliorations de Framadate
-
+Propositions améliorations de Framadate
+
Si quelque chose venait à vous manquer, vous pouvez nous en faire part via le formulaire en ligne. -
+
Les dernières améliorations de Framadate sont visibles dans le fichier CHANGELOG.
-
-Remerciements
-
+ href="CHANGELOG">CHANGELOG.
+
+Remerciements
+
STUdS ! : Pour leurs contributions techniques ou ergonomiques : Guy, Christophe, Julien, Pierre, Romaric, Matthieu, Catherine, Christine, Olivier, -Emmanuel et Florence
+Emmanuel et Florence
Framadate :  Simon Leblanc (développement principal), Pierre-Yves Gosset -(développement, graphisme), la communauté Framasoft.
-
+(développement, graphisme), la communauté Framasoft.
+

Licence

Framadate est placé, comme STUdS !, sous la licence logicielle libre CeCILL-B.
-
+ href="http://www.cecill.info/licences.fr.html">CeCILL-B.
+
mentions; echo ''."\n"; diff --git a/bandeaux.php b/bandeaux.php index 833460a..37f1487 100644 --- a/bandeaux.php +++ b/bandeaux.php @@ -1,42 +1,21 @@ $v ) { - $str .= '
  • ' . $v . '
  • ' . "\n" ; + if (substr($k,0,2)==$lang) { + $str .= '' . "\n" ; + } else { + $str .= '' . "\n" ; + } } return $str; @@ -173,8 +155,8 @@ function bandeau_pied() '
  • '. _("About") .'
  • ' . //''. _("Admin") .'' . '' . - ''. + ''. '' . "\n"; gAnalytics(); } @@ -194,8 +176,8 @@ function bandeau_pied_mobile() '
  • '. _("About") .'
  • ' . //''. _("Admin") .'' . '' . - ''. + ''. '' . "\n"; gAnalytics(); } diff --git a/buttons.css b/buttons.css index 13acce3..bf03e52 100644 --- a/buttons.css +++ b/buttons.css @@ -34,8 +34,8 @@ border-radius: 2em; } .medium { - font-size: 12px; - padding: .4em 1.5em .42em; + font-size: 12px !important; + padding: .4em 1.5em .42em !important; } .small { font-size: 11px; diff --git a/choix_autre.php b/choix_autre.php index c0a6e21..6274026 100644 --- a/choix_autre.php +++ b/choix_autre.php @@ -1,42 +1,21 @@ '."\n"; @@ -153,7 +132,7 @@ if (issetAndNoEmpty('titre', $_SESSION) === false || issetAndNoEmpty('nom', $_SE sous_bandeau_choix(); echo '
    '."\n"; - echo '

    '. _("Your poll aim is to make a choice between different subjects.
    Enter the subjects to vote for:") .'

    '."\n"; + echo '

    '. _("Your poll aim is to make a choice between different subjects.") . '
    ' . _("Enter the subjects to vote for:") .'

    '."\n"; echo ''."\n"; //affichage des cases texte de formulaire @@ -212,11 +191,11 @@ if (!isset($_POST["fin_sondage_autre_x"])) { if ((isset($_POST["fin_sondage_autre"]) || isset($_POST["fin_sondage_autre_x"])) && !$erreur && !$erreur_injection) { //demande de la date de fin du sondage echo '
    '."\n"; - echo '

    '. _("Your poll will be automatically removed after 6 months.
    You can fix another removal date for it.") .'

    '."\n"; + echo '

    '. _("Your poll will be automatically removed after 6 months."). '
    ' . _("You can fix another removal date for it.") .'

    '."\n"; echo ' : '. _("(DD/MM/YYYY)") .''."\n"; echo '
    '."\n"; echo '
    '."\n"; - echo '

    '. _("Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters.").'

    '."\n"; + echo '

    '. _("Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.").'

    '. _("Then, you will receive quickly an email contening the link to your poll for sending it to the voters.").'

    '."\n"; echo '
    '."\n"; //echo '
    '."\n"; //echo ''."\n"; diff --git a/choix_date.php b/choix_date.php index 6126d15..4118b40 100644 --- a/choix_date.php +++ b/choix_date.php @@ -1,42 +1,20 @@ '."\n"; - print "

    " . _("You haven't filled the first section of the poll creation.") . " !

    "."\n"; + print "

    " . _("You haven't filled the first section of the poll creation.") . " !

    "."\n"; print _("Back to the homepage of ") . ' ' . '' . NOMAPPLICATION . '.' . "\n"; - echo '


    '."\n"; echo ''."\n"; //bandeau de pied //sur_bandeau_pied(); @@ -237,21 +214,25 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) echo '
    '; //affichage de l'aide pour les jours - echo '
    '."\n"; - echo _("Select your dates amoung the free days (green). The selected days are in blue.
    You can unselect a day previously selected by clicking again on it.") ."\n"; + echo '
    '."\n"; + echo '

    '._("Select your dates amoung the free days (green). The selected days are in blue.").'
    '. _("You can unselect a day previously selected by clicking again on it.") .'

    '."\n"; echo '
    '."\n"; //debut du tableau qui affiche le calendrier echo '
    '."\n"; - echo '
    '. _("Create the poll") .'
    '."\n"; - echo ''."\n"; - echo '
    '.$motmois.' '.$_SESSION["annee"].'
    '."\n"; - echo ''."\n"; - echo ''."\n"; + echo '
    '."\n"; + echo ''."\n"; //affichage des jours de la semaine en haut du tableau for($i = 0; $i < 7; $i++) { - echo ''; + echo ''; } echo ''."\n"; @@ -478,27 +459,26 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) } } - echo '
    '."\n"; + echo '
    '."\n"; //affichage de tous les jours choisis if (issetAndNoEmpty('totalchoixjour', $_SESSION) && (!issetAndNoEmpty('choixheures_x') || $erreur)) { //affichage des jours - echo '
    '."\n"; - echo '

    '. _("Selected days") .' :

    '."\n"; + echo '
    '."\n"; + echo '

    '. _("Selected days") .' :

    '."\n"; //affichage de l'aide pour les jours - //echo _("For each selected day, you can choose, or not, meeting hours in the following format :
    - empty,
    - \"8h\", \"8H\" or \"8:00\" to give a meeting's start hour,
    - \"8-11\", \"8h-11h\", \"8H-11H\" ou \"8:00-11:00\" to give a meeting's start and end hour,
    - \"8h15-11h15\", \"8H15-11H15\" ou \"8:15-11:15\" for the same thing but with minutes.") .'

    '."\n"; - echo _("For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8\", \"evening\", etc.)") .'

    '."\n"; + echo '

    '._("For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)") .'

    '."\n"; echo '
    '; + echo ''."\n"; + echo ''."\n"; + echo $motmois.' '.$_SESSION["annee"]."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo '
    '. strftime('%A',mktime(0,0,0,0, $i,10)) .''. strftime('%A',mktime(0,0,0,0, $i,10)) .'
    '."\n"; echo ''."\n"; echo ''."\n"; for ($i = 0; $i < $_SESSION["nbrecaseshoraires"]; $i++) { $j = $i+1; - echo ''."\n"; + echo ''."\n"; } if ($_SESSION["nbrecaseshoraires"] < 10) { - echo ''."\n"; + echo ''."\n"; } echo ''."\n"; @@ -507,9 +487,9 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) for ($i=0;$i'."\n"; if ($_SESSION["langue"]=="EN") { - echo ''."\n"; + echo ''."\n"; } else { - echo ''."\n"; + echo ''."\n"; } $affichageerreurfindeligne=false; @@ -535,7 +515,7 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) } if ($affichageerreurfindeligne) { - echo ''."\n"; + echo ''."\n"; } echo ''."\n"; @@ -547,18 +527,18 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) echo '
    '. _("Time") .' '.$j.''. _("Time") .' '.$j.'
    '.date("l, F jS Y", $_SESSION["totalchoixjour"][$i]).' : '.date("l, F jS Y", $_SESSION["totalchoixjour"][$i]).' : '.strftime(_("%A, den %e. %B %Y"), $_SESSION["totalchoixjour"][$i]).' : '.strftime(_("%A, den %e. %B %Y"), $_SESSION["totalchoixjour"][$i]).' : '. _("Bad format!") .'

    '. _("Bad format!") .'

    '."\n"; echo ''."\n"; echo ''."\n"; -# echo''."\n"; +# echo''."\n"; # echo ''."\n"; echo '


    '. _("Next") .'
    '."\n"; //patch vraiment crado : on donne le nom "choixheures_x" au bouton pour éviter d'avoir à cleaner le code - echo '
    '; + echo '
    '; echo '
    '; //si un seul jour et aucunes horaires choisies, : message d'erreur if ((issetAndNoEmpty('choixheures') || issetAndNoEmpty('choixheures_x')) && (count($_SESSION["totalchoixjour"])=="1" && $_POST["horaires0"][0]=="" && $_POST["horaires0"][1]=="" && $_POST["horaires0"][2]=="" && $_POST["horaires0"][3]=="" && $_POST["horaires0"][4]=="")) { - echo '
    '. _("Enter more choices for the voters") .'
    '."\n"; + echo '

    '. _("Enter more choices for the voters") .'

    '."\n"; $erreur=true; } } @@ -573,10 +553,10 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) $date_fin=strftime(_("%A, den %e. %B %Y"), $jour_arret); } - echo '
    '. _("Your poll will expire automatically 2 days after the last date of your poll.") .'

    '. _("Removal date") .' : '.$date_fin.'

    '."\n"; + echo '

    '. _("Your poll will expire automatically 2 days after the last date of your poll.") .'

    '. _("Removal date") .' : '.$date_fin.'

    '."\n"; echo '
    '."\n"; echo '
    '."\n"; - echo ''. _("Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters.") .'
    '."\n"; + echo '

    '. _("Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll."). '

    ' . _("Then, you will receive quickly an email contening the link to your poll for sending it to the voters.") .'

    '."\n"; echo'
    '."\n"; // echo'

    '."\n"; // echo 'Pour finir la création du sondage, cliquez sur le bouton ajout ci-dessous'."\n"; @@ -594,13 +574,13 @@ if (!issetAndNoEmpty('nom', $_SESSION) && !issetAndNoEmpty('adresse', $_SESSION) echo '

    '; } - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; +/* echo ''."\n"; + echo ''."\n";*/ + echo ''."\n"; //fin du formulaire et bandeau de pied echo ''."\n"; //bandeau de pied - //echo '



    '."\n"; + //echo '



    '."\n"; echo '
    '."\n"; echo '
    '; // ajout pyg pour cohérence graphique diff --git a/contacts.php b/contacts.php index 2590fd6..cdadacf 100644 --- a/contacts.php +++ b/contacts.php @@ -1,41 +1,20 @@ '."\n"; - echo _("If you have questions, you can send a message here.") .'

    '."\n"; + echo _("If you have questions, you can send a message here.") .'

    '."\n"; - echo _("Your name") .' :
    '."\n"; + echo _("Your name") .' :
    '."\n"; echo ''; if ((isset($_POST['envoiquestion']) || isset($_POST['envoiquestion_x'])) && $_SESSION["nom"]=="") { - echo ' '. _("Enter a name") .''; + echo '

    '. _("Enter a name") .'

    '; } - echo '

    '."\n"; - echo _("Your email address ") .' :
    '."\n"; + echo '

    '."\n"; + echo _("Your email address ") .' :
    '."\n"; echo ''."\n"; if ((isset($_POST['envoiquestion']) || isset($_POST['envoiquestion_x'])) && empty($_SESSION["adresse_mail"]) === false && validateEmail($_SESSION["adresse_mail"]) === false) { - echo ' '. _("The address is not correct!") .''; + echo '

    '. _("The address is not correct!") .'

    '; } - echo _("Question") .' :
    '."\n"; + echo _("Question") .' :
    '."\n"; echo ''; if ((isset($_POST['envoiquestion']) || isset($_POST['envoiquestion_x'])) && $_SESSION["question"]=="") { - echo '  Il faut poser une question !'; + echo '

     Il faut poser une question !

    '; } echo ''; diff --git a/creation_sondage.php b/creation_sondage.php index 3e34294..db0bfee 100644 --- a/creation_sondage.php +++ b/creation_sondage.php @@ -1,41 +1,20 @@ Execute("SELECT * FROM user_studs WHERE id_sondage=" . $_GET['numsondage'] . " ORDER BY id_users"); +$sql = 'SELECT * FROM user_studs WHERE id_sondage='.$connect->Param('numsondage').' ORDER BY id_users'; +$sql = $connect->Prepare($sql); +$user_studs = $connect->Execute($sql, array($_GET['numsondage'])); $dsondage = get_sondage_from_id($_GET['numsondage']); $nbcolonnes=substr_count($dsondage->sujet,',')+1; @@ -52,22 +33,26 @@ $toutsujet=explode(",",$dsondage->sujet); #$toutsujet=str_replace("°","'",$toutsujet); //affichage des sujets du sondage -$input.=";"; -for ($i=0;$toutsujet[$i];$i++) { +$input =";"; +foreach ($toutsujet as $value) { if ($dsondage->format=="D"||$dsondage->format=="D+") { - $input.=''.date("j/n/Y",$toutsujet[$i]).';'; + if (strpos($dsondage->sujet,'@') !== false) { + $days=explode("@",$value); + $input.= date("j/n/Y",$days[0]).';'; + } else { + $input.= date("j/n/Y",$values).';'; + } } else { - $input.=''.$toutsujet[$i].';'; + $input.= $value.';'; } } - $input.="\r\n"; if (strpos($dsondage->sujet,'@') !== false) { $input.=";"; - for ($i=0;$toutsujet[$i];$i++) { - $heures=explode("@",$toutsujet[$i]); - $input.=''.$heures[1].';'; + foreach ($toutsujet as $value) { + $heures=explode("@",$value); + $input.= $heures[1].';'; } $input.="\r\n"; @@ -100,4 +85,4 @@ header( 'Content-Length: '.$filesize ); header( 'Content-Disposition: attachment; filename="'.$filename.'"' ); header( 'Cache-Control: max-age=10' ); echo $input; -die(); \ No newline at end of file +die(); diff --git a/exportics.php b/exportics.php index 3703e08..da6eb59 100644 --- a/exportics.php +++ b/exportics.php @@ -1,42 +1,20 @@ setComponent ( $vevent ); // add event to calendar $v->setConfig( "language", "fr" ); $v->setConfig( "directory", "export" ); $v->setConfig( "filename", $_SESSION["numsondage"].".ics" ); // set file name -$v->returnCalendar(); \ No newline at end of file +$v->returnCalendar(); diff --git a/exportpdf.php b/exportpdf.php index 2f37f7e..c9feb18 100644 --- a/exportpdf.php +++ b/exportpdf.php @@ -1,42 +1,20 @@ diff --git a/i18n.php b/i18n.php index 34c20c7..7623301 100644 --- a/i18n.php +++ b/i18n.php @@ -1,8 +1,8 @@ '."\n"; -#echo '

    '.NOMAPPLICATION.'
    '. _("What is it about?") .'

    '; -#echo '

    '. _("Making polls to schedule meetings or events, quickly and easily.
    You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays.") .'

    '."\n".'
    '."\n"; +#echo '

    '.NOMAPPLICATION.'
    '. _("What is it about?") .'

    '; +#echo '

    '. _("Making polls to schedule meetings or events, quickly and easily.
    You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays.") .'

    '."\n".'
    '."\n"; #echo '
    '. _("Make a poll") .''; # '' . # '' . _('Make a poll') . '' . @@ -75,13 +53,13 @@ echo '
    '."\n"; echo ''; echo '
    '; echo '

    '; -echo ''. _('Make a poll') . '

    '; +echo '
    '. _('Make a poll') . '

    '; echo '
    '; diff --git a/infos_sondage.php b/infos_sondage.php index 473074d..ff5bf36 100644 --- a/infos_sondage.php +++ b/infos_sondage.php @@ -1,41 +1,20 @@ '."\n"; echo '
    '."\n"; -echo '

    '. _("You are in the poll creation section.
    Required fields cannot be left blank") .'

    '."\n"; +echo '

    '. _("You are in the poll creation section.").'
    '._("Required fields cannot be left blank.") .'

    '."\n"; //Affichage des différents champs textes a remplir echo ''."\n"; @@ -197,7 +176,7 @@ if (!$_SESSION["titre"] && issetAndNoEmpty("poursuivre") ) { echo ''."\n"; -echo ''."\n"; @@ -245,7 +224,7 @@ echo ''."\n"; -#echo '
    '. _("The fields marked with * are required!") .'

    '."\n"; +#echo '
    '. _("The fields marked with * are required!") .'

    '."\n"; #affichage du cochage par défaut if (!$_SESSION["studsplus"] && !issetAndNoEmpty('creation_sondage_date') && !issetAndNoEmpty('creation_sondage_autre') && !issetAndNoEmpty('creation_sondage_date_x') && !issetAndNoEmpty('creation_sondage_autre_x')) { @@ -276,12 +255,12 @@ echo '
    '; -#echo '
    '."\n"; +#echo '
    '."\n"; #echo ''."\n"; #echo ''."\n"; #echo ''."\n"; #echo '
    '."\n"; -#echo '


    '."\n"; +#echo '


    '."\n"; echo '
    '."\n"; echo ''."\n"; //bandeau de pied diff --git a/locale/de_DE/LC_MESSAGES/Studs.mo b/locale/de_DE/LC_MESSAGES/Studs.mo index caf6a9f..4846308 100644 Binary files a/locale/de_DE/LC_MESSAGES/Studs.mo and b/locale/de_DE/LC_MESSAGES/Studs.mo differ diff --git a/locale/de_DE/LC_MESSAGES/Studs.po b/locale/de_DE/LC_MESSAGES/Studs.po index ae12615..0047abd 100644 --- a/locale/de_DE/LC_MESSAGES/Studs.po +++ b/locale/de_DE/LC_MESSAGES/Studs.po @@ -136,8 +136,11 @@ msgid "Back to the homepage of " msgstr "Kehren sie zur Startseite zurück " #: choix_date.php:220 -msgid "Select your dates amoung the free days (green). The selected days are in blue.
    You can unselect a day previously selected by clicking again on it." -msgstr "Wählen sie ihr Termin unter den in grün angegebenen Tagen an. Die Felder erscheinen in blau wen sie ausgew heltsind.
    Sie können ihre Wahl wiederufen in dem sie das Feld wiederauswählen." +msgid "Select your dates amoung the free days (green). The selected days are in blue." +msgstr "Wählen sie ihr Termin unter den in grün angegebenen Tagen an. Die Felder erscheinen in blau wen sie ausgew heltsind." + +msgid "You can unselect a day previously selected by clicking again on it." +msgstr "Sie können ihre Wahl wiederufen in dem sie das Feld wiederauswählen." #: choix_date.php:233 msgid "monday" @@ -172,8 +175,8 @@ msgid "Selected days" msgstr "Gewälhter Tag" #: choix_date.php:487 -msgid "For each selected day, you can choose, or not, meeting hours in the following format :
    - empty,
    - \"8h\", \"8H\" or \"8:00\" to give a meeting's start hour,
    - \"8-11\", \"8h-11h\", \"8H-11H\" ou \"8:00-11:00\" to give a meeting's start and end hour,
    - \"8h15-11h15\", \"8H15-11H15\" ou \"8:15-11:15\" for the same thing but with minutes." -msgstr "Für jeden ausgewählten Tag, haben Sie die Möglichkeit die Uhrzeit der Versammlung zu bestimmen in einem der folgenden Formaten :
    - lehr, wenn Sie keine bestimmte Uhrzeit möchten,
    - \"8h\", \"8H\" oder \"8:00\" um den Beginn der Versammlung vorzuschlagen,
    - \"8-11\", \"8h-11h\", \"8H-11H\" oder \"8:00-11:00\" für eine Zeitspanne,
    - \"8h15-11h15\", \"8H15-11H15\" oder \"8:15-11:15\" für ein Zeitspanne mit minuten." +msgid "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)" +msgstr "Für jeden ausgewählten Tag, haben Sie die Möglichkeit die Uhrzeit der Versammlung zu bestimmen (e.g.: \"8h\", \"8:30\", \"8h-10h\", etc.)" #: choix_date.php:494 msgid "Time" @@ -214,8 +217,11 @@ msgstr "Datum an dem die Umfrage gelöscht werden soll" #: choix_date.php:552 #: choix_autre.php:196 -msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters." -msgstr "Als Sie die Herschtelung der Umfrage bestätigt haben werden, werden Sie zur Webseite Ihrer Umfrage automatisch wieder geleitet sein

    Gleichzeitig werden Sie ein E-Mail bekommen in dem ein Link zu ihrer Umfrage ist, um in der erforschten Zukunft zu folgen." +msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll." +msgstr "Als Sie die Herschtelung der Umfrage bestätigt haben werden, werden Sie zur Webseite Ihrer Umfrage automatisch wieder geleitet sein" + +msgid "Then, you will receive quickly an email contening the link to your poll for sending it to the voters." +msgstr "Gleichzeitig werden Sie ein E-Mail bekommen in dem ein Link zu ihrer Umfrage ist, um in der erforschten Zukunft zu folgen." #: choix_date.php:558 msgid "Back to hours" @@ -231,8 +237,12 @@ msgid "Poll creation (1 on 2)" msgstr "Erstellen einer Umfrage (1 / 2)" #: infos_sondage.php:123 -msgid "You are in the poll creation section.
    Required fields cannot be left blank" -msgstr "Sie machten eine neue umfrage erstellen !
    Fullen sie die folgenden Felder aus." +msgid "You are in the poll creation section." +msgstr "Sie machten eine neue umfrage erstellen !" + +msgid "Required fields cannot be left blank." +msgstr "Fullen sie die folgenden Felder aus." + #: infos_sondage.php:128 msgid "Poll title *: " @@ -250,10 +260,10 @@ msgstr "Die Schriftzeichen < > und \" sind nicht genehmigt!" #: infos_sondage.php:136 msgid "Comments: " -msgstr "Komentar (optional): " +msgstr "Komentar : " #: infos_sondage.php:141 -msgid "Your name*: " +msgid "Your name *: " msgstr "Name *: " #: infos_sondage.php:147 @@ -278,12 +288,12 @@ msgid "The fields marked with * are required!" msgstr "Die mit * markierten Felder sind obligatorisch!" #: infos_sondage.php:179 -msgid " Voters can modify their vote themselves." -msgstr " Sie erlauben eine Änderung der linien durch die Befragten" +msgid "Voters can modify their vote themselves." +msgstr "Sie erlauben eine Änderung der linien durch die Befragten" #: infos_sondage.php:181 -msgid " To receive an email for each new vote." -msgstr " Sie möchten eine e-mail bei jeder Beteiligung erhalten" +msgid "To receive an email for each new vote." +msgstr "Sie möchten eine e-mail bei jeder Beteiligung erhalten" #: infos_sondage.php:185 msgid "Schedule an event" @@ -299,12 +309,12 @@ msgid "Make a poll" msgstr "Umfrage erstellen" #: contacts.php:56 -msgid "[CONTACT] You have sent a question " -msgstr "[KONTAKT] Senden von Fragen " +msgid "[CONTACT] You have sent a question" +msgstr "[KONTAKT] Senden von Fragen" #: contacts.php:56 -msgid "You have a question from a user " -msgstr "Sie haben eine benützer Frager " +msgid "You have a question from a user" +msgstr "Sie haben eine benützer Frager" #: contacts.php:56 msgid "User" @@ -319,8 +329,8 @@ msgid "Message" msgstr "Email" #: contacts.php:59 -msgid "[COPY] Someone has sent a question " -msgstr "[KOPIE] Senden einer frage " +msgid "[COPY] Someone has sent a question" +msgstr "[KOPIE] Senden einer frage" #: contacts.php:59 msgid "Here is a copy of your question" @@ -400,8 +410,8 @@ msgid "Comments" msgstr "Kommentar" #: studs.php:261 -msgid "If you want to vote in this poll, you have to give your name, choose the values that fit best for you
    and validate with the plus button at the end of the line." -msgstr "Um an dieser Umfrage Teilzunehmen tragen sie bitte ihren Namen, wählen sie die ihnen passenden Wehrte
    und bestätigen sie ihre Wahl mit dem Knopf am ende der Ligne." +msgid "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line." +msgstr "Um an dieser Umfrage teilzunehmen, tragen sie bitte ihren Namen ein, wählen sie alle passenden Werte und bestätigen sie ihre Wahl mit dem Knopf am Ende der Linie." #: studs.php:445 #: adminstuds.php:806 @@ -491,12 +501,20 @@ msgid "What is it about?" msgstr "Warum dies ?" #: index.php:71 -msgid "Making polls to schedule meetings or events, quickly and easily.
    You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." -msgstr "Ein Datum zu finden das allen Betroffenen passt.
    Sie können ebenfalls benötigen um gemeinsam eine Wahl zu treffen für ein Termin ein Treffpunkt, ein Besprechungsthema oder die Marke ihrer nächsten Kaffeemaschine " +msgid "Making polls to schedule meetings or events, quickly and easily." +msgstr "Ein Datum zu finden das allen Betroffenen passt." + +msgid "You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." +msgstr "Sie können ebenfalls benötigen um gemeinsam eine Wahl zu treffen für ein Termin ein Treffpunkt, ein Besprechungsthema oder die Marke ihrer nächsten Kaffeemaschine " + #: choix_autre.php:144 -msgid "Your poll aim is to make a choice between different subjects.
    Enter the subjects to vote for:" -msgstr "Sie erstellen eine Umfrage mit mehreren Wahlmglichkeiten
    Geben sie die verschiedenen Wahlmglichkeiten an :" +msgid "Your poll aim is to make a choice between different subjects." +msgstr "Sie erstellen eine Umfrage mit mehreren Wahlmglichkeiten." + +msgid "Enter the subjects to vote for:" +msgstr "Geben sie die verschiedenen Wahlmglichkeiten an :" + #: choix_autre.php:150 msgid "Choice" @@ -515,8 +533,12 @@ msgid "Characters \" < and > are not permitted" msgstr "Die Schriftzeichen < > und \" sind nicht genehmigt !" #: choix_autre.php:191 -msgid "Your poll will be automatically removed after 6 months.
    You can fix another removal date for it." -msgstr "Ihre Umfrage wird automatisch nach 6 Monaten gelscht.
    Sie können dennoch eine andere Frist wählen." +msgid "Your poll will be automatically removed after 6 months." +msgstr "Ihre Umfrage wird automatisch nach 6 Monaten gelscht." + +msgid "You can fix another removal date for it." +msgstr "Sie können dennoch eine andere Frist wählen." + #: choix_autre.php:193 msgid "Removal date (optional)" @@ -535,8 +557,12 @@ msgid "Add a new column" msgstr "Wenn sie eine Spalte einfügen möchten" #: adminstuds.php:121 -msgid "You can add a new scheduling date to your poll.
    If you just want to add a new hour to an existant date, put the same date and choose a new hour." -msgstr "Sie können in ihrer Umfrage ein Datum einfügen. Falls das Datum bereits schon besteht und sie eine Uhrzeit eingeben möchten tragen sie bitte das ganze Datum ein mit der gewünschten Uhrzeit so das dieser in der Umfrage erscheinen kann." +msgid "You can add a new scheduling date to your poll." +msgstr "Sie können in ihrer Umfrage ein Datum einfügen." + +msgid "If you just want to add a new hour to an existant date, put the same date and choose a new hour." +msgstr "Falls das Datum bereits schon besteht und sie eine Uhrzeit eingeben möchten tragen sie bitte das ganze Datum ein mit der gewünschten Uhrzeit so das dieser in der Umfrage erscheinen kann." + #: adminstuds.php:122 msgid "Add a date" @@ -599,8 +625,26 @@ msgid "" msgstr "" #: adminstuds.php:582 -msgid "As poll administrator, you can change all the lines of this poll with \"infos\".
    You can, as well, remove a column or a line with \"Cancel\".
    You can also add a new column with \"Add.
    Finally, you can change the informations of this poll like the title, the comments or your email address." -msgstr "Als administrator können sie alle linien ihrer Umfrage mit \"Icone ändern.
    Sie haben auch die möglichkeit eine Spalte oder eine Linie mit \"Annuler\" zu löschen.
    Falls sie vergessen haben eine Wahlmöglichkeit einzutragen können sie eine Spalte zufügen in dem sie \"rückgängig\"
    auswählen. en bout de ligne des noms de colonne. Sie können ebenfalls informationen wie den Titel die Kommentare oder ihre email adresse ändern. " +msgid "As poll administrator, you can change all the lines of this poll with this button : " +msgstr "Als administrator können sie alle linien ihrer Umfrage mit dieser Taste ändern :" + +msgid "Edit" +msgstr "ändern" + +msgid "You can, as well, remove a column or a line." +msgstr "Sie haben auch die möglichkeit eine Spalte oder eine Linie mit zu löschen." + +msgid "Cancel" +msgstr "Stornieren" + +msgid "You can also add a new column with " +msgstr "Falls sie vergessen haben eine Wahlmöglichkeit einzutragen können sie eine Spalte zufügen in dem sie " + +msgid "Add" +msgstr "rückgängig" + +msgid "Finally, you can change the informations of this poll like the title, the comments or your email address." +msgstr "Sie können ebenfalls informationen wie den Titel die Kommentare oder ihre email adresse ändern. " #: adminstuds.php:851 msgid "The date is not correct !" diff --git a/locale/en_GB/LC_MESSAGES/Studs.mo b/locale/en_GB/LC_MESSAGES/Studs.mo index 43e14ec..1a76eb3 100644 Binary files a/locale/en_GB/LC_MESSAGES/Studs.mo and b/locale/en_GB/LC_MESSAGES/Studs.mo differ diff --git a/locale/en_GB/LC_MESSAGES/Studs.po b/locale/en_GB/LC_MESSAGES/Studs.po index ce98e9a..e0c4440 100644 --- a/locale/en_GB/LC_MESSAGES/Studs.po +++ b/locale/en_GB/LC_MESSAGES/Studs.po @@ -135,8 +135,11 @@ msgid "december" msgstr "december" #: choix_date.php:253 -msgid "Select your dates amoung the free days (green). The selected days are in blue.
    You can unselect a day previously selected by clicking again on it." -msgstr "Select your dates amoung the free days (green). The selected days are in blue.
    You can unselect a day previously selected by clicking again on it." +msgid "Select your dates amoung the free days (green). The selected days are in blue." +msgstr "Select your dates amoung the free days (green). The selected days are in blue." + +msgid "You can unselect a day previously selected by clicking again on it." +msgstr "You can unselect a day previously selected by clicking again on it." #: choix_date.php:266 msgid "monday" @@ -170,9 +173,9 @@ msgstr "sunday" msgid "Selected days" msgstr "Selected days" -#: choix_date.php:521 -msgid "For each selected day, you can choose, or not, meeting hours in the following format :
    - empty,
    - " -msgstr "" +#: choix_date.php:489 +msgid "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)" +msgstr "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)" #: choix_date.php:528 msgid "Time" @@ -213,8 +216,11 @@ msgstr "Removal date" #: choix_date.php:586 #: choix_autre.php:217 -msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters." -msgstr "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters." +msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll." +msgstr "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll." + +msgid "Then, you will receive quickly an email contening the link to your poll for sending it to the voters." +msgstr "Then, you will receive quickly an email contening the link to your poll for sending it to the voters." #: choix_date.php:592 msgid "Back to hours" @@ -226,8 +232,11 @@ msgid "Create the poll" msgstr "Create the poll" #: infos_sondage.php:187 -msgid "You are in the poll creation section.
    Required fields cannot be left blank" -msgstr "You are in the poll creation section.
    Required fields cannot be left blank" +msgid "You are in the poll creation section." +msgstr "You are in the poll creation section." + +msgid "Required fields cannot be left blank." +msgstr "Required fields cannot be left blank." #: infos_sondage.php:192 msgid "Poll title *: " @@ -463,16 +472,22 @@ msgid "What is it about?" msgstr "What is it about?" #: index.php:128 -msgid "Making polls to schedule meetings or events, quickly and easily.
    You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." -msgstr "Making polls to schedule meetings or events, quickly and easily.
    You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." +msgid "Making polls to schedule meetings or events, quickly and easily." +msgstr "Making polls to schedule meetings or events, quickly and easily." + +msgid "You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." +msgstr "You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." #: index.php:131 msgid "Make a poll" msgstr "Make a poll" #: choix_autre.php:165 -msgid "Your poll aim is to make a choice between different subjects.
    Enter the subjects to vote for:" -msgstr "Your poll aim is to make a choice between different subjects.
    Enter the subjects to vote for:" +msgid "Your poll aim is to make a choice between different subjects." +msgstr "Your poll aim is to make a choice between different subjects." + +msgid "Enter the subjects to vote for:" +msgstr "Enter the subjects to vote for:" #: choix_autre.php:171 msgid "Choice" @@ -491,8 +506,11 @@ msgid "Characters \" < and > are not permitted" msgstr "Characters \" < and > are not permitted" #: choix_autre.php:212 -msgid "Your poll will be automatically removed after 6 months.
    You can fix another removal date for it." -msgstr "Your poll will be automatically removed after 6 months.
    You can fix another removal date for it." +msgid "Your poll will be automatically removed after 6 months." +msgstr "Your poll will be automatically removed after 6 months." + +msgid "You can fix another removal date for it." +msgstr "You can fix another removal date for it." #: choix_autre.php:214 msgid "Removal date (optional)" @@ -511,8 +529,11 @@ msgid "Add a new column" msgstr "Add a new column" #: adminstuds.php:150 -msgid "You can add a new scheduling date to your poll.
    If you just want to add a new hour to an existant date, put the same date and choose a new hour." -msgstr "You can add a new scheduling date to your poll.
    If you just want to add a new hour to an existant date, put the same date and choose a new hour." +msgid "You can add a new scheduling date to your poll." +msgstr "You can add a new scheduling date to your poll." + +msgid "If you just want to add a new hour to an existant date, put the same date and choose a new hour." +msgstr "If you just want to add a new hour to an existant date, put the same date and choose a new hour." #: adminstuds.php:151 msgid "Add a date" @@ -577,8 +598,26 @@ msgstr "" "You can modify this poll with this link" #: adminstuds.php:662 -msgid "As poll administrator, you can change all the lines of this poll with - empty,
    - \"8h\", \"8H\" or \"8:00\" to give a " diff --git a/locale/es_ES/LC_MESSAGES/Studs.mo b/locale/es_ES/LC_MESSAGES/Studs.mo index b6d9de1..6e907e6 100644 Binary files a/locale/es_ES/LC_MESSAGES/Studs.mo and b/locale/es_ES/LC_MESSAGES/Studs.mo differ diff --git a/locale/es_ES/LC_MESSAGES/Studs.po b/locale/es_ES/LC_MESSAGES/Studs.po index 6685449..918614a 100644 --- a/locale/es_ES/LC_MESSAGES/Studs.po +++ b/locale/es_ES/LC_MESSAGES/Studs.po @@ -134,8 +134,12 @@ msgid "Back to the homepage of " msgstr "Retroceder al inicio de" #: choix_date.php:220 -msgid "Select your dates amoung the free days (green). The selected days are in blue.
    You can unselect a day previously selected by clicking again on it." -msgstr "Seleccionar sus fechas entre los días disponibles que aparecen en verde. Cuando son seleccionados los días aparecen en azul.
    Usted puede egalemente borrar días en seleccionarlos de nuevo." +msgid "Select your dates amoung the free days (green). The selected days are in blue." +msgstr "Seleccionar sus fechas entre los días disponibles que aparecen en verde. Cuando son seleccionados los días aparecen en azul." + +msgid "You can unselect a day previously selected by clicking again on it." +msgstr "Usted puede egalemente borrar días en seleccionarlos de nuevo." + #: choix_date.php:233 msgid "monday" @@ -170,8 +174,8 @@ msgid "Selected days" msgstr "Días seleccionados" #: choix_date.php:487 -msgid "For each selected day, you can choose, or not, meeting hours in the following format :
    - empty,
    - \"8h\", \"8H\" or \"8:00\" to give a meeting's start hour,
    - \"8-11\", \"8h-11h\", \"8H-11H\" ou \"8:00-11:00\" to give a meeting's start and end hour,
    - \"8h15-11h15\", \"8H15-11H15\" ou \"8:15-11:15\" for the same thing but with minutes." -msgstr "Para algún día que había seleccionado, Usted puede escoger, o no, de horas de reunión con este formato:
    - vacío,
    - \"8h\", \"8H\" o \"8:00\" para proponer una hora de principio de reunión,
    - \"8-11\", \"8h-11h\", \"8H-11H\" o \"8:00-11:00\" para un hueco,
    - \"8h15-11h15\", \"8H15-11H15\" o \"8:15-11:15\" para un hueco con minutos." +msgid "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)" +msgstr "Para algún día que había seleccionado, Usted puede escoger, o no, de horas de reunión (e.g.: \"8h\", \"8:30\", \"8h-10h\", etc.)" #: choix_date.php:494 msgid "Time" @@ -212,8 +216,12 @@ msgstr "Fecha de borrado" #: choix_date.php:552 #: choix_autre.php:196 -msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters." -msgstr "Cuando Usted confirmarà la creacion de su encuesta, Usted serà automaticamente redigiriendo a la pagina de su encuesta.

    Alora, Usted recibirà rapidamente uno correo electrinico conteniendo el enlace de su encuesta para darlo a los encuestados." +msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll." +msgstr "Cuando Usted confirmarà la creacion de su encuesta, Usted serà automaticamente redigiriendo a la pagina de su encuesta." + +msgid "Then, you will receive quickly an email contening the link to your poll for sending it to the voters." +msgstr "Alora, Usted recibirà rapidamente uno correo electrinico conteniendo el enlace de su encuesta para darlo a los encuestados." + #: choix_date.php:558 msgid "Back to hours" @@ -229,8 +237,12 @@ msgid "Poll creation (1 on 2)" msgstr "Creación de encuesta (1 de 2)" #: infos_sondage.php:123 -msgid "You are in the poll creation section.
    Required fields cannot be left blank" -msgstr "Usted ha eligiendo de crear une nueva encuesta!
    Gracias por completar los campos con una *." +msgid "You are in the poll creation section." +msgstr "Usted ha eligiendo de crear une nueva encuesta!" + +msgid "Required fields cannot be left blank." +msgstr "Gracias por completar los campos con una *." + #: infos_sondage.php:128 msgid "Poll title *: " @@ -400,8 +412,8 @@ msgid "Comments" msgstr "Comentarios" #: studs.php:261 -msgid "If you want to vote in this poll, you have to give your name, choose the values that fit best for you
    and validate with the plus button at the end of the line." -msgstr "Para participar a esta encuesta, introduzca su nombre, elige todas las valores que son apriopriadas
    y validar su seleccion con el botón verde a la fin de línea." +msgid "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line." +msgstr "Para participar a esta encuesta, introduzca su nombre, elige todas las valores que son apriopriadas y validar su seleccion con el botón verde a la fin de línea." #: studs.php:445 #: adminstuds.php:806 @@ -600,8 +612,26 @@ msgstr "" "Usted puede cambiar su encuesta al enlace siguiente" #: adminstuds.php:582 -msgid "As poll administrator, you can change all the lines of this poll with \"infos\".
    You can, as well, remove a column or a line with \"Cancel\".
    You can also add a new column with \"Add.
    Finally, you can change the informations of this poll like the title, the comments or your email address." -msgstr "En calidad de administrador, Usted puede cambiar todas la líneas de este encuesta con \"Icone.
    Usted puede también borrar una columna o una línea con \"Annuler\".
    Usted puede añadir une nueva columna con \"Annuler\"
    . Para acabar, Usted puede cambiar las informaciones relativas
    a su encuesta como el titulo, los comentarios o ademas su dirección electrónica." +msgid "As poll administrator, you can change all the lines of this poll with this button : " +msgstr "En calidad de administrador, Usted puede cambiar todas la líneas de este encuesta con este botón :" + +msgid "Edit" +msgstr "Cambio" + +msgid "You can, as well, remove a column or a line." +msgstr "Usted puede también borrar una columna o una línea con " + +msgid "Cancel" +msgstr "Cancelar" + +msgid "You can also add a new column with " +msgstr "Usted puede añadir une nueva columna con " + +msgid "Add" +msgstr "Añadir" + +msgid "Finally, you can change the informations of this poll like the title, the comments or your email address." +msgstr "Para acabar, Usted puede cambiar las informaciones relativas a su encuesta como el titulo, los comentarios o ademas su dirección electrónica." #: adminstuds.php:851 msgid "The date is not correct !" diff --git a/locale/fr_FR/LC_MESSAGES/Studs.mo b/locale/fr_FR/LC_MESSAGES/Studs.mo index bbe822c..ae34ba1 100644 Binary files a/locale/fr_FR/LC_MESSAGES/Studs.mo and b/locale/fr_FR/LC_MESSAGES/Studs.mo differ diff --git a/locale/fr_FR/LC_MESSAGES/Studs.po b/locale/fr_FR/LC_MESSAGES/Studs.po index c508df9..da66f96 100644 --- a/locale/fr_FR/LC_MESSAGES/Studs.po +++ b/locale/fr_FR/LC_MESSAGES/Studs.po @@ -17,6 +17,27 @@ msgstr "" "X-Poedit-Basepath: /var/www/studs\n" "X-Poedit-SearchPath-0: .\n" +msgid "Print" +msgstr "Imprimer" + +msgid "Select the choice " +msgstr "Cocher le choix " + +msgid "Validate my choices" +msgstr "Valider mes choix" + +msgid "Back to the poll" +msgstr "Retour au sondage" + +msgid "Public link of the pool" +msgstr "Lien publique du sondage" + +msgid "Admin link of the pool" +msgstr "Lien d'administration du sondage" + +msgid "Change the language" +msgstr "Changer la langue" + #: exportpdf.php:62 msgid " Convocation" msgstr "Convocation" @@ -73,8 +94,11 @@ msgid "Poll subjects (2 on 2)" msgstr "Choix des sujets (2 sur 2)" #: choix_autre.php:144 -msgid "Your poll aim is to make a choice between different subjects.
    Enter the subjects to vote for:" -msgstr "Vous avez créé un sondage pour déterminer un choix entre plusieurs choses
    Entrez les différents choix à proposer au vote :" +msgid "Your poll aim is to make a choice between different subjects." +msgstr "Vous avez créé un sondage pour déterminer un choix entre plusieurs choses." + +msgid "Enter the subjects to vote for:" +msgstr "Entrez les différents choix à proposer au vote :" #: choix_autre.php:150 msgid "Choice" @@ -98,8 +122,11 @@ msgid "Characters \" < and > are not permitted" msgstr "Les caractères \" < et > ne sont pas autorisés !" #: choix_autre.php:191 -msgid "Your poll will be automatically removed after 6 months.
    You can fix another removal date for it." -msgstr "Votre sondage sera automatiquement effacé dans 6 mois.
    Néanmoins vous pouvez décider ci-dessous d'une date plus rapprochée pour la destruction de votre sondage." +msgid "Your poll will be automatically removed after 6 months." +msgstr "Votre sondage sera automatiquement effacé dans 6 mois." + +msgid "You can fix another removal date for it." +msgstr "Néanmoins vous pouvez décider ci-dessous d'une date plus rapprochée pour la destruction de votre sondage." #: choix_autre.php:193 msgid "Removal date (optional)" @@ -111,8 +138,11 @@ msgstr "(JJ/MM/AAAA)" #: choix_autre.php:196 #: choix_date.php:554 -msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll.

    Then, you will receive quickly an email contening the link to your poll for sending it to the voters." -msgstr "Une fois que vous aurez confirmé la création du sondage, vous serez redirigé automatiquement vers la page de votre sondage.

    En même temps, vous recevrez un courrier électronique contenant le lien vers votre sondage pour le faire suivre aux futurs sondés." +msgid "Once you have confirmed the creation of your poll, you will be automatically redirected on the page of your poll." +msgstr "Une fois que vous aurez confirmé la création du sondage, vous serez redirigé automatiquement vers la page de votre sondage." + +msgid "Then, you will receive quickly an email contening the link to your poll for sending it to the voters." +msgstr "En même temps, vous recevrez un courrier électronique contenant le lien vers votre sondage pour le faire suivre aux futurs sondés." #: choix_autre.php:201 #: choix_date.php:561 @@ -128,8 +158,12 @@ msgid "STUdS is not properly installed, please check the 'INSTALL' to setup the msgstr "STUdS n'est pas correctement installé, merci de vous référer au fichier INSTALL pour initialiser la base de données avant de continuer." #: infos_sondage.php:125 -msgid "You are in the poll creation section.
    Required fields cannot be left blank" -msgstr "Vous avez choisi de créer un nouveau sondage !
    Merci de remplir les champs obligatoires, marqués d'une *." +msgid "You are in the poll creation section." +msgstr "Vous avez choisi de créer un nouveau sondage." + +msgid "Required fields cannot be left blank." +msgstr "Merci de remplir les champs obligatoires, marqués d'une *." + #: infos_sondage.php:130 msgid "Poll title *: " @@ -146,8 +180,8 @@ msgid "Characters < > and \" are not permitted" msgstr "Les caractères < > et \" ne sont pas autorisés !" #: infos_sondage.php:138 -msgid "Comments: " -msgstr "Commentaires : " +msgid "Description: " +msgstr "Description : " #: infos_sondage.php:143 msgid "Your name*: " @@ -200,20 +234,35 @@ msgid "Poll dates (2 on 2)" msgstr "Choix des dates (2 sur 2)" #: choix_date.php:222 -msgid "Select your dates amoung the free days (green). The selected days are in blue.
    You can unselect a day previously selected by clicking again on it." -msgstr "Sélectionnez vos dates parmi les jours disponibles qui sont en vert. Une fois selectionnés, les jours apparaissent en bleu.
    Vous pouvez également enlever des jours déjà choisis en recliquant sur la case." +msgid "Select your dates amoung the free days (green). The selected days are in blue." +msgstr "Sélectionnez vos dates parmi les jours disponibles qui sont en vert. Une fois selectionnés, les jours apparaissent en bleu." + +msgid "You can unselect a day previously selected by clicking again on it." +msgstr "Vous pouvez également enlever des jours déjà choisis en recliquant sur la case." #: choix_date.php:487 msgid "Selected days" msgstr "Jour retenus" #: choix_date.php:489 -msgid "For each selected day, you can choose, or not, meeting hours in the following format :
    - empty,
    - \"8h\", \"8H\" or \"8:00\" to give a meeting's start hour,
    - \"8-11\", \"8h-11h\", \"8H-11H\" ou \"8:00-11:00\" to give a meeting's start and end hour,
    - \"8h15-11h15\", \"8H15-11H15\" ou \"8:15-11:15\" for the same thing but with minutes." -msgstr "Pour chacun des jours que vous avez sélectionnés, vous avez la possibilité de choisir ou non, des heures de réunion avec ce format :
    - vide, si vous ne désirez pas mettre d'horaires particuliers,
    - \"8h\", \"8H\" ou \"8:00\" pour proposer une heure de début de réunion,
    - \"8-11\", \"8h-11h\", \"8H-11H\" ou \"8:00-11:00\" pour un créneau,
    - \"8h15-11h15\", \"8H15-11H15\" ou \"8:15-11:15\" pour un créneau avec minutes." +msgid "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)" +msgstr "Pour chacun des jours sélectionnés, vous avez la possibilité de choisir ou non, des heures de réunion (par exemple : \"8h\", \"8:30\", \"8h-10h\", \"soir\", etc.)" -#: choix_date.php:490 -msgid "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8\", \"evening\", etc.)" -msgstr "Pour chacun des jours que vous avez sélectionnés, vous avez la possibilité de choisir ou non, des heures de réunion (par exemple : \"8h\", \"8:15\", \"8h-10h\", \"soir\")." +#: choix_date.php:225 +msgid "Previous year" +msgstr "Année précédente" + +msgid "Next year" +msgstr "Année précédente" + +msgid "Previous month" +msgstr "Mois précédent" + +msgid "Next month" +msgstr "Mois suivant" + +msgid "Today" +msgstr "Aujourd'hui" #: choix_date.php:496 @@ -374,8 +423,8 @@ msgid "Comments" msgstr "Commentaire de l'auteur" #: studs.php:238 -msgid "If you want to vote in this poll, you have to give your name, choose the values that fit best for you
    and validate with the plus button at the end of the line." -msgstr "Pour participer à ce sondage, veuillez entrer votre nom, choisir toutes les valeurs qui vous conviennent
    et valider votre choix avec le bouton en bout de ligne." +msgid "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line." +msgstr "Pour participer à ce sondage, veuillez entrer votre nom, choisir toutes les valeurs qui vous conviennent et valider votre choix avec le bouton en bout de ligne." #: studs.php:456 msgid "Participate" @@ -434,6 +483,15 @@ msgstr "URL à communiquer" msgid "Add a comment in the poll:" msgstr "Ajoutez un commentaire à ce sondage :" +msgid "Your comment: " +msgstr "Votre commentaire : " + +msgid "Write your comment" +msgstr "Écrire votre commentaire" + +msgid "Send your comment" +msgstr "Envoyer votre commentaire" + #: studs.php:566 #: adminstuds.php:1027 msgid "Name" @@ -460,8 +518,11 @@ msgid "What is it about?" msgstr "À quoi ça sert ?" #: index.php:70 -msgid "Making polls to schedule meetings or events, quickly and easily.
    You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." -msgstr "À faire des sondages pour que vous puissiez trouver une date de réunion qui convienne à toutes les personnes concernées.
    Vous pouvez également utiliser cette application pour déterminer à plusieurs un choix quelconque comme un lieu de RV, un thème de réunion ou la marque de votre prochaine machine à café." +msgid "Making polls to schedule meetings or events, quickly and easily." +msgstr "À faire des sondages pour que vous puissiez trouver une date de réunion qui convienne à toutes les personnes concernées." + +msgid "You can also run polls to determine what will be your next meeting place, the meeting topic or anything like the country you would like to visit during your next holidays." +msgstr "Vous pouvez également utiliser cette application pour déterminer à plusieurs un choix quelconque comme un lieu de RV, un thème de réunion ou la marque de votre prochaine machine à café." #: creation_sondage.php:88 msgid "For sending to the polled users" @@ -520,15 +581,15 @@ msgstr "" "Vous pouvez modifier ce sondage au lien suivant" #: adminstuds.php:122 -msgid "[ADMINISTRATOR] New comments for your poll" -msgstr "[ADMINISTRATEUR] Changement des commentaires du sondage avec " +msgid "[ADMINISTRATOR] New description for your poll" +msgstr "[ADMINISTRATEUR] Changement de la descrpition du sondage avec " #: adminstuds.php:123 msgid "" -"You have changed the comments of your poll. \n" +"You have changed the description of your poll. \n" "You can modify this poll with this link" msgstr "" -"Vous avez fait la modification des commentaires de votre sondage. \n" +"Vous avez modifié la description de votre sondage. \n" "Vous pouvez modifier ce sondage au lien suivant" #: adminstuds.php:141 @@ -552,13 +613,31 @@ msgid "Add a new column" msgstr "Si vous souhaitez ajouter une colonne" #: adminstuds.php:175 -msgid "You can add a new scheduling date to your poll.
    If you just want to add a new hour to an existant date, put the same date and choose a new hour." -msgstr "Vous pouvez ajouter une date à votre sondage. Si la date existe déjà et que vous ne voulez rajouter qu'un horaire,
    mettez le jour en entier avec l'horaire ou le créneau supplémentaire et il sera intégré normalement au sondage existant." +msgid "You can add a new scheduling date to your poll." +msgstr "Vous pouvez ajouter une date à votre sondage." + +msgid "If you just want to add a new hour to an existant date, put the same date and choose a new hour." +msgstr "mettez le jour en entier avec l'horaire ou le créneau supplémentaire et il sera intégré normalement au sondage existant." #: adminstuds.php:176 msgid "Add a date" msgstr "Pour ajouter une date" +msgid "Day" +msgstr "Jour" + +msgid "Month" +msgstr "Mois" + +msgid "Year" +msgstr "Année" + +msgid "Hour" +msgstr "Heure" + +msgid "Min" +msgstr "Min" + #: adminstuds.php:197 msgid "Add a start hour (optional)" msgstr "Pour ajouter un horaire de début (facultatif)" @@ -569,14 +648,14 @@ msgstr "Pour ajouter un horaire de fin (facultatif)" #: adminstuds.php:253 msgid "[ADMINISTRATOR] Removing of your poll" -msgstr "[ADMINISTRATEUR] Suppression de sondage avec " +msgstr "[ADMINISTRATEUR] Suppression de sondage" #: adminstuds.php:254 msgid "" "You have removed your poll. \n" "You can make new polls with this link" msgstr "" -"Vous avez fait la suppression d'un sondage. \n" +"Vous supprimé un sondage. \n" "Vous pouvez faire de nouveaux sondages au lien suivant" #: adminstuds.php:273 @@ -598,18 +677,36 @@ msgstr "" "Vous pouvez informer vos utilisateurs de ce changement en leur envoyant l'adresse suivante" #: adminstuds.php:630 -msgid "As poll administrator, you can change all the lines of this poll with \"infos\".
    You can, as well, remove a column or a line with \"Cancel\".
    You can also add a new column with \"Add.
    Finally, you can change the informations of this poll like the title, the comments or your email address." -msgstr "En tant qu'administrateur, vous pouvez modifier toutes les lignes de ce sondage avec \"Icone.
    Vous avez aussi la possibilité d'effacer une colonne ou une ligne avec \"Annuler\".
    Si vous avez oublié de mettre un choix, vous pouvez rajouter une colonne en cliquant sur \"Annuler\"
    en bout de ligne des noms de colonne. Vous pouvez enfin également modifier les informations
    relatives à ce sondage comme le titre, les commentaires ou encore votre adresse électronique." +msgid "As poll administrator, you can change all the lines of this poll with this button " +msgstr "En tant qu'administrateur, vous pouvez modifier toutes les lignes de ce sondage avec ce bouton " + +msgid "Edit" +msgstr "Modifier" + +msgid "You can, as well, remove a column or a line with " +msgstr "Vous avez aussi la possibilité d'effacer une colonne ou une ligne avec " + +msgid "Remove" +msgstr "Effacer" + +msgid "Remove the column" +msgstr "Effacer la colonne" + +msgid "Validate" +msgstr "Valider" + +msgid "You can also add a new column with " +msgstr "Si vous avez oublié de mettre un choix, vous pouvez rajouter une colonne en cliquant sur " -#: adminstuds.php:669 -#: adminstuds.php:689 -#: adminstuds.php:708 -#: adminstuds.php:720 -#: adminstuds.php:738 -#: adminstuds.php:837 msgid "Add" msgstr "Ajouter" +msgid "Add a column" +msgstr "Ajouter une colonne" + +msgid "Finally, you can change the informations of this poll like the title, the comments or your email address." +msgstr "Vous pouvez enfin également modifier les informations relatives à ce sondage comme le titre, les commentaires ou encore votre adresse électronique." + #: adminstuds.php:894 msgid "Characters \" ' < et > are not permitted" msgstr "Les caractères \" ' < et > ne sont pas autorisés !" @@ -631,8 +728,14 @@ msgid "Poll's management" msgstr "Gestion de votre sondage" #: adminstuds.php:969 +msgid "Poll title: " +msgstr "Titre du sondage : " + msgid "Change the title" -msgstr "Si vous souhaitez changer le titre du sondage" +msgstr "Modifier le titre" + +msgid "Save the new title" +msgstr "Enregistrer le nouveau titre" #: adminstuds.php:976 msgid "Generate the convocation letter (.PDF), choose the place to meet and validate" @@ -647,12 +750,21 @@ msgid "Enter a new title!" msgstr "Veuillez entrer un nouveau titre !" #: adminstuds.php:996 -msgid "Change the comments" -msgstr "Si vous souhaitez changer les commentaires du sondage" +msgid "Change the description" +msgstr "Changer la description" + +msgid "Save the description" +msgstr "Enregistrer la description" #: adminstuds.php:1000 -msgid "Change your email address" -msgstr "Si vous souhaitez changer votre adresse de courrier électronique" +msgid "Your e-mail address: " +msgstr "Votre adresse e-mail : " + +msgid "Change your email" +msgstr "Changer votre adresse" + +msgid "Save your new email" +msgstr "Enregistrer votre adresse email" #: adminstuds.php:1004 msgid "Enter a new email address!" @@ -668,7 +780,7 @@ msgstr "Si vous souhaitez supprimer votre sondage" #: adminstuds.php:1033 msgid "Remove the poll" -msgstr "Suppression du sondage" +msgstr "Supprimer le sondage" #: adminstuds.php:1033 msgid "Cancel" diff --git a/maintenance.php b/maintenance.php index ea3f8d2..95c5932 100644 --- a/maintenance.php +++ b/maintenance.php @@ -1,42 +1,20 @@ '."\n"; @@ -51,9 +29,9 @@ logo(); bandeau_tete(); echo '
    '."\n"; -print "

    L'application ".NOMAPPLICATION." est pour l'instant en maintenance.

    "."\n"; +print "

    L'application ".NOMAPPLICATION." est pour l'instant en maintenance.

    "."\n"; print "Merci de votre compréhension."."\n"; -echo '


    '."\n"; +echo '


    '."\n"; echo '
    '."\n"; // Affichage du bandeau de pied diff --git a/studs.php b/studs.php index 16cd29e..d1c4691 100644 --- a/studs.php +++ b/studs.php @@ -1,42 +1,20 @@ titre); + print_header(true, _("Error!").' - '.$dsondage->titre, $lang); } else { - print_header(true, $dsondage->titre); + print_header(true, $dsondage->titre, $lang); } echo ''."\n"; framanav(); @@ -234,7 +212,8 @@ if($err != 0) { } echo '
    '; //ajout pyg cohérence graphique -echo ''; +echo ''; echo '
    '."\n"; //affichage du titre du sondage @@ -243,12 +222,12 @@ echo '

    '.stripslashes($titre).'

    '."\n"; //affichage du nom de l'auteur du sondage echo '

    '. _("Initiator of the poll") .' : '.stripslashes($dsondage->nom_admin).'

    '."\n"; -echo '

    '.'Adresse : '.getUrlSondage($dsondage->id_sondage).'

    '."\n";; +echo '

    '._("Public link of the pool") .' : '.getUrlSondage($dsondage->id_sondage).'

    '."\n"; -//affichage des commentaires du sondage +//affichage de la description du sondage if ($dsondage->commentaires) { - echo '
    '._("Comments") .' :
    '."\n"; + echo '
    '._("Description: ") .'
    '."\n"; $commentaires = $dsondage->commentaires; $commentaires=nl2br(str_replace("\\","",$commentaires)); echo ''. $commentaires .''; @@ -260,7 +239,7 @@ echo '
    '; // Todo : add CSRF protection echo '
    '."\n"; -echo _("If you want to vote in this poll, you have to give your name, choose the values that fit best for you
    and validate with the plus button at the end of the line.") ."\n"; +echo _("If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.") ."\n"; echo '
    '."\n"; // Debut de l'affichage des resultats du sondage @@ -398,14 +377,14 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") { //affichage des horaires if (strpos($dsondage->sujet, '@') !== false) { echo ''."\n"; - echo ''."\n"; + echo ''."\n"; for ($i=0; isset($toutsujet[$i]); $i++) { $heures=explode("@",$toutsujet[$i]); if (isset($heures[1]) === true) { echo ''.stripslashes($heures[1]).''."\n"; } else { - echo ''."\n"; + echo ''."\n"; } } @@ -453,7 +432,7 @@ while ($data = $user_studs->FetchNextObject(false)) { for ($k=0; $k < $nbcolonnes; $k++) { // on remplace les choix de l'utilisateur par une ligne de checkbox pour recuperer de nouvelles valeurs if ($compteur == $ligneamodifier) { - echo 'FetchNextObject(false)) { //a la fin de chaque ligne se trouve les boutons modifier if ($compteur != $ligneamodifier && ($dsondage->format=="A+"||$dsondage->format=="D+") && $mod_ok) { - echo ''."\n"; + echo ''."\n"; } //demande de confirmation pour modification de ligne for ($i=0;$i<$nblignes;$i++) { if (isset($_POST["modifierligne$i"]) || isset($_POST['modifierligne'.$i.'_x'])) { if ($compteur == $i) { - echo ''."\n"; + echo ''."\n"; } } } @@ -492,7 +471,7 @@ while ($data = $user_studs->FetchNextObject(false)) { } // affichage de la ligne pour un nouvel utilisateur -if (! ( USE_REMOTE_USER && isset($_SERVER['REMOTE_USER']) ) || !$user_mod) { +if (( !(USE_REMOTE_USER && isset($_SERVER['REMOTE_USER'])) || !$user_mod) && $ligneamodifier==-1) { echo ''."\n"; echo ''."\n"; if (isset($_SESSION['nom'])) { @@ -500,13 +479,13 @@ if (! ( USE_REMOTE_USER && isset($_SERVER['REMOTE_USER']) ) || !$user_mod) { } else { $nom = 'Votre nom'; } - echo ''."\n"; + echo ''."\n"; echo ''."\n"; // affichage des cases de formulaire checkbox pour un nouveau choix for ($i=0;$i<$nbcolonnes;$i++) { - echo ''."\n"; + echo ''."\n"; echo ''."\n"; + + // Focus javascript sur la case de texte du formulaire + echo ''."\n"; } //determination de la meilleure date @@ -539,7 +521,7 @@ echo ''."\n".''."\n"; echo ''."\n"; echo ''; // si on a plus de 8 colonnes, on affiche un second bouton "valider mes choix" -echo ($nbcolonnes>8) ?'' : ""; +echo ($nbcolonnes>8) ?'' : ""; echo _("Addition") .''."\n"; for ($i=0; $i < $nbcolonnes; $i++) { @@ -620,9 +602,9 @@ echo '

    '."\n"; // Affichage du meilleur choix if ($compteursujet == "1" && isset($meilleurecolonne)) { - print 'Meilleur choix ' . _('The best choice at this time is:') . "".stripslashes($meilleursujet)." " . _('with') . " $meilleurecolonne " . $vote_str . ".\n"; + print ' ' . _('The best choice at this time is:') . "".stripslashes($meilleursujet)." " . _('with') . " $meilleurecolonne " . $vote_str . ".\n"; } elseif (isset($meilleurecolonne)) { - print 'Meilleur choix ' . _('The bests choices at this time are:') . " ".stripslashes($meilleursujet)." " . _('with') . " $meilleurecolonne " . $vote_str . ".\n"; + print ' ' . _('The bests choices at this time are:') . " ".stripslashes($meilleursujet)." " . _('with') . " $meilleurecolonne " . $vote_str . ".\n"; } echo '

    '; @@ -633,7 +615,7 @@ $sql = $connect->Prepare($sql); $comment_user=$connect->Execute($sql, array($numsondage)); if ($comment_user->RecordCount() != 0) { - print "
    " . _("Comments of polled people") . " :
    \n"; + print "
    " . _("Comments of polled people") . " :
    \n"; while($dcomment = $comment_user->FetchNextObject(false)) { print '
    '.stripslashes($dcomment->usercomment). ' : ' . stripslashes(nl2br($dcomment->comment)) . '
    '; } @@ -649,21 +631,21 @@ if (isset($_SESSION['nom']) === false) { } echo '

    : '; echo '

    '."\n"; -echo '

    :
    '; -echo '

    '."\n"; -echo '

    '."\n"; +echo '


    '; +echo '

    '."\n"; +echo '

    '."\n"; echo '
    '."\n"; -// Focus javascript sur la case de texte du formulaire -echo ''."\n"; echo '
    '."\n"; -echo '
      '; +/* Export CSV / ICS + * echo '
        '; echo '
      • ' . _('Export to CSV') . ''.''._("Export: Spreadsheet") .' (.CSV)' . '
      • '; -if ( ($dsondage->format == 'D' || $dsondage->format == 'D+') && $compteursujet=="1" && $meilleurecolonne && file_exists('iCalcreator/iCalcreator.class.php') && false /* TODO: later */) { +if ( ($dsondage->format == 'D' || $dsondage->format == 'D+') && $compteursujet=="1" && $meilleurecolonne && file_exists('iCalcreator/iCalcreator.class.php') && false) { echo '
      • ' . _('Export iCal') . '' .''._("Agenda") .' (.ICS)' . '
      • '; } echo '
      '; +*/ echo ''."\n"; //echo '
    '; // ajout pyg cohérence graphique diff --git a/style.css b/style.css index 946de00..38d9f37 100644 --- a/style.css +++ b/style.css @@ -1,48 +1,19 @@ -/* -========================================================================== - -Université de Strasbourg - Direction Informatique -Auteur : Guilhem BORGHESI -Création : Février 2008 - -borghesi@unistra.fr - -Ce logiciel est régi par la licence CeCILL-B soumise au droit français et -respectant les principes de diffusion des logiciels libres. Vous pouvez -utiliser, modifier et/ou redistribuer ce programme sous les conditions -de la licence CeCILL-B telle que diffusée par le CEA, le CNRS et l'INRIA -sur le site "http://www.cecill.info". - -Le fait que vous puissiez accéder à cet en-tête signifie que vous avez -pris connaissance de la licence CeCILL-B, et que vous en avez accepté les -termes. Vous pouvez trouver une copie de la licence dans le fichier LICENCE. - -========================================================================== - -Université de Strasbourg - Direction Informatique -Author : Guilhem BORGHESI -Creation : Feb 2008 - -borghesi@unistra.fr - -This software is governed by the CeCILL-B license under French law and -abiding by the rules of distribution of free software. You can use, -modify and/ or redistribute the software under the terms of the CeCILL-B -license as circulated by CEA, CNRS and INRIA at the following URL -"http://www.cecill.info". - -The fact that you are presently reading this means that you have had -knowledge of the CeCILL-B license and that you accept its terms. You can -find a copy of this license in the file LICENSE. - -========================================================================== -*/ - -/* -Le fichier style.css est le fichier de style de studs. Il se trouve à la racine -du répertoire studs. Il contient toutes les mises en forme des fichiers PHP -de Studs. -*/ +/* This software is governed by the CeCILL-B license. If a copy of this license + * is not distributed with this file, you can obtain one at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + * Authors of STUdS (initial project) : Guilhem BORGHESI (borghesi@unistra.fr) and Raphaël DROZ + * Authors of OpenSondage : Framasoft (https://github.com/framasoft) + * + * ============================= + * + * Ce logiciel est régi par la licence CeCILL-B. Si une copie de cette licence + * ne se trouve pas avec ce fichier vous pouvez l'obtenir sur + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-fr.txt + * + * Auteurs de STUdS (projet initial) : Guilhem BORGHESI (borghesi@unistra.fr) et Raphaël DROZ + * Auteurs d'OpenSondage : Framasoft (https://github.com/framasoft) + */ @import url('./buttons.css'); @@ -328,9 +299,9 @@ div.bodydate table{ /*cadre de commentaires*/ div.presentationdate { - width:70%; + width:66%; font-family:arial; - text-align:center; +/* text-align:center;*/ font-size:12px; border-width:1px; border-style:solid; @@ -344,7 +315,10 @@ div.presentationdate { margin-right: 15%; background-color: #EEF; border-radius: 5px; + padding: 0 20px 20px; } +div.presentationdate h2 {text-align:center} + div.presentationdatefin { width:90%; padding:10px; @@ -374,8 +348,10 @@ div.cadre { } /*information au sujet de la participation au sondage*/ -div.cadre div.information { - margin-bottom:20px; +div.information { + margin:0 auto 20px auto; + max-width:650px; + text-align:justify; } /*la table des résultats dans l'affichage de sondage*/ div.cadre table.resultats { @@ -615,6 +591,13 @@ div.addcomment { border-radius: 5px; } +div.addcomment p { + width:380px; + margin-left : auto; + margin-right: auto; + text-align:left; +} + ul.exports { display:none; /* fonction non fonctionnelle */ text-align:center; @@ -680,6 +663,10 @@ li.error { .imprimer { float:right; + text-align:center; +} +.imprimer a { + width: 90px } .error { @@ -691,5 +678,48 @@ li.error { } .txt-right { -text-align:right; + text-align:right !important; +} +.txt-center { + text-align:center !important; +} + +.sousbandeaulangue select { + border: 1px solid white; + height: 14px; + border-radius: 0.5em 0 0 0.5em; +} +.sousbandeaulangue input { + border: none; + height: 15px; + border-radius: 0 0.5em 0.5em 0; +} + +.clear-left { + clear:left; +} + +.newday { + width:60px; + float:left; +} + +.newmonth { + width:110px; + float:left; +} + +.newyear { + width:70px; + float:left; +} + +.newhour { + width:70px; + float:left; +} + +.newmin { + width:50px; + float:left; } diff --git a/variables.php.template b/variables.php.template index 0dfe9f6..8595150 100644 --- a/variables.php.template +++ b/variables.php.template @@ -1,42 +1,21 @@