Update of /cvsroot/phpweather/phpweather/locales In directory usw-pr-cvs1:/tmp/cvs-serv5813 Modified Files: locale_common.php Log Message: I've re-indented the file plus done some cleaning so that there isn't that many long lines anymore. Index: locale_common.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/locales/locale_common.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- locale_common.php 2001/07/13 09:24:02 1.11 +++ locale_common.php 2001/07/13 13:11:38 1.12 @@ -19,7 +19,6 @@ * @author Martin Geisler <[EMAIL PROTECTED]> * @version $Id$ */ - class locale_common extends base_object { /** @@ -31,9 +30,8 @@ * * @var array $strings */ [...1374 lines suppressed...] extract($data); @@ -995,14 +1020,14 @@ $minutes = round((time() - $time)/60); $wind = $this->pref_units($wind['meters_per_second'] . ' mps', $wind['miles_per_hour'] . ' mph') . '/' . - $this->strings['wind_dir_short'][intval(round($wind['deg']/22.5))]; + $this->strings['wind_dir_short'][intval(round($wind['deg']/22.5))]; $temp = $this->pref_units($temperature['temp_c'] . '°C', $temperature['temp_f'] . '°F'); $pressure = $this->pref_units($altimeter['hpa'] . ' hPa', $altimeter['inhg'] . ' inHg'); - - /* The table-heading ought to be translated. */ - + + /* The table-heading ought to be translated. */ + echo "<table> <tr> <th>Station</th> _______________________________________________ PHPWeather-checkins mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/phpweather-checkins