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

    r109 r120  
    33{ 
    44        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    5         $disp_count = empty( $options[1] ) ? '10' : $options[1] ; 
    6         $show_month_range = empty( $options[2] ) ? '0' : $options[2] ; 
    7         $tag_select = $options[3] ; 
    8         $selected = array_slice($options,4); // get allowed cats 
    9         $this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_block_popular.html' : trim( $options[5] ); 
     5        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_popular.html' : trim( $options[1] ); 
     6        $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 
     7        $show_month_range = empty( $options[3] ) ? '0' : $options[3] ; 
     8        $tag_select = $options[4] ; 
     9        $selected = array_slice($options,5); // get allowed cats 
    1010        $mydirpath = get_xpress_dir_path(); 
    1111         
Note: See TracChangeset for help on using the changeset viewer.