mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-17 11:03:47 +00:00
added wind data
This commit is contained in:
parent
6ec3a4059a
commit
a0a918369c
2 changed files with 3 additions and 1 deletions
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'];
|
||||
$rhumid = $wxdata['RELATIVE_HUMIDITY'];
|
||||
$pressure = $wxdata['PRESSURE_STRING'];
|
||||
$wind = $wxdata['WIND_STRING'];
|
||||
$curweather = '<div id="curweather-network" class="widget">
|
||||
<div class="title tool">
|
||||
<h4>'.t("Current Weather").'</h4></div>';
|
||||
|
@ -47,7 +48,8 @@ function curweather_network_mod_init(&$fk_app,&$b) {
|
|||
$curweather .= "Weather: $weather<br />
|
||||
Temperature: $temp<br />
|
||||
Relative Humidity: $rhumid<br />
|
||||
Pressure: $pressure";
|
||||
Pressure: $pressure<br />
|
||||
Wind: $wind";
|
||||
|
||||
$curweather .= '</div><div class="clear"></div>';
|
||||
|
||||
|
|
Loading…
Reference in a new issue