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

    r110 r120  
    33{ 
    44        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    5         $optioncount = empty( $options[1] ) ? false : true ; 
    6         $exclude_admin = empty( $options[2] ) ? false : true ; 
    7         $show_fullname = empty( $options[3] ) ? false : true ; 
    8         $hide_empty = empty( $options[4] ) ? false : true ;              
    9         $this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_block_authors.html' : trim( $options[5] ); 
     5        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_authors.html' : trim( $options[1] ); 
     6        $optioncount = empty( $options[2] ) ? false : true ; 
     7        $exclude_admin = empty( $options[3] ) ? false : true ; 
     8        $show_fullname = empty( $options[4] ) ? false : true ; 
     9        $hide_empty = empty( $options[5] ) ? false : true ;              
    1010        $mydirpath = get_xpress_dir_path(); 
    1111         
Note: See TracChangeset for help on using the changeset viewer.