XPressME Integration Kit

Trac


Ignore:
Timestamp:
Nov 20, 2009, 2:52:16 PM (14 years ago)
Author:
toemon
Message:

MUブランチにVer2.2.0RC1の変更内容をマージ

File:
1 edited

Legend:

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

    r339 r451  
    11<?php 
     2// Block Version: 1.0 
    23function widget_block($options) 
    34{ 
     
    56        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_widget.html' : trim( $options[1] ); 
    67        $title_show = empty( $options[2] ) ? false : true ; 
    7     $selected = array_slice($options,3); // get allowed cats 
     8        $widget_select = empty( $options[3] ) ? '' : $options[3] ; 
     9 
     10        $selected = explode(',' , $widget_select); 
    811 
    912        $output = ''; 
Note: See TracChangeset for help on using the changeset viewer.