Changeset 18119


Ignore:
Timestamp:
2009/06/16 17:01:46 (15 years ago)
Author:
kajiwara
Message:

#461 detail.tplのサブコメントのsectionの属性値(start)が反映されない不具合を修正

File:
1 edited

Legend:

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

    r17932 r18119  
    230230  <!--▼サブコメントここから--> 
    231231  <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> 
    232   <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> 
     232  <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}--> 
    233233    <!--{if $arrProduct[$key] != ""}--> 
    234234  <div class="subarea"> 
    235235    <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></h3> 
    236     <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.iteration`"}--> 
     236    <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}--> 
    237237 
    238238    <!--拡大写真がある場合ここから--> 
    239     <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> 
    240     <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.iteration`"}--> 
     239    <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}--> 
     240    <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> 
    241241    <!--{if $arrFile[$key].filepath != ""}--> 
    242242    <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br}--></div> 
Note: See TracChangeset for help on using the changeset viewer.