source: branches/version-2_12-dev/data/Smarty/templates/sphone/products/review.tpl @ 21682

Revision 21682, 4.9 KB checked in by yomoro, 9 years ago (diff)

#1561 お客様の声をスマートフォンに対応させる
スマートフォンのテンプレート上に上記関連一式ごっそり抜けていたので追加、微調整。

  • 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<!--{include file="`$smarty.const.SMARTPHONE_TEMPLATE_REALDIR`popup_header.tpl" subtitle="お客様の声書き込み(入力ページ)"}-->
2<!--{*
3/*
4 * This file is part of EC-CUBE
5 *
6 * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
7 *
8 * http://www.lockon.co.jp/
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23 */
24*}-->
25
26<div id="windowarea">
27    <h2 class="title">お客様の声書き込み</h2>
28    <p class="windowtext">以下の商品について、お客様のご意見、ご感想をどしどしお寄せください。<br />
29        「<span class="attention">※</span>」印は入力必須項目です。<br />
30        ご入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p>
31    <form name="form1" method="post" action="?">
32        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
33        <input type="hidden" name="mode" value="confirm" />
34        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" />
35        <table summary="お客様の声書き込み">
36            <tr>
37                <th>商品名</th>
38                <td><!--{$arrForm.name|h}--></td>
39            </tr>
40            <tr>
41                <th>投稿者名<span class="attention">※</span></th>
42                <td><span class="attention"><!--{$arrErr.reviewer_name}--></span><input type="text" name="reviewer_name" value="<!--{$arrForm.reviewer_name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="投稿者名" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" /></td>
43            </tr>
44            <tr>
45                <th>投稿者URL</th>
46                <td><span class="attention"><!--{$arrErr.reviewer_url}--></span><input type="text" name="reviewer_url" value="<!--{$arrForm.reviewer_url|h}-->" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxHarf text data-role-none"  placeholder="投稿者URL" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" /></td>
47            </tr>
48            <tr>
49                <th>性別</th>
50                <td>
51                    <input type="radio" name="sex" id="man" value="1" <!--{if $arrForm.sex eq 1}--> checked="checked"<!--{/if}--> /><label for="man">男性</label>&nbsp;
52                    <input type="radio" name="sex" id="woman" value="2" <!--{if $arrForm.sex eq 2}--> checked="checked"<!--{/if}--> /><label for="woman">女性</label>
53                </td>
54            </tr>
55            <tr>
56                <th>おすすめレベル<span class="attention">※</span></th>
57                <td>
58                    <span class="attention"><!--{$arrErr.recommend_level}--></span>
59                    <select name="recommend_level" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->">
60                        <option value="" selected="selected">選択してください</option>
61                            <!--{html_options options=$arrRECOMMEND selected=$arrForm.recommend_level}-->
62                    </select>
63                </td>
64            </tr>
65            <tr>
66                <th>タイトル<span class="attention">※</span></th>
67                <td>
68                    <span class="attention"><!--{$arrErr.title}--></span>
69                    <input type="text" name="title" value="<!--{$arrForm.title|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="タイトル" style="<!--{$arrErr.title|sfGetErrorColor}-->" />
70                </td>
71            </tr>
72            <tr>
73                <th>コメント<span class="attention">※</span></th>
74                <td>
75                    <span class="attention"><!--{$arrErr.comment}--></span>
76                    <textarea name="comment" cols="15" rows="10" style="<!--{$arrErr.comment|sfGetErrorColor}-->" class="textarea data-role-none" wrap="hard"><!--{$arrForm.comment|h}--></textarea>
77                </td>
78            </tr>
79        </table>
80        <div class="btn_area">
81                <p><input type="submit" value="次へ" class="btn data-role-none" alt="次へ" name="next" id="next" /></p>
82            </div>
83    </form>
84</div>
85
86<!--{include file="`$smarty.const.SMARTPHONE_TEMPLATE_REALDIR`popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.