From 200e4e873a85cc0d81c2a9f8f5fef0db3af4341c Mon Sep 17 00:00:00 2001 From: engel <> Date: Fri, 22 Dec 2023 16:46:26 +0000 Subject: [PATCH] =?UTF-8?q?ouvrir=20le=20squelette=20des=20re=C3=A7us=20da?= =?UTF-8?q?ns=20un=20nouvel=20onglet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: 3e66518b5401430c99f84a760e926cc7e4e601918416a3e10d884c9b66672eb5 --- admin/generer_recus.php | 4 ++++ templates/versements_activites.tpl | 2 +- templates/versements_personnes.tpl | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/admin/generer_recus.php b/admin/generer_recus.php index 8ca63d7..7543b2f 100644 --- a/admin/generer_recus.php +++ b/admin/generer_recus.php @@ -10,6 +10,10 @@ use Paheko\UserTemplate\UserTemplate; use Paheko\Plugin\RecusFiscaux\Utils; use Paheko\Plugin\RecusFiscaux\Personne; +// forcer mode dialog pour ouvrir le squelette des reçus dans un nouvel onglet +// à combiner avec target="_blank" ou target="_dialog" dans le fichier tpl +$_GET['_dialog'] = true; + // signature $signature = (null !== $plugin->getConfig('signature')) ? diff --git a/templates/versements_activites.tpl b/templates/versements_activites.tpl index fb7c370..affb6b1 100644 --- a/templates/versements_activites.tpl +++ b/templates/versements_activites.tpl @@ -23,7 +23,7 @@ onclick="return verifierChoix(this.form)"} -