XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 7, 2009, 12:46:29 PM (16 years ago)
Author:
toemon
Message:

#122 サイドバーブロックのレイアウト崩れバグ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php

    r125 r204  
    88                require($sidebar_path); 
    99                $output = ob_get_contents(); 
    10         ob_end_clean();  
     10        ob_end_clean(); 
     11        $pattern = '<div\s+id\s*=\s*["\']xpress_sidebar["\']\s*>'; 
     12        $output = preg_replace("/".$pattern."/s" , '<div class="xpress_sidebar_block">' , $output); 
     13 
    1114        $block['sidebar'] = $output;                                                             
    1215        return $block ;  
Note: See TracChangeset for help on using the changeset viewer.