Changeset 345036
- Timestamp:
- 02/13/2011 09:57:37 PM (15 years ago)
- Location:
- simple-weather/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
simple_weather.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-weather/trunk/readme.txt
r345026 r345036 5 5 Requires at least: 2.8 6 6 Tested up to: 3.0.5 7 Stable tag: 1.2 17 Stable tag: 1.22 8 8 9 9 Shows current weather for your specified location. … … 27 27 == Upgrade Notice == 28 28 29 = 0.38 = 30 31 Missing icons added. 32 29 33 = 0.37 = 30 34 … … 33 37 == Changelog == 34 38 39 = 0.38 = 40 41 Some rain icons added. 42 35 43 = 0.37 = 36 44 -
simple-weather/trunk/simple_weather.php
r345025 r345036 4 4 * Plugin URI: http://code.google.com/p/wp-simple-weather/ 5 5 * Description: Shows current weather for your specified location. Makes use of "secret" Google Weather API. Uses cURL, so works even on hosts with security restricions, like url-disabled file_get_contents. 6 * Version: 0.3 76 * Version: 0.38 7 7 * Author: Nordvind 8 8 * Author URI: http://www.recon-by-fire.eu … … 77 77 elseif (strpos($icon,'haze') !== false) $path = 'haze.jpg'; 78 78 elseif (strpos($icon,'storm') !== false) $path = 'storm.jpg'; 79 elseif (strpos($icon, 'rain') !== false) $path = 'rain.jpg'; 80 elseif (strpos($icon, 'showers') !== false || strpos($icon, 'chance_of_rain') !== false) $path = 'cor.jpg'; 79 81 else $path = 'na.jpg'; 80 82 return $path;
Note: See TracChangeset
for help on using the changeset viewer.