Ignore:
Timestamp:
2009/07/01 20:08:16 (15 years ago)
Author:
kajiwara
Message:

#503 お支払い方法選択画面にてお支払いの画像がある場合のレイアウト崩れを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r18104 r18155  
    155155        // 支払い方法の取得 
    156156        $this->arrPayment = $this->lfGetPayment($total_pretax); 
     157        // 支払い方法の画像があるなしを取得($img_show true:ある false:なし) 
     158        $this->img_show = $this->lfGetImgShow($this->arrPayment); 
    157159        // 配送時間の取得 
    158160        $arrRet = $objDb->sfGetDelivTime($this->objFormParam->getValue('payment_id')); 
     
    561563        return $this->objFormParam; 
    562564    } 
     565 
     566    /* 支払い方法の画像があるなしを取得($img_show true:ある false:なし) */ 
     567    function lfGetImgShow($arrPayment) { 
     568        $img_show = false; 
     569        foreach ($this->arrPayment as $payment) { 
     570            if (strlen($payment["payment_image"]) > 0 ){ 
     571                $img_show = true; 
     572                break; 
     573            } 
     574        } 
     575        return $img_show; 
     576    } 
    563577} 
    564578?> 
Note: See TracChangeset for help on using the changeset viewer.