source: branches/version-2_12-multilang/data/Smarty/templates/admin/products/review.tpl @ 22134

Revision 22134, 8.6 KB checked in by h_yoshimoto, 9 years ago (diff)

#1890 残りメッセージをいくつか集約

  • 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-2012 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<div id="products" class="contents-main">
26<form name="search_form" method="post" action="?" >
27<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
28<input type="hidden" name="mode" value="search" />
29    <h2><!--{t string="tpl_250"}--></h2>
30
31    <!--検索条件設定テーブルここから-->
32    <table>
33        <tr>
34            <th><!--{t string="tpl_615"}--></th>
35            <td><input type="text" name="search_reviewer_name" value="<!--{$arrForm.search_reviewer_name|h}-->" size="30" class="box30" /></td>
36            <th><!--{t string="tpl_616"}--></th>
37            <td><input type="text" name="search_reviewer_url" value="<!--{$arrForm.search_reviewer_url|h}-->" size="30" class="box30" /></td>
38        </tr>
39        <tr>
40            <th><!--{t string="tpl_189"}--></th>
41            <td><input type="text" name="search_name" value="<!--{$arrForm.search_name|h}-->" size="30" class="box30" /></td>
42            <th><!--{t string="tpl_192"}--></th>
43            <td><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code|h}-->" size="30" class="box30" /></td>
44        </tr>
45        <tr>
46            <th><!--{t string="tpl_215"}--></th>
47            <!--{assign var=key value=search_sex}-->
48            <td><!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key]}--></td>
49            <th><!--{t string="tpl_617"}--></th>
50            <td>
51                <!--{assign var=key value=search_recommend_level}-->
52                <select name="<!--{$key}-->">
53                    <option value="" selected="selected"><!--{t string="tpl_068"}--></option>
54                    <!--{html_options options=$arrRECOMMEND selected=$arrForm[$key].value|h}-->
55                </select>
56            </td>
57        </tr>
58        <tr>
59            <th><!--{t string="tpl_618"}--></th>
60            <td colspan="3">
61                <!--{if $arrErr.search_startyear || $arrErr.search_endyear}-->
62                    <span class="attention"><!--{$arrErr.search_startyear}--></span>
63                    <span class="attention"><!--{$arrErr.search_endyear}--></span>
64                <!--{/if}-->
65                <select name="search_startyear" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
66                    <option value="">----</option>
67                    <!--{html_options options=$arrStartYear selected=$arrForm.search_startyear|h}-->
68                </select>年
69                <select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
70                    <option value="">--</option>
71                    <!--{html_options options=$arrStartMonth selected=$arrForm.search_startmonth|h}-->
72                </select>月
73                <select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
74                    <option value="">--</option>
75                    <!--{html_options options=$arrStartDay selected=$arrForm.search_startday|h}-->
76                </select>日
77                <!--{t string="-"}-->
78                <select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
79                    <option value="">----</option>
80                    <!--{html_options options=$arrEndYear selected=$arrForm.search_endyear|h}-->
81                </select>年
82                <select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
83                    <option value="">--</option>
84                    <!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth|h}-->
85                </select>月
86                <select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
87                    <option value="">--</option>
88                    <!--{html_options options=$arrEndDay selected=$arrForm.search_endday|h}-->
89                </select>日
90            </td>
91        </tr>
92    </table>
93
94    <div class="btn">
95        <p class="page_rows"><!--{t string="tpl_251"}-->
96            <!--{assign var=key value="search_page_max"}-->
97            <!--{if $arrErr[$key]}-->
98                <span class="attention"><!--{$arrErr[$key]}--></span>
99            <!--{/if}-->
100            <!--{t string="record_prefix"}-->
101            <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
102            <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max|h}-->
103            </select>
104            <!--{t string="record_suffix"}-->
105        </p>
106        <div class="btn-area">
107            <ul>
108                <li>
109                    <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_252"}--></span></a></li>
110            </ul>
111        </div>
112    </div>
113</form>
114
115
116<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}-->
117
118<!--★★検索結果一覧★★-->
119<form name="form1" id="form1" method="post" action="?">
120    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
121    <input type="hidden" name="mode" value="search" />
122    <input type="hidden" name="review_id" value="" />
123    <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno|h}-->" />
124    <!--{foreach key=key item=item from=$arrHidden}-->
125        <!--{if $key ne "search_pageno"}-->
126            <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
127        <!--{/if}-->
128    <!--{/foreach}-->
129    <h2><!--{t string="tpl_253"}--></h2>
130    <div class="btn">
131        <!--検索結果数--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}-->
132        <!--{if $smarty.const.ADMIN_MODE == '1'}-->
133            <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span><!--{t string="tpl_327"}--></span></a>
134        <!--{/if}-->
135        <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><span><!--{t string="tpl_254"}--></span></a>
136    </div>
137    <!--{if $arrReview > 0 & $tpl_linemax > 0}-->
138
139        <!--{include file=$tpl_pager}-->
140
141        <!--検索結果表示テーブル-->
142        <table id="products-review-result" class="list">
143            <tr>
144                <th><!--{t string="tpl_618"}--></th>
145                <th><!--{t string="tpl_615"}--></th>
146                <th><!--{t string="tpl_189"}--></th>
147                <th><!--{t string="tpl_617"}--></th>
148                <th><!--{t string="tpl_619"}--></th>
149                <th class="edit"><!--{t string="tpl_003"}--></th>
150                <th class="delete"><!--{t string="tpl_004"}--></th>
151            </tr>
152
153            <!--{section name=cnt loop=$arrReview}-->
154                <tr>
155                    <td><!--{$arrReview[cnt].create_date|h|sfDispDBDate}--></td>
156                    <td><!--{$arrReview[cnt].reviewer_name|h}--></td>
157                    <td><!--{$arrReview[cnt].name|h}--></td>
158                    <!--{assign var=key value="`$arrReview[cnt].recommend_level`"}-->
159                    <td><!--{$arrRECOMMEND[$key]|h}--></td>
160                    <td class="menu"><!--{if $arrReview[cnt].status eq 1}--><!--{t string="tpl_170"}--><!--{elseif $arrReview[cnt].status eq 2}--><!--{t string="tpl_620"}--><!--{/if}--></td>
161                    <td class="menu"><a href="javascript:;" onclick="fnChangeAction('./review_edit.php'); fnModeSubmit('','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;"><!--{t string="tpl_003"}--></a></td>
162                    <td class="menu"><a href="javascript:;" onclick="fnModeSubmit('delete','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;"><!--{t string="tpl_004"}--></a></td>
163                </tr>
164            <!--{/section}-->
165        </table>
166        <!--検索結果表示テーブル-->
167    <!--{/if}-->
168</form>
169<!--{/if}-->
170<!--★★検索結果一覧★★-->
171</div>
Note: See TracBrowser for help on using the repository browser.