source: branches/version-2_13-dev/data/Smarty/templates/admin/design/up_down.tpl @ 23134

Revision 23134, 3.7 KB checked in by pineray, 11 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
Myページ購入履歴一覧でページングが動作しない不具合に対応。
formにIDが指定されていなかったので特定できなかった。

  • 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<script type="text/javascript"><!--
26function confirmSubmit(mode, msg) {
27    var form = document.form1;
28    form['mode'].value = mode;
29    if (window.confirm(msg)) {
30        form.submit();
31    } else {
32        form['mode'].value = '';
33    }
34}
35//-->
36</script>
37
38<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
39    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
40    <input type="hidden" name="mode" value="" />
41    <input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
42    <div id="disign" class="contents-main">
43        <p class="remark">
44            テンプレートパッケージのアップロードを行います。<br />
45            アップロードしたパッケージは、「テンプレート設定」で選択できるようになります。
46        </p>
47
48        <!--{if $arrErr.err != ""}-->
49            <div class="message">
50                <span class="attention"><!--{$arrErr.err}--></span>
51            </div>
52        <!--{/if}-->
53
54        <table>
55            <!--{assign var=key value="template_code"}-->
56            <tr>
57                <th>テンプレートコード</th>
58                <td>
59                    <span class="attention"><!--{$arrErr[$key]}--></span>
60                    <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" />
61                </td>
62            </tr>
63            <!--{assign var=key value="template_name"}-->
64            <tr>
65                <th>テンプレート名</th>
66                <td>
67                    <span class="attention"><!--{$arrErr[$key]}--></span>
68                    <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" />
69                </td>
70            </tr>
71            <!--{assign var=key value="template_file"}-->
72            <tr>
73                <th>テンプレートファイル<br/>
74                    <span class="attention"><span class="fs14n">※ファイル形式は.tar/.tar.gzのみ</span></span>
75                </th>
76                <td>
77                    <span class="attention"><!--{$arrErr[$key]}--></span>
78                    <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr[$key]}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> />
79                </td>
80            </tr>
81        </table>
82        <div class="btn-area">
83            <a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('upload', '', '');return false;"><span class="btn-next">この内容で登録する</span></a>
84        </div>
85    </div>
86</form>
Note: See TracBrowser for help on using the repository browser.