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

Revision 19954, 5.2 KB checked in by nanasess, 10 years ago (diff)

#382(管理画面XHTMLに変更)

  • ボタンに return false を付与

#628(未使用処理・定義などの削除)

  • Smarty/templates/admin/sales を削除
  • Property svn:eol-style set to LF
  • 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<form name="form1" id="form1" method="post" action="?">
25    <input type="hidden" name="mode" value="complete" />
26    <input type="hidden" name="review_id" value="<!--{$arrReview.review_id|h}-->" />
27    <!--{foreach key=key item=item from=$arrSearchHidden}-->
28        <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
29    <!--{/foreach}-->
30
31    <div id="products" class="contents-main">
32
33        <!--▼編集テーブルここから-->
34        <table>
35            <tr>
36                <th>商品名</th>
37                <td><!--{$arrReview.name|h}--></td>
38            </tr>
39            <tr>
40                <th>レビュー表示</th>
41                <td>
42                    <!--{if $arrErr.status}--><span class="attention"><!--{$arrErr.status}--></span><!--{/if}-->
43                    <input type="radio" name="status" value="2" <!--{if $arrReview.status eq 2}-->checked<!--{/if}-->>非表示<!--{if $arrReview.status eq 2 && !$tpl_status_change}--><!--{else}--><input type="radio" name="status" value="1" <!--{if $arrReview.status eq 1}-->checked<!--{/if}-->>表示<!--{/if}-->
44                </td>
45            </tr>
46            <tr>
47                <th>投稿日</th>
48                <td><!--{$arrReview.create_date|sfDispDBDate}--></td>
49            </tr>
50            <tr>
51                <th>投稿者名 <span class="attention">*</span></th>
52                <td>
53                    <!--{if $arrErr.reviewer_name}--><span class="attention"><!--{$arrErr.reviewer_name}--></span><!--{/if}-->
54                    <input type="text" class="box60" name="reviewer_name" value="<!--{$arrReview.reviewer_name|h}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" size=30>
55                </td>
56            </tr>
57            <tr>
58                <th>投稿者URL</th>
59                <td>
60                    <!--{if $arrErr.reviewer_url}--><span class="attention"><!--{$arrErr.reviewer_url}--></span><!--{/if}-->
61                    <input type="text" class="box60" name="reviewer_url" maxlength="<!--{$smarty.const.URL_LEN}-->" value="<!--{$arrReview.reviewer_url|h}-->" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" size=30>
62                </td>
63            </tr>
64            <tr>
65                <th>性別</th>
66                <td><!--{html_radios_ex name="sex" options=$arrSex selected=$arrReview.sex}--></td>
67            </tr>
68            <tr>
69                <th>おすすめレベル <span class="attention">*</span></th>
70                <td>
71                    <!--{assign var=key value="recommend_level"}-->
72                    <!--{if $arrErr[$key]}-->
73                    <span class="attention"><!--{$arrErr[$key]}--></span>
74                    <!--{/if}-->
75                    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" >
76                    <option value="" selected="selected">選択してください</option>
77                    <!--{html_options options=$arrRECOMMEND selected=$arrReview[$key]}-->
78                    </select>
79                </td>
80            </tr>
81            <tr>
82                <th>タイトル <span class="attention">*</span></th>
83                <td>
84                    <!--{if $arrErr.title}--><span class="attention"><!--{$arrErr.title}--></span><!--{/if}-->
85                    <input type="text" class="box60" name="title" value="<!--{$arrReview.title|h}-->" style="<!--{$arrErr.title|sfGetErrorColor}-->" size=30><span class="attention">
86                </td>
87            </tr>
88            <tr>
89                <th>コメント <span class="attention">*</span></th>
90                <td>
91                    <!--{if $arrErr.comment}--><span class="attention"><!--{$arrErr.comment}--></span><!--{/if}-->
92                    <textarea name="comment" rows="20" cols="60" class="area60" wrap="soft" style="<!--{$arrErr.comment|sfGetErrorColor}-->" ><!--{$arrReview.comment|h}--></textarea>
93                </td>
94            </tr>
95        </table>
96        <!--▲編集テーブルここまで-->
97
98        <div class="btn-area">
99          <ul>
100            <li><a class="btn-action" href="javascript:;" onclick="document.form1.action='./review.php'; fnModeSubmit('search','',''); return false;" ><span class="btn-prev">検索画面に戻る</span></a></li>
101            <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
102          </ul>
103        </div>
104    </div>
105</form>
Note: See TracBrowser for help on using the repository browser.