PluginProbe
wp-forecast / 3..8
wp-forecast v3..8
10.0 trunk 1.4 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3..5 3..8 3.0 3.1 3.2 3.3 3.4 3.6 All 86 releases
← All changes | func_google.php +2 -2 3..53..8 View file →
@@ -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">&copy; 2010 GoogleWeather</a>';
226 + $weather_arr['copyright']='<a href="http://www.google.com">&copy; '.date("Y").' GoogleWeather</a>';
227 227
228 228
229 229 // calc values for forecast
230 230 for ($i = 0; $i < 4; $i++) {