source: branches/version-2_5-dev/data/Smarty/templates/admin/products/upload_csv_category.tpl @ 20514

Revision 20514, 3.2 KB checked in by Seasoft, 11 years ago (diff)

#627(ソース整形・ソースコメントの改善)
#628(未使用処理・定義などの削除)

  • 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<!--★★メインコンテンツ★★-->
25<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data" onSubmit="winSubmit('','form1', 'upload', 500, 400)">
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    <p>
31        <span class="attention"><!--{$tpl_errtitle}--><br />
32        <!--{foreach key=key item=item from=$arrCSVErr}-->
33        <!--{$item}-->
34        <!--{if $key != 'blank'}-->
35        [値:<!--{$arrParam[$key]}-->]
36        <!--{/if}-->
37        <br />
38        <!--{/foreach}-->
39        </span>
40    </p>
41    <!--{/if}-->
42
43    <!--▼登録テーブルここから-->
44    <table class="form">
45        <tr>
46            <th>CSVファイル</th>
47            <td>
48                <!--{if $arrErr.csv_file}--><span class="attention"><!--{$arrErr.csv_file}--></span><!--{/if}-->
49                <input type="file" name="csv_file" size="60" class="box60" /><span class="attention"> (1行目タイトル行)</span>
50            </td>
51        </tr>
52        <tr>
53            <th>登録情報</th>
54            <td>
55                <!--{foreach name=title key=key item=item from=$arrTitle}-->
56                <!--{$smarty.foreach.title.iteration}-->項目:<!--{$item}--><br>
57                <!--{/foreach}-->
58            </td>
59        </tr>
60    </table>
61    <!--▲登録テーブルここまで-->
62    <div class="btn-area">
63        <ul>
64            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'csv_upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
65        </ul>
66    </div>
67    <!--{if $arrRowErr}-->
68    <table class="form">
69        <tr>
70            <td>
71                <!--{foreach item=err from=$arrRowErr}-->
72                <span class="attention"><!--{$err}--></span>
73                <!--{/foreach}-->
74            </td>
75        </tr>
76    </table>
77    <!--{/if}-->
78    <!--{if $arrRowResult}-->
79    <table class="form">
80        <tr>
81            <td>
82                <!--{foreach item=result from=$arrRowResult}-->
83                <span><!--{$result}--><br/></span>
84                <!--{/foreach}-->
85            </td>
86        </tr>
87    </table>
88    <!--{/if}-->
89</div>
90</form>
Note: See TracBrowser for help on using the repository browser.