XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 18, 2009, 10:59:02 PM (16 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_comments_block_theme.php

    r110 r120  
    55{ 
    66        $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    7         $disp_count = empty( $options[1] ) ? '10' : $options[1] ; 
    8         $disp_length = empty( $options[2] ) ? '30' : $options[2] ; 
    9         $selected = array_slice($options,3); // get allowed cats 
    10         $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_recent_comments_block.html' : trim( $options[4] ); 
     7        $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_comments_block.html' : trim( $options[1] ); 
     8        $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 
     9        $disp_length = empty( $options[3] ) ? '30' : $options[3] ; 
     10        $selected = array_slice($options,4); // get allowed cats 
    1111//      $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 
    1212        $mydirpath = get_xpress_dir_path(); 
Note: See TracChangeset for help on using the changeset viewer.