added wind data

This commit is contained in:
tony baldwin 2013-02-11 17:10:37 -05:00
parent 6ec3a4059a
commit a0a918369c
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -40,6 +40,7 @@ function curweather_network_mod_init(&$fk_app,&$b) {
$weather = $wxdata['WEATHER']; $weather = $wxdata['WEATHER'];
$rhumid = $wxdata['RELATIVE_HUMIDITY']; $rhumid = $wxdata['RELATIVE_HUMIDITY'];
$pressure = $wxdata['PRESSURE_STRING']; $pressure = $wxdata['PRESSURE_STRING'];
$wind = $wxdata['WIND_STRING'];
$curweather = '<div id="curweather-network" class="widget"> $curweather = '<div id="curweather-network" class="widget">
<div class="title tool"> <div class="title tool">
<h4>'.t("Current Weather").'</h4></div>'; <h4>'.t("Current Weather").'</h4></div>';
@ -47,7 +48,8 @@ function curweather_network_mod_init(&$fk_app,&$b) {
$curweather .= "Weather: $weather<br /> $curweather .= "Weather: $weather<br />
Temperature: $temp<br /> Temperature: $temp<br />
Relative Humidity: $rhumid<br /> Relative Humidity: $rhumid<br />
Pressure: $pressure"; Pressure: $pressure<br />
Wind: $wind";
$curweather .= '</div><div class="clear"></div>'; $curweather .= '</div><div class="clear"></div>';