mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 17:10:21 +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'];
|
||||
$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