=====Application de sondage en ""php/MySQL""=====
""
""
====[[TraductionInstallation Traduction de l'installation]]====
====Interface web====
{{note texte="Pour [[http://recit.org/sondage/ voir la page d'accueil d'une installation et quelques sondages]]."}}
Voici les fichiers traduits de l'application «[[http://www.bigredspark.com/survey.html Unit Command Climate Assessment and Survey System (UCCASS)]]»
{{attacher fichier="UCCASSv1.8.1.tar.gz" description="UCCASS" class="" }}
{{attacher fichier="defaut_fr.zip" description="Langue française" class="" }}
Pour installer la traduction, remplacez le répertoire /templates/Default par celui fourni dans l'archive. Si vous désirez garder le thème anglais, renommer le répertoire original par Default_en par exemple.
//ATTENTION!: La traduction n'est pas parfaite pour la création/gestion des sondages, mais l'affichage pour les utilisateurs est très bien.//
====Thèmes====
Voici deux thèmes légèrement différent de celui par défaut. Un bleu et un orangé.
{{attacher fichier="Default_bleu.zip" description="Default_bleu" class="" }}
{{attacher fichier="Default_orange.zip" description="Default_orange" class="" }}
-#R#Installation: #R#décompresser ces archives dans le répertoire /templates. Vous pouvez éditer le fichier survey.ini.php pour inscrire le quel thème vous voulez par défaut. Ces thèmes peuvent être sélectionnés quand on édite/crée un sondage.
==Note: Merci au [[http://recitfp.qc.ca/article.php3?id_article=312 Service national de la formation professionnelle]] pour la découverte.==
----
bug sous UCCASS vue en tableau des résultats, le problème vient de MYSQL 5.0.13 et supérieur.
En changent la fonction greatest par la fonction ifnull, ça fonctionne.
http://www.bigredspark.com/forums/index.php?showtopic=2485
It seems that in more recent versions of MySQL (5.0.13+) the behavior of the GREATEST() function has changed, such that if *any* of the values being compared are null, the result of the function will be null. I believe using the IFNULL() function in place of GREATEST() will solve the problem; this is convenient because the arguments don't change. Someone more familiar with the code would know if this function is used elsewhere, but I was able to solve my problem by just changing classes/special_results.class.php near lines 85, 86, 184, and 185.
References:
IFNULL syntax:
http://dev.mysql.com/doc/refman/5.0/en/con...-functions.html
GREATEST syntax, changed behavior note:
http://dev.mysql.com/doc/refman/5.0/en/com...-operators.html