[xoops-cvslog 3661] CVS update: xoops2jp/html/class

Back to archive index

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


Index: xoops2jp/html/class/xoopslists.php
diff -u xoops2jp/html/class/xoopslists.php:1.2.8.3 xoops2jp/html/class/xoopslists.php:1.2.8.4
--- xoops2jp/html/class/xoopslists.php:1.2.8.3	Tue May 16 22:25:06 2006
+++ xoops2jp/html/class/xoopslists.php	Thu Jul 20 17:20:54 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: xoopslists.php,v 1.2.8.3 2006/05/16 13:25:06 nobunobu Exp $
+// $Id: xoopslists.php,v 1.2.8.4 2006/07/20 08:20:54 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -36,7 +36,8 @@
     {
         function &getTimeZoneList()
         {
-            include_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/timezone.php';
+			$root =& XCube_Root::getSingleton();
+			$root->mLanguageManager->loadPageTypeMessageCatalog('timezone');
             $time_zone_list = array ("-12" => _TZ_GMTM12, "-11" => _TZ_GMTM11, "-10" => _TZ_GMTM10, "-9" => _TZ_GMTM9, "-8" => _TZ_GMTM8, "-7" => _TZ_GMTM7, "-6" => _TZ_GMTM6, "-5" => _TZ_GMTM5, "-4" => _TZ_GMTM4, "-3.5" => _TZ_GMTM35, "-3" => _TZ_GMTM3, "-2" => _TZ_GMTM2, "-1" => _TZ_GMTM1, "0" => _TZ_GMT0, "1" => _TZ_GMTP1, "2" => _TZ_GMTP2, "3" => _TZ_GMTP3, "3.5" => _TZ_GMTP35, "4" => _TZ_GMTP4, "4.5" => _TZ_GMTP45, "5" => _TZ_GMTP5, "5.5" => _TZ_GMTP55, "6" => _TZ_GMTP6, "7" => _TZ_GMTP7, "8" => _TZ_GMTP8, "9" => _TZ_GMTP9, "9.5" => _TZ_GMTP95, "10" => _TZ_GMTP10, "11" => _TZ_GMTP11, "12" => _TZ_GMTP12);
             return $time_zone_list;
         }


xoops-cvslog メーリングリストの案内
Back to archive index