source: branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/search_products.tpl @ 20407

Revision 20407, 2.8 KB checked in by kotani, 10 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<div class="bloc_outer">
23    <div id="search_area">
24    <h2><span class="title"><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_search.gif"alt="検索条件" /></span></h2>
25        <div class="bloc_body">
26        <!--検索フォーム-->
27        <form name="search_form" id="search_form" method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
28            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
29            <dl class="formList">
30                <dt>商品カテゴリから選ぶ</dt>
31                <dd><input type="hidden" name="mode" value="search" />
32                <select name="category_id" class="box145">
33                    <option label="すべての商品" value="">全ての商品</option>
34                    <!--{html_options options=$arrCatList selected=$category_id}-->
35                </select>
36                </dd>
37            </dl>
38            <dl class="formList">
39                <!--{if $arrMakerList}-->
40                <dt>メーカーから選ぶ</dt>
41                <dd><select name="maker_id" class="box145">
42                    <option label="すべてのメーカー" value="">すべてのメーカー</option>
43                    <!--{html_options options=$arrMakerList selected=$maker_id}-->
44                </select>
45                </dd>
46            </dl>
47            <dl class="formList">
48                <!--{/if}-->
49                <dt>商品名を入力</dt>
50                <dd><input type="text" name="name" class="box140" maxlength="50" value="<!--{$smarty.get.name|h}-->" /></dd>
51            </dl>
52            <p class="btn"><input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_search_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_search.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_search.jpg" alt="検索" name="search" /></p>
53            </form>
54        </div>
55    </div>
56</div>
Note: See TracBrowser for help on using the repository browser.