1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | |
---|
25 | <form name="form1" id="form1" method="post" action="?"> |
---|
26 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
27 | <input type="hidden" name="mode" value="edit" /> |
---|
28 | <input type="hidden" name="payment_id" value="<!--{$tpl_payment_id}-->" /> |
---|
29 | <div id="basis" class="contents-main"> |
---|
30 | <div class="btn"> |
---|
31 | <ul> |
---|
32 | <li><a class="btn-action" href="javascript:;" name="subm2" onclick="fnChangeAction('./payment_input.php'); fnModeSubmit('','',''); return false;"> |
---|
33 | <span class="btn-next"><!--{t string="tpl_Add payment method_01"}--></span></a></li> |
---|
34 | </ul> |
---|
35 | </div> |
---|
36 | <table class="list"> |
---|
37 | <col width="5%" /> |
---|
38 | <col width="30%" /> |
---|
39 | <col width="20%" /> |
---|
40 | <col width="20%" /> |
---|
41 | <col width="5%" /> |
---|
42 | <col width="5%" /> |
---|
43 | <col width="15%" /> |
---|
44 | <tr> |
---|
45 | <th class="center"><!--{t string="tpl_ID_01"}--></th> |
---|
46 | <th><!--{t string="tpl_Payment method_01"}--></th> |
---|
47 | <th><!--{t string="tpl_Processing fee ($)_01" escape="none"}--></th> |
---|
48 | <th><!--{t string="tpl_Usage conditions_01"}--></th> |
---|
49 | <th><!--{t string="tpl_Edit_01"}--></th> |
---|
50 | <th><!--{t string="tpl_Remove_01"}--></th> |
---|
51 | <th><!--{t string="tpl_Move_01"}--></th> |
---|
52 | </tr> |
---|
53 | <!--{section name=cnt loop=$arrPaymentListFree}--> |
---|
54 | <tr> |
---|
55 | <td class="center"><!--{$arrPaymentListFree[cnt].payment_id|h}--></td> |
---|
56 | <td class="center"><!--{$arrPaymentListFree[cnt].payment_method|h}--></td> |
---|
57 | <!--{if $arrPaymentListFree[cnt].charge_flg == 2}--> |
---|
58 | <td class="center">-</td> |
---|
59 | <!--{else}--> |
---|
60 | <td class="right"><!--{$arrPaymentListFree[cnt].charge|number_format|h}--></td> |
---|
61 | <!--{/if}--> |
---|
62 | <td class="center"> |
---|
63 | <!--{t string="currency_prefix"}--><!--{if $arrPaymentListFree[cnt].rule_max > 0}--><!--{$arrPaymentListFree[cnt].rule_max|number_format|h}--><!--{else}-->0<!--{/if}--><!--{t string="currency_suffix"}--> |
---|
64 | <!--{if $arrPaymentListFree[cnt].upper_rule > 0}--><!--{t string="-"}--><!--{t string="currency_prefix"}--><!--{$arrPaymentListFree[cnt].upper_rule|number_format|h}--><!--{t string="currency_suffix"}--><!--{elseif $arrPaymentListFree[cnt].upper_rule == "0"}--><!--{else}--><!--{t string="-"}--><!--{t string="tpl_No limit"}--><!--{/if}--></td> |
---|
65 | <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="fnChangeAction('./payment_input.php'); fnModeSubmit('pre_edit', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;"><!--{t string="tpl_Edit_01"}--></a><!--{else}-->-<!--{/if}--></td> |
---|
66 | <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="fnModeSubmit('delete', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;"><!--{t string="tpl_Remove_01"}--></a><!--{else}-->-<!--{/if}--></td> |
---|
67 | <td class="center"> |
---|
68 | <!--{if $smarty.section.cnt.iteration != 1}--> |
---|
69 | <a href="?" onclick="fnModeSubmit('up','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;"><!--{t string="tpl_To top_01"}--></a> |
---|
70 | <!--{/if}--> |
---|
71 | <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}--> |
---|
72 | <a href="?" onclick="fnModeSubmit('down','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;"><!--{t string="tpl_To bottom_01"}--></a> |
---|
73 | <!--{/if}--> |
---|
74 | </td> |
---|
75 | </tr> |
---|
76 | <!--{/section}--> |
---|
77 | </table> |
---|
78 | </div> |
---|
79 | </form> |
---|