include the last time updates as title of the header of the widget

This commit is contained in:
Tobias Diekershoff 2015-07-12 08:33:49 +02:00
parent 1c720a6824
commit cf06804bc8

View File

@ -125,7 +125,7 @@ function curweather_network_mod_init(&$fk_app,&$b) {
$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").': '.$weather->city->name.'</h4></div>'; <h4 title="'.$weather->lastUpdate->format('r').'">'.t("Current Weather").': '.$weather->city->name.'</h4></div>';
$curweather .= "$description; $temp<br />"; $curweather .= "$description; $temp<br />";
$curweather .= t('Relative Humidity').": $rhumid<br />"; $curweather .= t('Relative Humidity').": $rhumid<br />";