From 3c76fc038c33cbbcdb59ced0ce2e58e0983b43eb Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 6 Jun 2018 00:15:07 +0200 Subject: [PATCH] Fix colore box promemoria scaduti --- modules/dashboard/ajaxreq.php | 4 ++-- modules/dashboard/edit.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/dashboard/ajaxreq.php b/modules/dashboard/ajaxreq.php index 4d498f783..91e72a186 100644 --- a/modules/dashboard/ajaxreq.php +++ b/modules/dashboard/ajaxreq.php @@ -151,7 +151,7 @@ switch (get('op')) { foreach ($rsp as $r) { if($r['mese']==$mese){ - if(date('dmY', strtotime($r['data_richiesta']))Non ci sono interventi da pianificare per questo mese'; + echo '
'.tr('Non ci sono interventi da pianificare per questo mese').''; } break; diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index 754089f68..1fa449578 100644 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -309,7 +309,7 @@ if (!empty($rsp)) { $rsp_old = $dbo->fetchNum($qp_old); if ($rsp_old > 0) { - echo ''; + echo ''; } $mesi = [1 => 'Gennaio', 2 => 'Febbraio', 3 => 'Marzo', 4 => 'Aprile', 5 => 'Maggio', 6 => 'Giugno', 7 => 'Luglio', 8 => 'Agosto', 9 => 'Settembre', 10 => 'Ottobre', 11 => 'Novembre', 12 => 'Dicembre'];