XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 18, 2009, 10:59:02 PM (15 years ago)
Author:
toemon
Message:

ブロックオプションの$selected = array_slice()部分が最後になるようにするため、ブロックオプションの$this_templateの位置を最後尾から2番目に変更
Ver 0.09 bump

File:
1 edited

Legend:

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

    r115 r120  
    33{ 
    44        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    5         $sun_color = empty( $options[1] ) ? '#DB0000' : $options[1] ; 
    6         $sat_color = empty( $options[2] ) ? '#004D99' : $options[2] ; 
    7         $this_template = empty( $options[3] ) ? 'db:'.$mydirname.'_calender_block.html' : trim( $options[3] ); 
     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] ; 
    88//      $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 
    99        $mydirpath = get_xpress_dir_path(); 
Note: See TracChangeset for help on using the changeset viewer.