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

Revision 23063, 2.9 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="?" enctype="multipart/form-data">
26    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27    <input type="hidden" name="mode" value="csv_upload" />
28    <div id="products" class="contents-main">
29        <!--{if $tpl_errtitle != ""}-->
30            <div class="message">
31                <span class="attention"><!--{$tpl_errtitle}--></span><br />
32                <!--{foreach key=key item=item from=$arrCSVErr}-->
33                    <span class="attention"><!--{$item}-->
34                    <!--{if $key != 'blank'}-->
35                        [値:<!--{$arrParam[$key]}-->]
36                    <!--{/if}-->
37                    </span><br />
38                <!--{/foreach}-->
39            </div>
40        <!--{/if}-->
41
42        <!--▼登録テーブルここから-->
43        <table>
44            <tr>
45                <th>CSVファイル</th>
46                <td>
47                    <!--{if $arrErr.csv_file}-->
48                        <span class="attention"><!--{$arrErr.csv_file}--></span>
49                    <!--{/if}-->
50                    <input type="file" name="csv_file" size="40" /><span class="attention">(1行目タイトル行)(最大アップロードサイズ:<!--{$max_upload_csv_size}-->)</span>
51                </td>
52            </tr>
53            <tr>
54                <th>登録情報</th>
55                <td>
56                    <!--{foreach name=title key=key item=item from=$arrTitle}-->
57                        <!--{$smarty.foreach.title.iteration}-->項目:<!--{$item}--><br />
58                    <!--{/foreach}-->
59                </td>
60            </tr>
61        </table>
62        <!--▲登録テーブルここまで-->
63        <div class="btn-area">
64            <ul>
65                <li><a class="btn-action" href="javascript:;" onclick="eccube.common.fnFormModeSubmit('form1', 'csv_upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
66            </ul>
67        </div>
68    </div>
69</form>
Note: See TracBrowser for help on using the repository browser.