more HTML validation fixes
[platal.git] / templates / payment / index.tpl
index a8c3a8d..9f0bad6 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -102,7 +102,6 @@ function payment_submit(form)
 </script>
 
 <form method="post" action="{$platal->pl_self()}">
-  </p>
   <table class="bicol">
     <tr>
       <th colspan="2">Effectuer un télépaiement</th>
@@ -116,7 +115,7 @@ function payment_submit(form)
         <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"}
+                           join="LEFT JOIN groups AS g ON (t.asso_id = g.id)" group="g.nom"}
         </select>
         {/if}
         {if $pay->url}
@@ -129,7 +128,7 @@ function payment_submit(form)
       <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>
@@ -158,7 +157,7 @@ function payment_submit(form)
 {iterate from=$transactions item=t}
   <tr class="{cycle values="pair,impair"}">
     <td>{$t.timestamp|date_format}</td>
-    <td>{$t.montant|replace:'EUR':'&euro;'}</td>
+    <td>{$t.amount|replace:'EUR':'&euro;'}</td>
   </tr>
 {/iterate}
 </table>