Changeset 1670914
- Timestamp:
- 06/05/2017 10:19:02 AM (9 years ago)
- Location:
- pdsweather
- Files:
-
- 4 edited
-
tags/3.2/pdsWeather.php (modified) (3 diffs)
-
tags/3.2/readme.txt (modified) (1 diff)
-
trunk/pdsWeather.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pdsweather/tags/3.2/pdsWeather.php
r1670903 r1670914 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. 27 Version: 3.3 8 8 Author URI: http://prood-os.com 9 9 License: GPL2 … … 12 12 /** 13 13 * @package pdsWeather 14 * @version 3. 214 * @version 3.3 15 15 */ 16 16 … … 65 65 66 66 if (get_option('iconset') == 2) { 67 $html .= '<i class="wi wi-' . $current['tod'] . '-' . $current['icon']. '"></i>';67 $html .= '<i class="wi wi-' . $current['tod'] . '-' . ($current['icon']) ? $current['icon']:"clear" . '"></i>'; 68 68 } 69 69 70 70 $html .= '<div class="conditions">'; 71 71 if (get_option('weather')) { 72 $html .= '<span class="wthr">' . $current['weather']. '</span>';72 $html .= '<span class="wthr">' . ($current['weather']) ? $current['weather'] : "Clear" . '</span>'; 73 73 } 74 74 -
pdsweather/tags/3.2/readme.txt
r1670885 r1670914 55 55 == Changelog == 56 56 57 = 3.3 = 58 * bugix when weather string is blank set clear for weather 59 57 60 = 3.2 = 58 61 * solved bug for conditions after new year has started -
pdsweather/trunk/pdsWeather.php
r1670903 r1670914 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. 27 Version: 3.3 8 8 Author URI: http://prood-os.com 9 9 License: GPL2 … … 12 12 /** 13 13 * @package pdsWeather 14 * @version 3. 214 * @version 3.3 15 15 */ 16 16 … … 65 65 66 66 if (get_option('iconset') == 2) { 67 $html .= '<i class="wi wi-' . $current['tod'] . '-' . $current['icon']. '"></i>';67 $html .= '<i class="wi wi-' . $current['tod'] . '-' . ($current['icon']) ? $current['icon']:"clear" . '"></i>'; 68 68 } 69 69 70 70 $html .= '<div class="conditions">'; 71 71 if (get_option('weather')) { 72 $html .= '<span class="wthr">' . $current['weather']. '</span>';72 $html .= '<span class="wthr">' . ($current['weather']) ? $current['weather'] : "Clear" . '</span>'; 73 73 } 74 74 -
pdsweather/trunk/readme.txt
r1670885 r1670914 55 55 == Changelog == 56 56 57 = 3.3 = 58 * bugix when weather string is blank set clear for weather 59 57 60 = 3.2 = 58 61 * solved bug for conditions after new year has started
Note: See TracChangeset
for help on using the changeset viewer.