Plugin Directory

Changeset 194773


Ignore:
Timestamp:
01/17/2010 04:13:00 PM (16 years ago)
Author:
moklet
Message:
 
Location:
gweather/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gweather/trunk/gweather.php

    r170375 r194773  
    33/*
    44Plugin Name: Gweather
    5 Plugin URI: http://www.citynews.co.za/
     5Plugin URI: http://www.smesolutions.co.za/
    66Description: Get the current weather conditions and the forecast weather for your chosen city in Celcius or Farhenheit
    77Author: Mouring Kolhoff
    8 Version: 1.00
     8Version: 1.10
    99License: GPL
    10 Author URI: http://www.citynews.co.za
     10Author URI: http://www.smesolutions.co.za
    1111Min WP Version: 2.5
    1212*/
     
    1717
    1818function gweather_c($city,$country,$credit) {
    19     if($credit=="1")
    20     {$credit_url="<tr><td colspan='4'>Weather Plugin Courtesy of <a class='wp-link' href='http://www.citynews.co.za' title='City News South Africa'>City News South Africa</a></td></tr>";}
     19    $city=str_replace ( ' ', '%20', $city );
     20    if($credit=="1")
     21    {$credit_url="<tr><td colspan='4'>Weather Plugin Courtesy of <a class='wp-link' href='http://www.atoz.co.za' title='AtoZ Business Directory South Africa'>AtoZ Business Directory South Africa</a></td></tr>";}
    2122    $string = "<!-- start of gweather content by gweather plugin v1.00 - http://www.citynews.co.za -->\n";
    2223    $img_url = "http://www.google.com";
     
    5152
    5253function gweather_f($city,$country,$credit) {
    53     if($credit=="1")
     54    $city=str_replace ( ' ', '%20', $city );
     55    if($credit=="1")
    5456    {$credit_url="<tr><td colspan='4'>Weather Plugin Courtesy of <a class='wp-link' href='http://www.citynews.co.za' title='City News South Africa'>City News South Africa</a></td></tr>";}
    5557    $string = "<!-- start of gweather content by gweather plugin v1.00 - http://www.citynews.co.za -->\n";
  • gweather/trunk/readme.txt

    r170388 r194773  
    33Tags: rss, atom, feed, inline, embed, rdf, weather, google
    44Requires at least: 2.5
    5 Tested up to: 2.8.5
     5Tested up to: 2.9.1
    66Stable tag: 1.00
    77
     
    4040There is no styling in the table, but the table is generated with a class of gweather. So you can style the look of the output by adding a class for that in your stylesheet
    4141
    42 1.0 Initial release.
    43 
     421.00 Initial release.
     431.10 Bug Fix Cities with spaces where not renedered properly
    4444== Installation ==
    4545
Note: See TracChangeset for help on using the changeset viewer.