$locale_name = fbLocale::getLocale(); $long_month_names = ' '; $short_month_names = ' '; $long_weekday_names = ' '; $short_weekday_names = ' '; if ($locale == $default_locale || $locale_name != $default_locale_name) { $string = _('24 hours'); $long_date = fbDateTime::getLongDate($date); $short_date = fbDateTime::getShortDate($date); $datetime = strftime('%c', $date); $amount = -1234567.89; $number = fbLocale::numberFormat($amount, 2); if (function_exists('money_format')) { $money = money_format('%i', $amount) . "<br />\n" . money_format('%n', $amount); } $charset = fbLocale::getCharset(); $codepage = fbLocale::getCodepage(); $long_month_names = join(',', fbDateTime::getLongMonthNames()); $short_month_names = join(',', fbDateTime::getShortMonthNames()); $long_weekday_names = join(',', fbDateTime::getLongWeekdayNames()); $short_weekday_names = join(',', fbDateTime::getShortWeekdayNames()); $long_month_names_hash[$long_month_names][$locale] = $locale_name; $long_weekday_names_hash[$long_weekday_names][$locale] = $locale_name; } else { // $locale_name = ' '; } print "<tr>\n<td>\n{$name}\n<br />\nlocale={$locale}\n<br />\nrv={$rv}\n<br />\nlocale_name={$locale_name}\n \n</td>\n<td>\n{$string}\n \n</td>\n<td>\n{$long_date}\n \n</td>\n<td>\n{$short_date}\n \n</td>\n<td>\n{$datetime}\n \n</td>\n<td>\n{$number}\n \n</td>\n<td>\n{$money}\n \n</td>\n<td>\n{$long_month_names}\n \n</td>\n<td>\n{$short_month_names}\n \n</td>\n<td>\n{$long_weekday_names}\n \n</td>\n<td>\n{$short_weekday_names}\n \n</td>\n<td>\n{$locale_name}\n \n</td>\n<td>\n{$charset}\n \n</td>\n<td>\n{$codepage}\n \n</td>\n</tr>\n"; fbLocale::popLocale(LC_ALL); ///////////////////////// //break; /////////////////////////