[Svn-src-all:3667] [version-2_12-dev 22579] #2158 (現在のカゴの「画像がありません」の商品写真を押すと空白ページにジャンプする)

shutta admin @ mail.ec-cube.net
2013年 2月 21日 (木) 20:03:56 JST


Subversion committed to /home/svn/open 22579
http://svn.ec-cube.net/open_trac/changeset/22579
┌────────────────────────────┐
│更新者 :  shutta                                       │
│更新日時:  2013-02-21 20:03:56 +0900 (木, 21  2月 2013)│
└────────────────────────────┘

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


Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_12-dev/data/Smarty/templates/default/cart/index.tpl

変更: branches/version-2_12-dev/data/Smarty/templates/default/cart/index.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/default/cart/index.tpl	2013-02-21 09:01:56 UTC (rev 22578)
+++ branches/version-2_12-dev/data/Smarty/templates/default/cart/index.tpl	2013-02-21 11:03:56 UTC (rev 22579)
@@ -114,12 +114,13 @@
                                     <td class="alignC"><a href="?" onclick="fnFormModeSubmit('form<!--{$key|h}-->', 'delete', 'cart_no', '<!--{$item.cart_no|h}-->'); return false;">削除</a>
                                     </td>
                                     <td class="alignC">
-                                    <a class="<!--{if $item.productsClass.main_image|strlen >= 1}-->expansion<!--{/if}-->" target="_blank"
-                                            <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH|h}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
-                                            <!--{/if}-->
-                                            >
-                                            <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}-->" />
+                                    <!--{if $item.productsClass.main_image|strlen >= 1}-->
+                                        <a class="expansion" target="_blank" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH|h}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->">
+                                    <!--{/if}-->
+                                    <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}-->" />
+                                    <!--{if $item.productsClass.main_image|strlen >= 1}-->
                                         </a>
+                                    <!--{/if}-->
                                     </td>
                                     <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong>
                                         <!--{if $item.productsClass.classcategory_name1 != ""}-->




Svn-src-all メーリングリストの案内