XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 9, 2010, 4:15:42 PM (14 years ago)
Author:
toemon
Message:

MultiBlog用にブログリストブロックを追加 Fixes #297

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/xoops_version.php

    r527 r533  
    347347); 
    348348 
     349if (wp_version_compare($wp_version, '>=','2.9')){ 
     350        $b_no++; 
     351        $modversion['blocks'][$b_no] = array( 
     352                'file'                  => 'blog_list_block.php' , 
     353                'name'                  => constant('_MI_XP2_BLOCK_BLOG_LIST') , 
     354                'description'   => '' , 
     355                'show_func'     => "b_". $mydirname . "_blog_list_show" , 
     356                'edit_func'     => "b_". $mydirname . "_blog_list_edit" , 
     357                'options'               => $mydirname. '||name|ASC' , 
     358                'can_clone'             => false , 
     359                'func_num'              => $b_no, 
     360        ); 
     361} 
    349362 
    350363// Notification 
Note: See TracChangeset for help on using the changeset viewer.