mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 17:13:40 +00:00
commit
b8c4455d84
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'];
|
$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