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

Revision 19954, 4.6 KB checked in by nanasess, 10 years ago (diff)

#382(管理画面XHTMLに変更)

  • ボタンに return false を付与

#628(未使用処理・定義などの削除)

  • Smarty/templates/admin/sales を削除
  • Property svn:eol-style set to LF
  • 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
25
26<script type="text/javascript">
27<!--
28self.moveTo(20,20);self.focus();
29//-->
30</script>
31
32<form name="form1" id="form1" method="post" action="" enctype="multipart/form-data">
33<input type="hidden" name="mode" value="edit" />
34<input type="hidden" name="payment_id" value="<!--{$tpl_payment_id}-->" />
35<input type="hidden" name="image_key" value="" />
36<input type="hidden" name="fix" value="<!--{$arrForm.fix.value}-->" />
37<!--{foreach key=key item=item from=$arrHidden}-->
38<input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
39<!--{/foreach}-->
40<input type="hidden" name="charge_flg" value="<!--{$charge_flg}-->" />
41  <h2>支払方法登録・編集</h2>
42 
43    <table class="form">
44      <tr>
45        <th>支払方法<span class="attention"> *</span></th>
46        <td>
47          <!--{assign var=key value="payment_method"}-->
48          <span class="attention"><!--{$arrErr[$key]}--></span>
49          <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
50        </td>
51      </tr>
52      <tr>
53        <th>手数料<span class="attention"> *</span></th>
54        <td>
55          <!--{if $charge_flg == 2}-->
56          設定できません
57          <!--{else}-->
58          <!--{assign var=key value="charge"}-->
59          <span class="attention"><!--{$arrErr[$key]}--></span>
60          <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
61           円
62          <!--{/if}-->
63        </td>
64      </tr>
65      <tr>
66        <th>利用条件(円)</th>
67        <td>
68          <!--{assign var=key_from value="rule"}-->
69          <!--{assign var=key_to value="upper_rule"}-->
70          <span class="attention"><!--{$arrErr[$key_from]}--></span>
71          <span class="attention"><!--{$arrErr[$key_to]}--></span>
72          <input type="text" name="<!--{$arrForm[$key_from].keyname}-->" value="<!--{$arrForm[$key_from].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key_from].length}-->" style="<!--{$arrErr[$key_from]|sfGetErrorColor}-->" />
73           円
74           ~
75          <input type="text" name="<!--{$arrForm[$key_to].keyname}-->" value="<!--{$arrForm[$key_to].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key_to].length}-->" style="<!--{$arrErr[$key_to]|sfGetErrorColor}-->" />
76           円
77        </td>
78      </tr>
79      <tr>
80        <th>ロゴ画像</th>
81        <td>
82          <!--{assign var=key value="payment_image"}-->
83          <span class="attention"><!--{$arrErr[$key]}--></span>
84          <!--{if $arrFile[$key].filepath != ""}-->
85          <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->"> <a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
86          <!--{/if}-->
87          <input type="file" name="<!--{$key}-->" size="25" class="box25" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
88          <a class="btn-normal" href="javascript:;" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
89        </td>
90      </tr>
91    </table>
92 
93  <div class="btn-area">
94    <ul>
95      <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
96    </ul>
97  </div>
98 
99</div>
100</form>
101
102<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.