From: <ok...@us...> - 2003-01-07 18:38:57
|
Update of /cvsroot/xoops/xoops2/class In directory sc8-pr-cvs1:/tmp/cvs-serv9658/class Modified Files: xoopslists.php Log Message: lang file change for timezones Index: xoopslists.php =================================================================== RCS file: /cvsroot/xoops/xoops2/class/xoopslists.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xoopslists.php 2 Jan 2003 15:15:23 -0000 1.1 --- xoopslists.php 7 Jan 2003 18:38:41 -0000 1.2 *************** *** 30,41 **** // ------------------------------------------------------------------------- // if ( !defined("XOOPS_LISTS_INCLUDED") ) { define("XOOPS_LISTS_INCLUDED",1); - class XoopsLists { function &getTimeZoneList() { ! $time_zone_list = array ("-12" => _GMTM12, "-11" => _GMTM11, "-10" => _GMTM10, "-9" => _GMTM9, "-8" => _GMTM8, "-7" => _GMTM7, "-6" => _GMTM6, "-5" => _GMTM5, "-4" => _GMTM4, "-3.5" => _GMTM35, "-3" => _GMTM3, "-2" => _GMTM2, "-1" => _GMTM1, "0" => _GMT0, "1" => _GMTP1, "2" => _GMTP2, "3" => _GMTP3, "3.5" => _GMTP35, "4" => _GMTP4, "4.5" => _GMTP45, "5" => _GMTP5, "5.5" => _GMTP55, "6" => _GMTP6, "7" => _GMTP7, "8" => _GMTP8, "9" => _GMTP9, "9.5" => _GMTP95, "10" => _GMTP10, "11" => _GMTP11, "12" => _GMTP12); return $time_zone_list; } --- 30,42 ---- // ------------------------------------------------------------------------- // + if ( !defined("XOOPS_LISTS_INCLUDED") ) { define("XOOPS_LISTS_INCLUDED",1); class XoopsLists { function &getTimeZoneList() { ! include_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/timezone.php'; ! $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; } |