Only uses autoload to require validation classes.
[platal.git] / templates / payment / index.tpl
index be1474c..6c06d63 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>
@@ -114,9 +113,9 @@ function payment_submit(form)
         <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
+          {select_db_table table="payments" 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}