Changeset 194773
- Timestamp:
- 01/17/2010 04:13:00 PM (16 years ago)
- Location:
- gweather/trunk
- Files:
-
- 2 edited
-
gweather.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gweather/trunk/gweather.php
r170375 r194773 3 3 /* 4 4 Plugin Name: Gweather 5 Plugin URI: http://www. citynews.co.za/5 Plugin URI: http://www.smesolutions.co.za/ 6 6 Description: Get the current weather conditions and the forecast weather for your chosen city in Celcius or Farhenheit 7 7 Author: Mouring Kolhoff 8 Version: 1. 008 Version: 1.10 9 9 License: GPL 10 Author URI: http://www. citynews.co.za10 Author URI: http://www.smesolutions.co.za 11 11 Min WP Version: 2.5 12 12 */ … … 17 17 18 18 function 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>";} 21 22 $string = "<!-- start of gweather content by gweather plugin v1.00 - http://www.citynews.co.za -->\n"; 22 23 $img_url = "http://www.google.com"; … … 51 52 52 53 function gweather_f($city,$country,$credit) { 53 if($credit=="1") 54 $city=str_replace ( ' ', '%20', $city ); 55 if($credit=="1") 54 56 {$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>";} 55 57 $string = "<!-- start of gweather content by gweather plugin v1.00 - http://www.citynews.co.za -->\n"; -
gweather/trunk/readme.txt
r170388 r194773 3 3 Tags: rss, atom, feed, inline, embed, rdf, weather, google 4 4 Requires at least: 2.5 5 Tested up to: 2. 8.55 Tested up to: 2.9.1 6 6 Stable tag: 1.00 7 7 … … 40 40 There 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 41 41 42 1.0 Initial release.43 42 1.00 Initial release. 43 1.10 Bug Fix Cities with spaces where not renedered properly 44 44 == Installation == 45 45
Note: See TracChangeset
for help on using the changeset viewer.