XPressME Integration Kit

Trac

Changeset 254


Ignore:
Timestamp:
Jun 5, 2009, 5:30:48 PM (16 years ago)
Author:
toemon
Message:

fixed #141 KtaiStyleからのコメント送信時のバグ修正

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.0/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php

    r232 r254  
    55        $templates[] = "sidebar.php"; 
    66        $sidebar_path = locate_template($templates, false); 
     7        if (empty($sidebar_path)){ // ktai_style plugin is empty 
     8                $sidebar_path = dirname(dirname(__FILE__)) . "/sidebar.php"; 
     9        } 
    710        ob_start(); 
    811                require($sidebar_path); 
  • branches/Ver2.0/xpressme_integration_kit/xoops_version.php

    r249 r254  
    3131$modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP2_NAME') ; 
    3232$modversion['description'] = constant( '_MI_XP2_DESC'); 
    33 $modversion['version'] = "2.00"; 
     33$modversion['version'] = "2.01"; 
    3434$modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://ja.xpressme.info) ;"; 
    3535$modversion['author'] = "toemon (http://ja.xpressme.info)"; 
     
    4040 
    4141// status 
    42 $modversion['codename'] = ""; 
     42$modversion['codename'] = "Bata-1"; 
    4343 
    4444// onInstall, onUpdate, onUninstall 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php

    r232 r254  
    55        $templates[] = "sidebar.php"; 
    66        $sidebar_path = locate_template($templates, false); 
     7        if (empty($sidebar_path)){ // ktai_style plugin is empty 
     8                $sidebar_path = dirname(dirname(__FILE__)) . "/sidebar.php"; 
     9        } 
    710        ob_start(); 
    811                require($sidebar_path); 
Note: See TracChangeset for help on using the changeset viewer.