diff --git a/ajax_inscr_mobile.php b/ajax_inscr_mobile.php index b3cf0b5..4985af0 100644 --- a/ajax_inscr_mobile.php +++ b/ajax_inscr_mobile.php @@ -83,7 +83,28 @@ switch ($strAction) { require_once $_SERVER['DOCUMENT_ROOT'] . '/php/inc_fx_panier.php'; $strResume = fxShowPanier($recCommandes['no_panier'], 0, 'web', 1, $strLangue); - $strHtml = '
' . $strResume . '
' . $strForm; + // Libelles bilingues du bouton repliable. + $strLblShow = ($strLangue === 'en') ? 'Show transaction' : 'Afficher la transaction'; + $strLblHide = ($strLangue === 'en') ? 'Hide transaction' : 'Masquer la transaction'; + + // Panneau repliable distinct (masque par defaut) : en-tete bleu + encadre + fond teinte, + // pour qu'il ressorte clairement comme une facture et ne se fonde pas dans la page. + $strResumeBlock = + '
' + . '' + . '▸ ' . $strLblShow . '' + . '▾ ' . $strLblHide . '' + . '' + . '
' . $strResume . '
' + . '
' + . ''; + + $strHtml = $strResumeBlock . $strForm; $tabRetour = array('state' => 'ok', 'html' => $strHtml); break;