Changeset 22579


Ignore:
Timestamp:
2013/02/21 20:03:56 (11 years ago)
Author:
shutta
Message:

#2158 (現在のカゴの「画像がありません」の商品写真を押すと空白ページにジャンプする)
画像なしの場合は、アンカータグで囲わないように修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/default/cart/index.tpl

    r22561 r22579  
    115115                                    </td> 
    116116                                    <td class="alignC"> 
    117                                     <a class="<!--{if $item.productsClass.main_image|strlen >= 1}-->expansion<!--{/if}-->" target="_blank" 
    118                                             <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH|h}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" 
    119                                             <!--{/if}--> 
    120                                             > 
    121                                             <img src="<!--{$smarty.const.ROOT_URLPATH|h}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /> 
     117                                    <!--{if $item.productsClass.main_image|strlen >= 1}--> 
     118                                        <a class="expansion" target="_blank" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH|h}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"> 
     119                                    <!--{/if}--> 
     120                                    <img src="<!--{$smarty.const.ROOT_URLPATH|h}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /> 
     121                                    <!--{if $item.productsClass.main_image|strlen >= 1}--> 
    122122                                        </a> 
     123                                    <!--{/if}--> 
    123124                                    </td> 
    124125                                    <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong> 
Note: See TracChangeset for help on using the changeset viewer.