forked from friendica/friendica-addons
added wind data
This commit is contained in:
parent
6ec3a4059a
commit
a0a918369c
BIN
curweather.tgz
BIN
curweather.tgz
Binary file not shown.
|
@ -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>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue