Plugin Directory

Changeset 345036


Ignore:
Timestamp:
02/13/2011 09:57:37 PM (15 years ago)
Author:
Nordvind
Message:

rain icons

Location:
simple-weather/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-weather/trunk/readme.txt

    r345026 r345036  
    55Requires at least: 2.8
    66Tested up to: 3.0.5
    7 Stable tag: 1.21
     7Stable tag: 1.22
    88
    99Shows current weather for your specified location.
     
    2727== Upgrade Notice ==
    2828
     29= 0.38 =
     30
     31Missing icons added.
     32
    2933= 0.37 =
    3034
     
    3337== Changelog ==
    3438
     39= 0.38 =
     40
     41Some rain icons added.
     42
    3543= 0.37 =
    3644
  • simple-weather/trunk/simple_weather.php

    r345025 r345036  
    44 * Plugin URI: http://code.google.com/p/wp-simple-weather/
    55 * 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.37
     6 * Version: 0.38
    77 * Author: Nordvind
    88 * Author URI: http://www.recon-by-fire.eu
     
    7777        elseif (strpos($icon,'haze') !== false) $path = 'haze.jpg';
    7878        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';
    7981        else $path = 'na.jpg';
    8082        return $path;
Note: See TracChangeset for help on using the changeset viewer.