XPressME Integration Kit

Trac

source: trunk/wp-content/themes/xpress_mu_home/blocks/calender_block_theme.php @ 213

Last change on this file since 213 was 213, checked in by toemon, 15 years ago

WordPressMU時、メイン homeテーマ追加

File size: 533 bytes
Line 
1<?php
2function calender_block($options)
3{
4        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
5        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_calender_block.html' : trim( $options[1] );
6        $sun_color = empty( $options[2] ) ? '#DB0000' : $options[2] ;
7        $sat_color = empty( $options[3] ) ? '#004D99' : $options[3] ;
8//      $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
9        $mydirpath = get_xpress_dir_path();
10
11        $block['calender'] = get_xpress_calendar($sun_color,$sat_color);
12        return $block ;
13}
14?>
Note: See TracBrowser for help on using the repository browser.