| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* This file is part of the wp-forecast plugin for wordpress */ |
| 3 | 3 | |
| 4 | -/* Copyright 2010 Hans Matzen (email : webmaster at tuxlog dot de) | |
| 4 | +/* Copyright 2010-2011 Hans Matzen (email : webmaster at tuxlog dot de) | |
| 5 | 5 | |
| 6 | 6 | This program is free software; you can redistribute it and/or modify |
| 7 | 7 | it under the terms of the GNU General Public License as published by |
| 8 | 8 | the Free Software Foundation; either version 2 of the License, or |
| @@ -222,9 +222,9 @@ | ||
| 222 | 222 | $weather_arr['humidity'] = trim(substr($w["humidity"], strpos($w["humidity"], " "),3)); |
| 223 | 223 | $wdirarr = explode(" ", $w['wind']); |
| 224 | 224 | $weather_arr['windspeed']=windstr($metric,$wdirarr[3] / 3.6,"kmh"); |
| 225 | 225 | $weather_arr['winddir']=translate_winddir($wdirarr[1],"wp-forecast_".$wpf_language); |
| 226 | - $weather_arr['copyright']='<a href="http://www.google.com">© 2010 GoogleWeather</a>'; | |
| 226 | + $weather_arr['copyright']='<a href="http://www.google.com">© '.date("Y").' GoogleWeather</a>'; | |
| 227 | 227 | |
| 228 | 228 | |
| 229 | 229 | // calc values for forecast |
| 230 | 230 | for ($i = 0; $i < 4; $i++) { |