{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
</tr>
{if $comment}
<tr>
- <td><b>Commentaire</b>
+ <td><b>Commentaire</b></td>
<td>{$comment}</td>
</tr>
{/if}
</tr>
</table>
<p>
-En cliquant sur "Valider", tu seras redirigé{if $smarty.session.sexe}e{/if} vers le site de {$pay->api->nomsite}, où il te
+En cliquant sur "Valider", tu seras redirigé{if $sex}e{/if} vers le site de {$pay->api->nomsite}, où il te
sera demandé de saisir ton numéro de carte bancaire. Lorsque le paiement aura été effectué, tu
recevras une confirmation par email.
</p>
</script>
<form method="post" action="{$platal->pl_self()}">
- </p>
<table class="bicol">
<tr>
<th colspan="2">Effectuer un télépaiement</th>
<tr>
<td>Transaction</td>
<td>
- {if $asso}
+ {if t($asso)}
<strong>{$pay->text}</strong><input type="hidden" name="ref" value="{$pay->id}" />
{else}
<select name="ref" onchange="payment_submit(this.form)">
- {select_db_table table="`$prefix`paiements" valeur=$pay->id where="WHERE FIND_IN_SET('old',t.flags)=0"
- join="LEFT JOIN groupex.asso AS g ON (t.asso_id = g.id)" group="g.nom"}
+ {select_db_table table="payments" valeur=$pay->id
+ where="WHERE FIND_IN_SET('old', t.flags) = 0"
+ join="LEFT JOIN groups AS g ON (t.asso_id = g.id)" group="g.nom"}
</select>
{/if}
{if $pay->url}
<td>Méthode</td>
<td>
<select name="methode">
- {select_db_table table="paiement.methodes" valeur=$smarty.request.methode}
+ {select_db_table table="payment_methods" valeur=$smarty.request.methode}
</select>
</td>
</tr>
</table>
</form>
-{if $transactions}
+{if t($transactions)}
<p class="descr">Tu as déjà effectué des paiements pour cette transaction :</p>
<table class="bicol">
<tr><th>Date</th><th>Montant</th></tr>
{iterate from=$transactions item=t}
<tr class="{cycle values="pair,impair"}">
<td>{$t.timestamp|date_format}</td>
- <td>{$t.montant|replace:'EUR':'€'}</td>
+ <td>{$t.amount|replace:'EUR':'€'}</td>
</tr>
{/iterate}
</table>