XPressME Integration Kit

Trac

Changeset 543


Ignore:
Timestamp:
Mar 15, 2010, 12:57:14 PM (15 years ago)
Author:
toemon
Message:

MultiBlog用に最近のコメント(全ブログ)を追加 Fixes#306

Location:
trunk
Files:
3 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/xpress_i18n/portuguese-br/xpressme_modules_root/language/pt-br_utf8/modinfo.php

    r536 r543  
    5151        define("_MI_XP2_BLOCK_BLOG_LIST","Blogs Lista"); 
    5252        define("_MI_XP2_BLOCK_GLOBAL_POSTS","Posts recentes(Todo o blog)"); 
    53          
     53        define("_MI_XP2_BLOCK_GLOBAL_COMM","Comentários recentes(Todo o blog)"); 
     54 
    5455        // Notify Categories 
    5556        define('_MI_XP2_NOTCAT_GLOBAL', 'TUDO'); 
  • trunk/extras/xpress_i18n/template/xpressme_modules_root/language/english/modinfo.php

    r536 r543  
    5151        define("_MI_XP2_BLOCK_BLOG_LIST","Blogs List"); 
    5252        define("_MI_XP2_BLOCK_GLOBAL_POSTS","Recent Posts(All blogs)"); 
     53        define("_MI_XP2_BLOCK_GLOBAL_COMM","Recent Comments(All blogs)"); 
    5354 
    5455        // Notify Categories 
  • trunk/xpressme_integration_kit/include/xpress_templates_make.php

    r536 r543  
    109109                'blog_list_block.html' , 
    110110                'global_recent_posts_list_block.html' , 
     111                'global_recent_comments_block.html', 
    111112                'index.html', 
    112113        ); 
  • trunk/xpressme_integration_kit/language/english/modinfo.php

    r536 r543  
    5151        define("_MI_XP2_BLOCK_BLOG_LIST","Blogs List"); 
    5252        define("_MI_XP2_BLOCK_GLOBAL_POSTS","Recent Posts(All blogs)"); 
     53        define("_MI_XP2_BLOCK_GLOBAL_COMM","Recent Comments(All blogs)"); 
    5354 
    5455        // Notify Categories 
  • trunk/xpressme_integration_kit/language/ja_utf8/modinfo.php

    r536 r543  
    5151        define("_MI_XP2_BLOCK_BLOG_LIST","ブログリスト"); 
    5252        define("_MI_XP2_BLOCK_GLOBAL_POSTS","最近の記事(全ブログ)"); 
    53          
     53        define("_MI_XP2_BLOCK_GLOBAL_COMM","最近のコメント(全ブログ)"); 
     54 
    5455        // Notify Categories 
    5556        define('_MI_XP2_NOTCAT_GLOBAL', 'ブログ全体'); 
  • trunk/xpressme_integration_kit/language/japanese/modinfo.php

    r536 r543  
    5151        define("_MI_XP2_BLOCK_BLOG_LIST","¥Ö¥í¥°¥ê¥¹¥È"); 
    5252        define("_MI_XP2_BLOCK_GLOBAL_POSTS","ºÇ¶á¤Îµ­»ö(Á´¥Ö¥í¥°)"); 
    53          
     53        define("_MI_XP2_BLOCK_GLOBAL_COMM","ºÇ¶á¤Î¥³¥á¥ó¥È(Á´¥Ö¥í¥°)"); 
     54 
    5455        // Notify Categories 
    5556        define('_MI_XP2_NOTCAT_GLOBAL', '¥Ö¥í¥°Á´ÂÎ'); 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php

    r540 r543  
    141141                 
    142142                // Avoid the failure of the operation when switch_to_blog() and other plugin code is called on the admin page. 
    143                 $excludes = '|global_recent_posts_list_block.php|my_.*_block.php|'; 
     143                $excludes = '|global_recent_posts_list_block.php|my_.*_block.php|global_recent_comments_block.php|'; 
    144144                if (preg_match('/' . $excludes . '/' , $func_file)) continue; 
    145145                 
  • trunk/xpressme_integration_kit/xoops_version.php

    r542 r543  
    375375                'func_num'              => $b_no,        
    376376        ); 
     377        $b_no++; 
     378        $modversion['blocks'][$b_no] = array( 
     379                'file'                  => 'global_recent_comments_block.php' , 
     380                'name'                  => constant('_MI_XP2_BLOCK_GLOBAL_COMM') , 
     381                'description'   => '' , 
     382                'show_func'     => "b_". $mydirname . "_global_comments_show" , 
     383                'edit_func'     => "b_". $mydirname . "_global_comments_edit" , 
     384                'template'              => '' , 
     385                'options'               => $mydirname. '||10|30|||0' , 
     386                'can_clone'             => true , 
     387                'func_num'              => $b_no,        
     388        ); 
    377389 
    378390} 
Note: See TracChangeset for help on using the changeset viewer.