Ignore:
Timestamp:
2012/02/28 15:16:35 (12 years ago)
Author:
h_yoshimoto
Message:

#1603 プラグインが無効の場合は関連ブロックが表示されない様に処理を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_PageLayout.php

    r21527 r21560  
    7171        $arrTarget = $masterData->getMasterData('mtb_target'); 
    7272        $arrBlocs = $this->getBlocPositions($device_type_id, $objPage->arrPageLayout['page_id']); 
     73        // 無効なプラグインのブロックを取り除く. 
     74        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance(); 
     75        $arrBlocs = $objPlugin->getEnableBlocs($arrBlocs); 
    7376        // php_path, tpl_path が存在するものを, 各ターゲットに配置 
    7477        foreach (array_keys($arrTarget) as $target_id) { 
Note: See TracChangeset for help on using the changeset viewer.