fix update link

This commit is contained in:
François 2022-02-20 19:31:35 +01:00
parent b56089ca6a
commit 5d53404735

View File

@ -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 ("<?php echo $_SERVER ['SCRIPT_NAME']; ?>", {<?php echo A_SENDER.": '".$sender."', ".A_TOKEN.": '".$token."'"; ?>});
}
}
xhr.send ("<?php echo A_UPDATE; ?>="+period+"&<php ecgo A_HASH; ?>="+hash);
xhr.send ("<?php echo A_UPDATE; ?>="+period+"&<?php echo A_HASH; ?>="+hash);
}
function rmFile (f) {
if (!confirm ("Les suppressions sont definitives. Voulez-vous continuer ?"))