diff --git a/adminstuds.php b/adminstuds.php index 1af9393..3c3f017 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -84,7 +84,7 @@ function send_mail_admin() { global $email_admin; global $poll_title; global $numsondageadmin; - global $smtp_allowed; + global $smtp_allowed; if($smtp_allowed==true){ if(!isset($_SESSION["mail_admin_sent"])) { Utils::sendEmail( $email_admin, @@ -839,11 +839,11 @@ if (substr($dsondage->format, 0, 1)=="D") { // Current date $current = $toutsujet[$i];//format date@hour. ex : 2020292820@10:00 - $horoCur = explode("@",$current); //horoCur[0] = date, horoCur[1] = hour - if (isset($toutsujet[$i+1])){ - $next = $toutsujet[$i+1]; - $horoNext = explode("@",$next); - } + $horoCur = explode("@",$current); //horoCur[0] = date, horoCur[1] = hour + if (isset($toutsujet[$i+1])){ + $next = $toutsujet[$i+1]; + $horoNext = explode("@",$next); + } $border[$i] = false; $radio_title[$i] = strftime($date_format['txt_short'],$horoCur[0]); @@ -1169,6 +1169,7 @@ echo $tr_addition.' if ($compteursujet == 1) { echo ' +
' . _("The best choice at this time is:") . '
' . $meilleursujet . ' @@ -1176,6 +1177,7 @@ if ($compteursujet == 1) {' . _("The bests choices at this time are:") . '
' . $meilleursujet . ' diff --git a/css/style.css b/css/style.css index f22af14..f3bb307 100644 --- a/css/style.css +++ b/css/style.css @@ -156,8 +156,13 @@ caption { /* Tableau du sondage */ #tableContainer { + overflow-x:hidden; + margin:5px auto; +} + +#tableContainer:focus, +#tableContainer:hover { overflow-x:auto; - margin:20px auto; } table.results { diff --git a/js/core.js b/js/core.js index f371c6a..dd4a4aa 100644 --- a/js/core.js +++ b/js/core.js @@ -103,7 +103,7 @@ $(document).ready(function() { // HTML code of the new hour var new_hour_html = - '' . _("The best choice at this time is:") . '
' . $meilleursujet . ' @@ -652,6 +653,7 @@ if ($compteursujet == 1) {' . _("The bests choices at this time are:") . '
' . $meilleursujet . '