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

    r109 r120  
    55{ 
    66        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    7         $disp_count =  ($options[1])?intval($options[1]):10; 
    8         $except = empty( $options[2] ) ? false : true ; 
    9         $except_size =  ($options[3])?intval($options[3]):100; 
    10         $tag_select = $options[4] ; 
    11     $selected = array_slice($options,5); // get allowed cats 
    12         $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[6] ); 
     7        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] ); 
     8        $disp_count =  ($options[2])?intval($options[2]):10; 
     9        $except = empty( $options[3] ) ? false : true ; 
     10        $except_size =  ($options[4])?intval($options[4]):100; 
     11        $tag_select = $options[5] ; 
     12    $selected = array_slice($options,6); // get allowed cats 
    1313//      $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 
    1414        $mydirpath = get_xpress_dir_path(); 
Note: See TracChangeset for help on using the changeset viewer.