XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jul 23, 2009, 12:55:34 PM (15 years ago)
Author:
toemon
Message:

Impress CMSでインラインに表示されるイベント選択が表示されない バグ修正 fixes #186

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/xpress_render.php

    r317 r343  
    148148function xpress_render($contents){ 
    149149        global $xoops_config , $xoopsTpl,$xpress_config; 
     150        global $xoopsUser; 
     151 
    150152        xpress_remake_global_for_permlink(); 
    151153        $mydirname = basename(dirname(dirname(__FILE__))); 
     
    218220        $xpress_data['now_user_level'] = xpress_now_user_level('echo=0'); 
    219221 
     222        //If notification_select.php is not executed in CMS other than XCL, the selector of in-line is not displayed.  
     223        if (is_object($xoopsModule) && $xoopsModule->getVar('hasnotification') == 1 && is_object($xoopsUser)) { 
     224                require_once $xoops_config->xoops_root_path . '/include/notification_select.php'; 
     225        } 
     226         
    220227        $xoopsTpl->assign('xpress', $xpress_data); 
    221228        $templates_file = 'db:'.$mydirname. '_index.html'; 
Note: See TracChangeset for help on using the changeset viewer.