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

    r110 r120  
    33{ 
    44        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    5         $type = empty( $options[1] ) ? false : true ; 
    6         $limit = empty( $options[2] ) ? '10' : $options[2] ; 
    7         $show_post_count = empty( $options[3] ) ? false : true ;                 
    8         $drop_down = empty( $options[4] ) ? false : true ;       
    9         $this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[3] ); 
     5        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[1] ); 
     6        $type = empty( $options[2] ) ? false : true ; 
     7        $limit = empty( $options[3] ) ? '10' : $options[3] ; 
     8        $show_post_count = empty( $options[4] ) ? false : true ;                 
     9        $drop_down = empty( $options[5] ) ? false : true ;       
    1010         
    1111        if ($type) { 
Note: See TracChangeset for help on using the changeset viewer.