Minahito
minah****@users*****
2006年 7月 20日 (木) 17:17:02 JST
Index: xoops2jp/html/include/calendarjs.php diff -u xoops2jp/html/include/calendarjs.php:1.1.8.1 xoops2jp/html/include/calendarjs.php:1.1.8.2 --- xoops2jp/html/include/calendarjs.php:1.1.8.1 Wed Oct 19 02:19:03 2005 +++ xoops2jp/html/include/calendarjs.php Thu Jul 20 17:17:02 2006 @@ -2,7 +2,10 @@ if (!defined('XOOPS_ROOT_PATH')) { exit(); } -include_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/calendar.php'; + +$root =& XCube_Root::getSingleton(); +$root->mLanguageManager->loadPageTypeMessageCatalog('calendar'); + ?> <link rel="stylesheet" type="text/css" media="all" href="<?php echo XOOPS_URL;?>/include/calendar-blue.css" /> <script type="text/javascript" src="<?php echo XOOPS_URL.'/include/calendar.js';?>"></script>