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

Revision 22954, 4.5 KB checked in by Seasoft, 11 years ago (diff)

#2059 (HTML構文誤り for 2.13.0)

  • 閉じ漏れ

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • インデント
  • wordwrap の引数

#2140 (標準テンプレートのカスタマイズ性を高める)

  • インデント
  • 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
26
27<script type="text/javascript">
28<!--
29self.moveTo(20,20);self.focus();
30
31function func_submit( id ){
32    var fm = window.opener.document.form1;
33    var no = escape('<!--{$smarty.get.no|h}-->');
34    fm['recommend_id' + no].value = id;
35    fm.select_recommend_no.value = no;
36    fm.mode.value = 'recommend_select';
37    fm.anchor_key.value = 'recommend_no' + no;
38    fm.submit();
39    window.close();
40    return false;
41}
42//-->
43</script>
44
45<!--▼検索フォーム-->
46<form name="form1" id="form1" method="post" action="#">
47    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
48    <input name="mode" type="hidden" value="search" />
49    <input name="anchor_key" type="hidden" value="" />
50    <input name="search_pageno" type="hidden" value="" />
51    <table>
52        <tr>
53            <th>カテゴリ</th>
54            <td>
55                <select name="search_category_id">
56                    <option value="" selected="selected">選択してください</option>
57                    <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}-->
58                </select>
59            </td>
60        </tr>
61        <tr>
62            <th>商品名</th>
63            <td><input type="text" name="search_name" value="<!--{$arrForm.search_name|h}-->" size="35" class="box35" /></td>
64        </tr>
65    </table>
66    <div class="btn-area">
67        <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next">検索を開始</span></a>
68    </div>
69
70    <!--▼検索結果表示-->
71    <!--{if $tpl_linemax}-->
72        <p><!--{$tpl_linemax}-->件が該当しました。</p>
73        <!--{* ▼ページナビ *}-->
74        <!--{$tpl_strnavi}-->
75        <!--{* ▲ページナビ *}-->
76
77        <!--{* ▼検索後表示部分 *}-->
78        <table class="list">
79            <tr>
80                <th>商品画像</th>
81                <th>商品コード</th>
82                <th>商品名</th>
83                <th>決定</th>
84            </tr>
85            <!--{section name=cnt loop=$arrProducts}-->
86                <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
87                <!--{assign var=status value="`$arrProducts[cnt].status`"}-->
88                <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;">
89                    <td align="center">
90                        <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->" />
91                    </td>
92                    <td>
93                        <!--{$arrProducts[cnt].product_code_min|h}-->
94                        <!--{if $arrProducts[cnt].product_code_min != $arrProducts[cnt].product_code_max}-->
95                            ~ <!--{$arrProducts[cnt].product_code_max|h}-->
96                        <!--{/if}-->
97                    </td>
98                    <td><!--{$arrProducts[cnt].name|h}--></td>
99                    <td align="center"><a href="#" onclick="return func_submit(<!--{$arrProducts[cnt].product_id|h}-->)">決定</a></td>
100                </tr>
101                <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
102                <!--{sectionelse}-->
103                <tr>
104                    <td colspan="4">商品が登録されていません</td>
105                </tr>
106            <!--{/section}-->
107        </table>
108    <!--{/if}-->
109    <!--{* ▲検索結果表示 *}-->
110
111</form>
112
113<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.