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

Revision 20407, 3.6 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

  • transactionid用hiddenタグを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-2010 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<form name="form1" id="form1" method="post" action="?">
25<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
26<input type="hidden" name="mode" value="edit" />
27<input type="hidden" name="payment_id" value="<!--{$tpl_payment_id}-->" />
28<div id="basis" class="contents-main">
29  <div class="btn">
30    <ul>
31        <li>    <a class="btn-action" href="javascript:;" name="subm2" onclick="win03('./payment_input.php','payment_input','620','400');"><span class="btn-next">支払方法を新規入力</span></a>
32</li>
33    </ul>
34  </div>
35  <table class="list">
36    <colgroup width="5%">
37    <colgroup width="30%">
38    <colgroup width="20%">
39    <colgroup width="20%">
40    <colgroup width="5%">
41    <colgroup width="5%">
42    <colgroup width="15%">
43    <tr>
44      <th class="center">ID</th>
45      <th>支払方法</th>
46      <th>手数料(円)</th>
47      <th>利用条件</th>
48      <th>編集</th>
49      <th>削除</th>
50      <th>移動</th>
51    </tr>
52    <!--{section name=cnt loop=$arrPaymentListFree}-->
53    <tr>
54      <td class="center"><!--{$arrPaymentListFree[cnt].payment_id|h}--></td>
55      <td class="center"><!--{$arrPaymentListFree[cnt].payment_method|h}--></td>
56      <!--{if $arrPaymentListFree[cnt].charge_flg == 2}-->
57        <td class="center">-</td>
58      <!--{else}-->
59        <td class="right"><!--{$arrPaymentListFree[cnt].charge|number_format|h}--></td>
60      <!--{/if}-->
61      <td class="center">
62        <!--{if $arrPaymentListFree[cnt].rule > 0}--><!--{$arrPaymentListFree[cnt].rule|number_format|h}--><!--{else}-->0<!--{/if}-->円
63        <!--{if $arrPaymentListFree[cnt].upper_rule > 0}-->~<!--{$arrPaymentListFree[cnt].upper_rule|number_format|h}-->円<!--{elseif $arrPaymentListFree[cnt].upper_rule == "0"}--><!--{else}-->~無制限<!--{/if}--></td>
64      <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="win03('./payment_input.php?mode=pre_edit&amp;payment_id=<!--{$arrPaymentListFree[cnt].payment_id}-->','payment_input','620','400'); return false;">編集</a><!--{else}-->-<!--{/if}--></td>
65      <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="fnModeSubmit('delete', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">削除</a><!--{else}-->-<!--{/if}--></td>
66      <td class="center">
67      <!--{if $smarty.section.cnt.iteration != 1}-->
68      <a href="?" onclick="fnModeSubmit('up','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">上へ</a>
69      <!--{/if}-->
70      <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
71      <a href="?" onclick="fnModeSubmit('down','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">下へ</a>
72      <!--{/if}-->
73      </td>
74    </tr>
75    <!--{/section}-->
76  </table>
77</div>
78</form>
Note: See TracBrowser for help on using the repository browser.