Ignore:
Timestamp:
2010/02/01 12:52:38 (14 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20100201034421-94iy72ax1bexmnnv
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/default/admin/contents/inquiry.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fcontents%2Finquiry.tpl
data/class/pages/admin/contents/LC_Page_Admin_Contents_Inquiry.php 15662@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fadmin%2Fcontents%2FLC_Page_Admin_Contents_Inquiry.php
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20100201035235-qiffrxrmlg6caavg
bzr:revno:
1890
bzr:revprop:branch-nick:
branches/version-2_4
bzr:root:
branches/version-2_4
bzr:text-parents:

data/Smarty/templates/default/admin/contents/inquiry.tpl svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16761
data/class/pages/admin/contents/LC_Page_Admin_Contents_Inquiry.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_4:17845
bzr:timestamp:
2010-02-01 12:52:35.042999983 +0900
bzr:user-agent:
bzr2.0.3+bzr-svn1.0.1
svn:original-date:
2010-02-01T03:52:35.043000Z
Message:

merged r18468:18470

  • [アンケート管理]チェックボックスの回答に同じ回答を登録した場合に不具合となる場合がある(#535)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/Smarty/templates/default/admin/contents/inquiry.tpl

    r16761 r18519  
    145145                            </tr>        
    146146                            <!--{section name=question loop=$cnt_question}--> 
     147              <!--{assign var=index value=$smarty.section.question.index}--> 
    147148                            <tr class="fs12n"> 
    148149                                <td width="140" bgcolor="#f2f1ec">質問<!--{$smarty.section.question.iteration}--><!--{if $smarty.section.question.iteration eq 1}--><span class="red">*</span><!--{/if}--></td> 
    149150                                <td width="637" bgcolor="#ffffff"> 
    150                                 <input type="text" name="question[<!--{$smarty.section.question.index}-->][name]" size="70" class="box70" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].name|escape}-->" <!--{if $ERROR.question[$smarty.section.question.index].name}--><!--{sfSetErrorStyle}--><!--{/if}-->> 
    151                                 <!--{if $ERROR.question[$smarty.section.question.index].name}--><br><span class="red"><!--{$ERROR.question[$smarty.section.question.index].name}--></span><!--{/if}--> 
     151                                <input type="text" name="question[<!--{$index}-->][name]" size="70" class="box70" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$index].name|escape}-->" <!--{if $ERROR.question[$index].name}--><!--{sfSetErrorStyle}--><!--{/if}-->> 
     152                                <!--{if $ERROR.question[$index].name}--><br><span class="red"><!--{$ERROR.question[$index].name}--></span><!--{/if}--> 
    152153                                </td> 
    153154                            </tr> 
    154155                            <tr class="fs12n" bgcolor="#ffffff"> 
    155156                                <td colspan="2"> 
    156                                 <span style=background-color:"<!--{$ERROR_COLOR.question[$smarty.section.question.index].kind}-->"> 
    157                                 <!--{html_radios_ex onClick="func_disp(`$smarty.section.question.index`)" name="question[`$smarty.section.question.index`][kind]" options="$arrQuestion" selected="`$smarty.post.question[$smarty.section.question.index].kind`"}--> 
     157                                <span style=background-color:"<!--{$ERROR_COLOR.question[$index].kind}-->"> 
     158                                <!--{html_radios_ex onClick="func_disp(`$index`)" name="question[`$index`][kind]" options="$arrQuestion" selected="`$smarty.post.question[$index].kind`"}--> 
    158159                                </span> 
    159                                 <!--{if $ERROR.question[$smarty.section.question.index].kind}--><br><span class="red"><!--{$ERROR.question[$smarty.section.question.index].kind}--></span><!--{/if}--> 
    160                                 </td> 
    161                             </tr> 
     160                                <!--{if $ERROR.question[$index].kind}--><br><span class="red"><!--{$ERROR.question[$index].kind}--></span><!--{/if}--> 
     161                                </td> 
     162                            </tr> 
     163              <!--{** 回答 **}--> 
    162164                            <tr class="fs12n" bgcolor="#ffffff"><td colspan="2"> 
    163                                 <table id="TD<!--{$smarty.section.question.index}-->"> 
    164                                 <tr class="fs12n" bgcolor="#ffffff"> 
    165                                     <td colspan="2">1 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][0]" size="40" class="box40" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.0|escape}-->" <!--{if $ERROR.question[$smarty.section.question.index].kind}--><!--{sfSetErrorStyle}--><!--{/if}-->> 2 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][1]" size="40" class="box40" value="<!--{$smarty.post.question[$smarty.section.question.index].option.1|escape}-->" <!--{if $ERROR.question[$smarty.section.question.index].kind}--><!--{sfSetErrorStyle}--><!--{/if}-->></td> 
    166                                 </tr> 
    167                                 <tr class="fs12n" bgcolor="#ffffff"> 
    168                                     <td colspan="2">3 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][2]" size="40" class="box40" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.2|escape}-->"> 4 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][3]" size="40" class="box40" value="<!--{$smarty.post.question[$smarty.section.question.index].option.3|escape}-->"></td> 
    169                                 </tr> 
    170                                 <tr class="fs12n" bgcolor="#ffffff"> 
    171                                     <td colspan="2">5 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][4]" size="40" class="box40" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.4|escape}-->"> 6 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][5]" size="40" class="box40" value="<!--{$smarty.post.question[$smarty.section.question.index].option.5|escape}-->"></td> 
    172                                 </tr> 
    173                                 <tr class="fs12n" bgcolor="#ffffff"> 
    174                                     <td colspan="2">7 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][6]" size="40" class="box40" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.6|escape}-->"> 8 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][7]" size="40" class="box40" value="<!--{$smarty.post.question[$smarty.section.question.index].option.7|escape}-->"></td> 
    175                                 </tr> 
     165                                <table id="TD<!--{$index}-->"> 
     166                              <!--{section name=option loop=4 start=0 max=7}--> 
     167                                  <tr class="fs12n" bgcolor="#ffffff"> 
     168                                    <td colspan="2"> 
     169                      <!--{assign var=option_index1 value=$smarty.section.option.index*2}--> 
     170                      <!--{assign var=option_index2 value=$option_index1+1}--> 
     171                      <!--{assign var=num1 value=$option_index1+1}--> 
     172                      <!--{assign var=num2 value=$option_index2+1}--> 
     173                      <!--{** 回答エラー **}--> 
     174                      <!--{assign var=error1 value=$ERROR.question[$index].option[$option_index1]}--> 
     175                                      <!--{if $error1}--><span class="red"><!--{$error1}--></span><br /><!--{/if}--> 
     176                      <!--{assign var=error2 value=$ERROR.question[$index].option[$option_index2]}--> 
     177                                      <!--{if $error2}--><span class="red"><!--{$error2}--></span><br /><!--{/if}--> 
     178                      <!--{** 回答フォーム **}--> 
     179                      <!--{$num1}--> <input type="text" name="question[<!--{$index}-->][option][<!--{$option_index1}-->]" size="40" class="box40" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$index].option[$option_index1]|escape}-->" <!--{if $error1}--><!--{sfSetErrorStyle}--><!--{/if}-->>  
     180                      <!--{$num2}--> <input type="text" name="question[<!--{$index}-->][option][<!--{$option_index2}-->]" size="40" class="box40" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$index].option[$option_index2]|escape}-->" <!--{if $error2}--><!--{sfSetErrorStyle}--><!--{/if}-->> 
     181                    </td> 
     182                                  </tr> 
     183                <!--{/section}--> 
    176184                                </table> 
    177185                            </td></tr> 
Note: See TracChangeset for help on using the changeset viewer.