[xoops-cvslog 3651] CVS update: xoops2jp/html/include

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 7月 20日 (木) 17:18:22 JST


Index: xoops2jp/html/include/notification_select.php
diff -u xoops2jp/html/include/notification_select.php:1.2.8.1 xoops2jp/html/include/notification_select.php:1.2.8.2
--- xoops2jp/html/include/notification_select.php:1.2.8.1	Tue Nov 15 01:50:21 2005
+++ xoops2jp/html/include/notification_select.php	Thu Jul 20 17:18:22 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: notification_select.php,v 1.2.8.1 2005/11/14 16:50:21 minahito Exp $
+// $Id: notification_select.php,v 1.2.8.2 2006/07/20 08:18:22 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -33,7 +33,8 @@
 $xoops_notification = array();
 $xoops_notification['show'] = isset($xoopsModule) && is_object($xoopsUser) && notificationEnabled('inline') ? 1 : 0;
 if ($xoops_notification['show']) {
-	include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/notification.php';
+	$root =& XCube_Root::getSignleton();
+	$root->mLanguageManager->loadPageTypeMessageCatalog('notification');
 	$categories =& notificationSubscribableCategoryInfo();
 	$event_count = 0;
 	if (!empty($categories)) {


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index