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

Revision 22121, 8.5 KB checked in by h_yoshimoto, 10 years ago (diff)

#1890 管理画面テンプレートのメッセージを集約(ダミーID)

  • 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                <select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
78                    <option value="">----</option>
79                    <!--{html_options options=$arrEndYear selected=$arrForm.search_endyear|h}-->
80                </select>年
81                <select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
82                    <option value="">--</option>
83                    <!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth|h}-->
84                </select>月
85                <select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
86                    <option value="">--</option>
87                    <!--{html_options options=$arrEndDay selected=$arrForm.search_endday|h}-->
88                </select>日
89            </td>
90        </tr>
91    </table>
92
93    <div class="btn">
94        <p class="page_rows"><!--{t string="tpl_251"}-->
95        <!--{assign var=key value="search_page_max"}-->
96        <!--{if $arrErr[$key]}-->
97            <span class="attention"><!--{$arrErr[$key]}--></span>
98        <!--{/if}-->
99        <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
100        <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max|h}-->
101        </select> 件</p>
102        <div class="btn-area">
103            <ul>
104                <li>
105                    <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_252"}--></span></a></li>
106            </ul>
107        </div>
108    </div>
109</form>
110
111
112<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}-->
113
114<!--★★検索結果一覧★★-->
115<form name="form1" id="form1" method="post" action="?">
116    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
117    <input type="hidden" name="mode" value="search" />
118    <input type="hidden" name="review_id" value="" />
119    <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno|h}-->" />
120    <!--{foreach key=key item=item from=$arrHidden}-->
121        <!--{if $key ne "search_pageno"}-->
122            <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
123        <!--{/if}-->
124    <!--{/foreach}-->
125    <h2><!--{t string="tpl_253"}--></h2>
126    <div class="btn">
127        <!--検索結果数--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}-->
128        <!--{if $smarty.const.ADMIN_MODE == '1'}-->
129            <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span><!--{t string="tpl_327"}--></span></a>
130        <!--{/if}-->
131        <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><span><!--{t string="tpl_254"}--></span></a>
132    </div>
133    <!--{if $arrReview > 0 & $tpl_linemax > 0}-->
134
135        <!--{include file=$tpl_pager}-->
136
137        <!--検索結果表示テーブル-->
138        <table id="products-review-result" class="list">
139            <tr>
140                <th><!--{t string="tpl_618"}--></th>
141                <th><!--{t string="tpl_615"}--></th>
142                <th><!--{t string="tpl_189"}--></th>
143                <th><!--{t string="tpl_617"}--></th>
144                <th><!--{t string="tpl_619"}--></th>
145                <th class="edit"><!--{t string="tpl_003"}--></th>
146                <th class="delete"><!--{t string="tpl_004"}--></th>
147            </tr>
148
149            <!--{section name=cnt loop=$arrReview}-->
150                <tr>
151                    <td><!--{$arrReview[cnt].create_date|h|sfDispDBDate}--></td>
152                    <td><!--{$arrReview[cnt].reviewer_name|h}--></td>
153                    <td><!--{$arrReview[cnt].name|h}--></td>
154                    <!--{assign var=key value="`$arrReview[cnt].recommend_level`"}-->
155                    <td><!--{$arrRECOMMEND[$key]|h}--></td>
156                    <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>
157                    <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>
158                    <td class="menu"><a href="javascript:;" onclick="fnModeSubmit('delete','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;"><!--{t string="tpl_004"}--></a></td>
159                </tr>
160            <!--{/section}-->
161        </table>
162        <!--検索結果表示テーブル-->
163    <!--{/if}-->
164</form>
165<!--{/if}-->
166<!--★★検索結果一覧★★-->
167</div>
Note: See TracBrowser for help on using the repository browser.