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

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