From 5d53404735b28c51193b12925487e6cca17ca20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sun, 20 Feb 2022 19:31:35 +0100 Subject: [PATCH] fix update link --- src/Jirafeau/a.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Jirafeau/a.php b/src/Jirafeau/a.php index d6916d8..d46ffa6 100644 --- a/src/Jirafeau/a.php +++ b/src/Jirafeau/a.php @@ -103,11 +103,13 @@ define ('T_ARCHIVE_TITLE', "archive_content"); define ('T_ARCHIVE_MIME', "text/kaz_email_archive"); -$periodText = ['minute' => "minute", 'hour' => "heure", 'day' => "jour", 'week' => "semaine", 'month' => "mois", 'quarter' => "trimestre"]; -$periodButton = ['day' => ["🕜", ">1 jour"], +$periodText = ['minute' => "minute", 'hour' => "heure", 'day' => "jour", 'week' => "semaine", 'month' => "mois"]; +// XXX , 'quarter' => "trimestre"]; +$periodButton = ['hour' => ["🕕", ">1 heure"], + 'day' => ["🕜", ">1 jour"], 'week' => ["🕝", "> 1 semaine"], - 'month' => ["🕞", "> 1 mois"], - 'quarter' => ["🕟", "> 1 trimestre"]]; + 'month' => ["🕞", "> 1 mois"]]; +// XXX 'quarter' => ["🕟", "> 1 trimestre"]]; $trackText = ['on' => "oui", 'off' => "non"]; $doLogout = ''; $message = ''; @@ -983,7 +985,7 @@ function ajaxUpdate (period, hash) { getURI ("", {}); } } - xhr.send ("="+period+"&="+hash); + xhr.send ("="+period+"&="+hash); } function rmFile (f) { if (!confirm ("Les suppressions sont definitives. Voulez-vous continuer ?"))