Ignore:
Timestamp:
2009/09/22 11:57:28 (15 years ago)
Author:
Seasoft
Message:

merge r18155
・取得元: version-2_4

  • 真偽値の判定記述をスマートに改修
  • テンプレート上でのセルの重複を改修

【取得元のログメッセージ】

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

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r18275 r18311  
    148148        // 支払い方法の取得 
    149149        $this->arrPayment = $this->lfGetPayment($total_pretax); 
     150        // 支払い方法の画像があるなしを取得($img_show true:ある false:なし) 
     151        $this->img_show = $this->lfGetImgShow($this->arrPayment); 
    150152        // お届け時間の取得 
    151153        $arrRet = $objDb->sfGetDelivTime($this->objFormParam->getValue('payment_id')); 
     
    534536        return $this->objFormParam; 
    535537    } 
     538 
     539    /* 支払い方法の画像があるなしを取得($img_show true:ある false:なし) */ 
     540    function lfGetImgShow($arrPayment) { 
     541        $img_show = false; 
     542        foreach ($this->arrPayment as $payment) { 
     543            if (strlen($payment["payment_image"]) > 0 ){ 
     544                $img_show = true; 
     545                break; 
     546            } 
     547        } 
     548        return $img_show; 
     549    } 
    536550} 
    537551?> 
Note: See TracChangeset for help on using the changeset viewer.