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/recent_comments_block_theme.php

    r360 r451  
    11<?php 
    2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 
    3  
     2// Block Version: 1.0 
    43function recent_comments_block($options) 
    54{ 
     
    109        $date_format = empty( $options[4] ) ? '' : $options[4] ; 
    1110        $time_format = empty( $options[5] ) ? '' : $options[5] ; 
    12     $selected = array_slice($options,6); // get allowed cats 
     11        $com_select = empty( $options[6] ) ? '0' : $options[6] ; 
     12 
     13        $selected = explode(',' , $com_select); 
    1314 
    1415        $mydirpath = get_xpress_dir_path(); 
Note: See TracChangeset for help on using the changeset viewer.