- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/Smarty/templates/default/inquiry/inquiry.tpl
r16583 r18609 1 <!--{*2 * This file is part of EC-CUBE3 *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/or9 * modify it under the terms of the GNU General Public License10 * as published by the Free Software Foundation; either version 211 * 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 of15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16 * GNU General Public License for more details.17 *18 * You should have received a copy of the GNU General Public License19 * along with this program; if not, write to the Free Software20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.21 *}-->22 1 <!--{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 2 <!--{if $QUESTION.question[question].kind }--> 3 <tr> 4 <th>質問<!--{$smarty.section.question.iteration}-->:<!--{$QUESTION.question[question].name|escape}--></th> 5 </tr> 6 <!--{if $QUESTION.question[question].kind eq 1}--> 7 <tr> 8 <td> 9 <textarea name="option[<!--{$smarty.section.question.index}-->]" cols="55" rows="8" class="area55" <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.option[$smarty.section.question.index]|escape}--></textarea> 10 <!--{if $arrErr.option[$smarty.section.question.index]}--><br /><span class="attention">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}--> 11 </td> 12 </tr> 13 <!--{elseif $QUESTION.question[question].kind eq 2}--> 14 <tr> 15 <td> 16 <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}--> /> 17 <!--{if $arrErr.option[$smarty.section.question.index]}--><br /><span class="attention">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}--> 18 </td> 19 </tr> 20 <!--{elseif $QUESTION.question[question].kind eq 3}--> 21 <tr> 22 <td> 23 <input type="hidden" name="option[<!--{$smarty.section.question.index}-->][0]" value="" /> 24 <span <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->> 25 <!--{html_checkboxes name="option[`$smarty.section.question.index`]" options=$QUESTION.question[question].option selected=$arrForm.option[question] separator="<br />"}--> 26 </span> 27 <!--{if $arrErr.option[$smarty.section.question.index]}--><br /><span class="attention">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}--> 28 </td> 29 </tr> 30 <!--{elseif $QUESTION.question[question].kind eq 4}--> 31 <tr> 32 <td> 33 <input type="hidden" name="option[<!--{$smarty.section.question.index}-->][0]" value="" /> 34 <span <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->> 35 <!--{html_radios name="option[`$smarty.section.question.index`]" options=$QUESTION.question[question].option selected=$arrForm.option[question] separator="<br />"}--> 36 </span> 37 <!--{if $arrErr.option[$smarty.section.question.index]}--><br /><span class="attention">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}--> 38 </td> 39 </tr> 40 <!--{/if}--> 41 <!--{/if}--> 80 42 <!--{/section}-->
Note: See TracChangeset
for help on using the changeset viewer.