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

Revision 20514, 5.2 KB checked in by Seasoft, 11 years ago (diff)

#627(ソース整形・ソースコメントの改善)
#628(未使用処理・定義などの削除)

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