diff --git a/fonctions.php b/fonctions.php index 752b096..adc128b 100644 --- a/fonctions.php +++ b/fonctions.php @@ -129,7 +129,8 @@ function print_header($js = false, $nom_sondage = '') '.NOMAPPLICATION.''; } echo ' - '; + + '; echo ''; } diff --git a/print.css b/print.css index 90393cd..5070c49 100644 --- a/print.css +++ b/print.css @@ -1,10 +1,43 @@ +@import url(./style.css); + .corps { - width: 100% !important; - overflow-x: none; + width: auto; + border:0; + border-radius:0; + box-shadow:none; } .sousbandeau { - display: none !important; + display:none; } body { - background-color: none !important; + background:none; +} + +.imprimer { + display:none; +} + +.casevide { + display:none; +} + +div.cadre div.information { + display:none; +} + +div.cadre td.ok, div.cadre td.non, div.cadre td.somme { + background:none; + border:1px solid black; +} + +div.cadre tr:last-child td { + border:none; +} + +div.cadre tr.ajout_reponse { + display:none; +} + +div.addcomment { + display:none; } \ No newline at end of file diff --git a/studs.php b/studs.php index 0a1ae98..ed7649e 100644 --- a/studs.php +++ b/studs.php @@ -261,9 +261,9 @@ echo ''."\n"; echo '
'."\n"; echo ''; // Todo : add CSRF protection -echo '
'."\n"; +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
(without paying attention to the choices of the other voters) and validate with the plus button at the end of the line.") ."\n"; -echo '

'."\n"; +echo '
'."\n"; // Debut de l'affichage des resultats du sondage echo ''."\n"; @@ -492,7 +492,7 @@ while ($data = $user_studs->FetchNextObject(false)) { // affichage de la ligne pour un nouvel utilisateur if (!isset($_SERVER['REMOTE_USER']) || !$user_mod) { - echo ''."\n"; + echo ''."\n"; echo '
'."\n"; if (isset($_SESSION['nom'])) { $nom = stripslashes($_SESSION['nom']); diff --git a/style.css b/style.css index 52b6cfe..8c4f8f7 100644 --- a/style.css +++ b/style.css @@ -45,7 +45,7 @@ de Studs. */ @import url('./buttons.css'); -@import url('print.css') print; + body { margin:0; background: #F7FAFE; @@ -327,6 +327,10 @@ div.cadre { text-align:center; margin:0 auto; } +/*information au sujet de la participation au sondage*/ +div.cadre div.information { + margin-bottom:20px; +} /*la table des résultats dans l'affichage de sondage*/ div.cadre table.resultats { background-color: white;