Minahito
minah****@users*****
2006年 7月 20日 (木) 17:16:45 JST
Index: xoops2jp/html/modules/base/blocks/legacy_notification.php diff -u xoops2jp/html/modules/base/blocks/legacy_notification.php:1.1.2.1 xoops2jp/html/modules/base/blocks/legacy_notification.php:1.1.2.2 --- xoops2jp/html/modules/base/blocks/legacy_notification.php:1.1.2.1 Sun Mar 26 15:07:46 2006 +++ xoops2jp/html/modules/base/blocks/legacy_notification.php Thu Jul 20 17:16:45 2006 @@ -3,7 +3,10 @@ { global $xoopsConfig, $xoopsUser, $xoopsModule; include_once XOOPS_ROOT_PATH . '/include/notification_functions.php'; - include_once XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/notification.php'; + + $root =& XCube_Root::getSingleton(); + $root->mLanguageManager->loadPageTypeMessageCatalog('notification'); + // Notification must be enabled, and user must be logged in if (empty($xoopsUser) || !notificationEnabled('block')) { return false; // do not display block