Changeset 18481


Ignore:
Timestamp:
2010/01/08 13:07:51 (14 years ago)
Author:
Yammy
Message:

http://svn.ec-cube.net/open_trac/ticket/503
お支払い方法選択画面で、お支払いに画像を登録した場合レイアウトが崩れるバグ

Location:
branches/version-2_4-dev/data
Files:
2 edited

Legend:

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

    r18472 r18481  
    4343          <tr> 
    4444            <th>選択</th> 
    45             <th colspan="<!--{if $img_show == false}-->2<!--{else}-->3<!--{/if}-->">お支払方法</th> 
     45            <th colspan="<!--{if $tpl_img_show == false}-->1<!--{else}-->2<!--{/if}-->">お支払方法</th> 
    4646          </tr> 
    4747          <!--{section name=cnt loop=$arrPayment}--> 
     
    5252              <label for="pay_<!--{$smarty.section.cnt.iteration}-->"><!--{$arrPayment[cnt].payment_method|escape}--><!--{if $arrPayment[cnt].note != ""}--><!--{/if}--></label> 
    5353            </td> 
    54             <!--{if $arrPayment[cnt].payment_image != ""}--> 
    55                 <td> 
    56                     <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrPayment[cnt].payment_image}-->" /> 
    57                 </td> 
    58             <!--{elseif $img_show == true}--> 
    59                 <td></td> 
    60             <!--{/if}--> 
     54            <td> 
     55              <!--{if $arrPayment[cnt].payment_image != ""}--> 
     56              <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrPayment[cnt].payment_image}-->" /> 
     57              <!--{/if}--> 
     58            </td> 
    6159          </tr> 
    6260          <!--{/section}--> 
  • branches/version-2_4-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r18472 r18481  
    163163        $this->arrPayment = $this->lfGetPayment($total_pretax); 
    164164        // 支払い方法の画像があるなしを取得($img_show true:ある false:なし) 
    165         $this->img_show = $this->lfGetImgShow($this->arrPayment); 
     165        $this->tpl_img_show = $this->lfGetImgShow($this->arrPayment); 
    166166        // お届け時間の取得 
    167167        $arrRet = $objDb->sfGetDelivTime($this->objFormParam->getValue('payment_id')); 
Note: See TracChangeset for help on using the changeset viewer.