source: branches/comu-ver2/data/Smarty/templates/default/admin/products/review_edit.tpl @ 17997

Revision 17997, 4.6 KB checked in by Seasoft, 15 years ago (diff)

BOMによりレンダリングが乱れる不具合を修正。
・テンプレートのBOMを削除

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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="<!--{$tpl_review_id}-->" />
27<input type="hidden" name="pre_status" value="<!--{$tpl_pre_status}-->" />
28<!--{foreach key=key item=item from=$arrReview}-->
29<!--{if $key ne "mode"}-->
30<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
31<!--{/if}-->
32<!--{/foreach}-->
33<!--{foreach key=key item=item from=$arrSearchHidden}-->
34<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
35<!--{/foreach}-->
36<div id="products" class="contents-main">
37
38<!--▼編集テーブルここから-->
39<table>
40  <tr>
41    <th>商品名</th>
42    <td><!--{$arrReview.name|escape}--></td>
43  </tr>
44  <tr>
45    <th>レビュー表示</th>
46    <td>
47      <!--{if $arrErr.status}--><span class="attention"><!--{$arrErr.status}--></span><!--{/if}-->
48      <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}-->
49    </td>
50  </tr>
51  <tr>
52    <th>投稿日</th>
53    <td><!--{$arrReview.create_date|sfDispDBDate}--></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="<!--{$arrReview.reviewer_name|escape}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" size=30>
60    </td>
61  </tr>
62  <tr>
63    <th>ホームページアドレス</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="<!--{$arrReview.reviewer_url|escape}-->" 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=$arrReview.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=$arrReview[$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="<!--{$arrReview.title|escape}-->" 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}-->" ><!--{$arrReview.comment|escape}--></textarea>
98    </td>
99  </tr>
100</table>
101<!--▲編集テーブルここまで-->
102
103<div class="btn">
104  <button type="button" onclick="document.form1.action='./review.php'; fnModeSubmit('search','','');" ><span>検索画面に戻る</span></button>
105  <button type="button" onclick="fnModeSubmit('complete','','');"><span>この内容で登録する</span></button>
106</div>
107</div>
108</form>
Note: See TracBrowser for help on using the repository browser.