Changeset 1407134
- Timestamp:
- 04/29/2016 07:35:49 AM (10 years ago)
- Location:
- pdsweather
- Files:
-
- 2 edited
-
tags/3.1/pdsWeather.php (modified) (3 diffs)
-
trunk/pdsWeather.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdsweather/tags/3.1/pdsWeather.php
r1407132 r1407134 5 5 Description: Weather plugin by Proodos. Shows current conditions anywhere on your web page. After activation adjust plugin's settings and then echo pdsWeather() where you want it to show 6 6 Author: Iva Korlevic, Proodos j.d.o.o. 7 Version: 3. 07 Version: 3.1 8 8 Author URI: http://prood-os.com 9 9 License: GPL2 … … 12 12 /** 13 13 * @package pdsWeather 14 * @version 3. 014 * @version 3.1 15 15 */ 16 16 … … 30 30 $fp = file_get_contents('http://api.wunderground.com/api/' . $api_key . '/conditions/' . get_option('locid') . '.json', 'r'); 31 31 $resp = json_decode($fp, true); 32 32 33 33 $current = $resp['current_observation']; 34 34 $current['time'] = date('Y-m-d H:i:s'); -
pdsweather/trunk/pdsWeather.php
r1407132 r1407134 5 5 Description: Weather plugin by Proodos. Shows current conditions anywhere on your web page. After activation adjust plugin's settings and then echo pdsWeather() where you want it to show 6 6 Author: Iva Korlevic, Proodos j.d.o.o. 7 Version: 3. 07 Version: 3.1 8 8 Author URI: http://prood-os.com 9 9 License: GPL2 … … 12 12 /** 13 13 * @package pdsWeather 14 * @version 3. 014 * @version 3.1 15 15 */ 16 16 … … 30 30 $fp = file_get_contents('http://api.wunderground.com/api/' . $api_key . '/conditions/' . get_option('locid') . '.json', 'r'); 31 31 $resp = json_decode($fp, true); 32 32 33 33 $current = $resp['current_observation']; 34 34 $current['time'] = date('Y-m-d H:i:s');
Note: See TracChangeset
for help on using the changeset viewer.