From 741d92e9db12265bad449025eaad43b1cd24419d Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Wed, 17 Nov 2010 13:15:34 +0100 Subject: [PATCH] Goes to the payment that was sorted. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/payment.php | 1 + templates/payment/xnet.tpl | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/modules/payment.php b/modules/payment.php index 014bf70..f6669bd 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -522,6 +522,7 @@ class PaymentModule extends PLModule } $page->assign('order_id', $order_id); $page->assign('order', $order); + $page->assign('anchor', 'legend_' . $order_id); } else { $order_id = false; $ordering = ''; diff --git a/templates/payment/xnet.tpl b/templates/payment/xnet.tpl index 0d82b54..635e4d1 100644 --- a/templates/payment/xnet.tpl +++ b/templates/payment/xnet.tpl @@ -20,6 +20,20 @@ {* *} {**************************************************************************} +{if t($anchor)} +{literal} + +{/literal} +{/if} +

{$asso->nom} : Gestion des télépaiements

@@ -29,7 +43,7 @@ Voici la liste des paiements en ligne possible pour le groupe {$asso->nom}  {foreach from=$titles item=p}

-{icon name=money title="Télépaiement"}{$p.text} +{icon name=money title="Télépaiement"}{$p.text} {if $event[$p.id]} {assign var='ev' value=$event[$p.id]} -- 2.1.4