source: branches/feature-module-update/data/Smarty/templates/default/inquiry/inquiry.tpl @ 16583

Revision 16583, 4.4 KB checked in by nanasess, 16 years ago (diff)

typo fix

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<!--{section name=question loop=$QUESTION.question}-->
23    <!--{if $QUESTION.question[question].kind }-->
24        <tr>
25            <td colspan="2" bgcolor="#edf6ff" class="fs12n">質問<!--{$smarty.section.question.iteration}-->:<!--{$QUESTION.question[question].name|escape}--></td>
26        </tr>
27        <!--{if $QUESTION.question[question].kind eq 1}-->
28        <tr>
29            <td colspan="2" bgcolor="ffffff" class="fs12n">
30            <textarea name="option[<!--{$smarty.section.question.index}-->]" cols="55" rows="8" class="area55" wrap="physical" <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.option[$smarty.section.question.index]|escape}--></textarea>
31            <!--{if $arrErr.option[$smarty.section.question.index]}--><br><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}-->
32            </td>
33        </tr>
34        <!--{elseif $QUESTION.question[question].kind eq 2}-->
35        <tr>
36            <td colspan="2" bgcolor="ffffff" class="fs12n">
37            <input type="text" name="option[<!--{$smarty.section.question.index}-->]" size="55" class="box50" value="<!--{$arrForm.option[$smarty.section.question.index]|escape}-->" <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->>
38            <!--{if $arrErr.option[$smarty.section.question.index]}--><br><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}-->
39            </td>
40            </tr>
41        <!--{elseif $QUESTION.question[question].kind eq 3}-->
42        <tr>
43            <td colspan="2" bgcolor="ffffff">
44            <table width="540" border="0" cellspacing="0" cellpadding="3" summary=" ">
45                <input type="hidden" name="option[<!--{$smarty.section.question.index}-->][0]" value="">
46                <tr><td class="fs12n">
47                    <span  <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->>
48                    <!--{html_checkboxes name="option[`$smarty.section.question.index`]" options=$QUESTION.question[question].option selected=$arrForm.option[question] separator="<br>"}-->
49                    </span>
50                    </td>
51                </tr>
52                <!--{if $arrErr.option[$smarty.section.question.index]}--><tr><td class="fs12n"><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn></td></tr><!--{/if}-->
53                </table>
54            </td>
55        </tr>
56        <!--{elseif $QUESTION.question[question].kind eq 4}-->
57        <tr>
58            <td colspan="2" bgcolor="ffffff">
59            <input type="hidden" name="option[<!--{$smarty.section.question.index}-->][0]" value="">
60            <table width="540" border="0" cellspacing="0" cellpadding="3" summary=" ">
61                <!--{section name=sub loop=$QUESTION.question[question].option}-->
62                    <!--{if $smarty.section.sub.index is even}--><tr><!--{/if}-->
63                    <td width="270" class="fs12n">
64                        <span  <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->>
65                        <!--{if $QUESTION.question[question].option[sub]}-->
66                        <input type="radio" name="option[<!--{$smarty.section.question.index}-->]" value="<!--{$smarty.section.sub.index|escape}-->" <!--{if $smarty.section.sub.index eq $arrForm.option[question]|default:"-1" }-->checked<!--{/if}-->>
67                        <!--{$QUESTION.question[question].option[sub]|escape}-->
68                        <!--{/if}-->
69                        </span>
70                    </td>
71                    <!--{if $smarty.section.sub.index is odd}--></tr><!--{/if}-->
72                <!--{/section}-->
73                <!--{if $arrErr.option[$smarty.section.question.index]}--><tr><td class="fs12n"><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn></tr><!--{/if}-->
74            </table>
75            </td>
76        </tr>
77        <!--{/if}-->
78    <!--{/if}-->
79   
80<!--{/section}-->
Note: See TracBrowser for help on using the repository browser.