XPressME Integration Kit

Trac


Ignore:
Timestamp:
Nov 13, 2009, 11:07:29 PM (14 years ago)
Author:
toemon
Message:

ブロックオプション、 ウィジェットをカンマ区切りデータとして格納するようにした。 #243

File:
1 edited

Legend:

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

    r339 r437  
    55        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_widget.html' : trim( $options[1] ); 
    66        $title_show = empty( $options[2] ) ? false : true ; 
    7     $selected = array_slice($options,3); // get allowed cats 
     7        $widget_select = empty( $options[3] ) ? '' : $options[3] ; 
     8 
     9        $selected = explode(',' , $widget_select); 
    810 
    911        $output = ''; 
Note: See TracChangeset for help on using the changeset viewer.