XPressME Integration Kit

Trac

Changeset 205


Ignore:
Timestamp:
May 7, 2009, 7:14:16 PM (15 years ago)
Author:
toemon
Message:

ページブロックのオプション$exclude_treeを数値から文字列に変更

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/blocks/page_block.php

    r195 r205  
    2222                $sort_order = empty( $options[3] ) ? 'asc' : $options[3] ; 
    2323                $exclude = empty( $options[4] ) ? '' : $options[4] ; 
    24                 $exclude_tree = !is_numeric( $options[5] ) ? 0 : $options[5] ; 
     24                $exclude_tree = empty( $options[5] ) ? '' : $options[5] ; 
    2525                $includes = empty( $options[6] ) ? '' : $options[6] ; 
    2626                $depth = !is_numeric( $options[7] ) ? 0 : $options[7] ; 
     
    9191                 
    9292                $form .= _MB_XP2_PAGE_EXCLUDE . "  <input type='text' name='options[4]' value='" . $exclude . "' size ='60' /><br />\n"; 
    93                 $form .= _MB_XP2_PAGE_EXCLUDE_TREE . "  <input type='text' name='options[5]' value='" . $exclude_tree . "' size ='8' /><br />\n"; 
     93                $form .= _MB_XP2_PAGE_EXCLUDE_TREE . "  <input type='text' name='options[5]' value='" . $exclude_tree . "' size ='60' /><br />\n"; 
    9494                $form .= _MB_XP2_PAGE_INCLUDE . "  <input type='text' name='options[6]' value='" . $includes . "' size ='60' /><br />\n"; 
    9595                $form .= _MB_XP2_PAGE_DEPTH . "  <input type='text' name='options[7]' value='" . $depth . "' size ='8' /><br />"; 
  • trunk/wp-content/themes/xpress_default/blocks/page_block_theme.php

    r127 r205  
    88        $sort_order = empty( $options[3] ) ? 'asc' : $options[3] ; 
    99        $exclude = empty( $options[4] ) ? '' : $options[4] ; 
    10         $exclude_tree = !is_numeric( $options[5] ) ? 0 : $options[5] ; 
     10        $exclude_tree = empty( $options[5] ) ? '' : $options[5] ; 
    1111        $includes = empty( $options[6] ) ? '' : $options[6] ; 
    1212        $depth  = !is_numeric( $options[7] ) ? 0 : $options[7] ; 
  • trunk/xoops_version.php

    r204 r205  
    4040 
    4141// status 
    42 $modversion['codename'] = "RC1(r203)"; 
     42$modversion['codename'] = "RC1(r205)"; 
    4343 
    4444// onInstall, onUpdate, onUninstall 
     
    146146        'show_func'     => "b_". $mydirname . "_page_show" , 
    147147        'edit_func'     => "b_". $mydirname . "_page_edit" , 
    148         'options'               => $mydirname. '||post_title|asc||0||0|0|none||1||' , 
     148        'options'               => $mydirname. '||post_title|asc||||0|0|none||1||' , 
    149149        'can_clone'             => true , 
    150150        'func_num'              => $b_no, 
Note: See TracChangeset for help on using the changeset viewer.