source: branches/version-2_13-dev/data/Smarty/templates/admin/basis/payment.tpl @ 23063

Revision 23063, 4.2 KB checked in by pineray, 11 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
フォーム関連.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2013 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="eccube.common.changeAction('./payment_input.php'); eccube.common.setModeAndSubmit('','',''); return false;">
33                    <span class="btn-next">支払方法を新規入力</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">ID</th>
46                <th>支払方法</th>
47                <th>手数料(円)</th>
48                <th>利用条件</th>
49                <th>編集</th>
50                <th>削除</th>
51                <th>移動</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                    <!--{if $arrPaymentListFree[cnt].rule_max > 0}--><!--{$arrPaymentListFree[cnt].rule_max|number_format|h}--><!--{else}-->0<!--{/if}-->円
64                    <!--{if $arrPaymentListFree[cnt].upper_rule > 0}-->~<!--{$arrPaymentListFree[cnt].upper_rule|number_format|h}-->円<!--{elseif $arrPaymentListFree[cnt].upper_rule == "0"}--><!--{else}-->~無制限<!--{/if}--></td>
65                <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="eccube.common.changeAction('./payment_input.php'); eccube.common.setModeAndSubmit('pre_edit', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">編集</a><!--{else}-->-<!--{/if}--></td>
66                <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="eccube.common.setModeAndSubmit('delete', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">削除</a><!--{else}-->-<!--{/if}--></td>
67                <td class="center">
68                <!--{if $smarty.section.cnt.iteration != 1}-->
69                <a href="?" onclick="eccube.common.setModeAndSubmit('up','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">上へ</a>
70                <!--{/if}-->
71                <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
72                <a href="?" onclick="eccube.common.setModeAndSubmit('down','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">下へ</a>
73                <!--{/if}-->
74                </td>
75            </tr>
76            <!--{/section}-->
77        </table>
78    </div>
79</form>
Note: See TracBrowser for help on using the repository browser.