]> git.mxchange.org Git - friendica-addons.git/commitdiff
include the last time updates as title of the header of the widget
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 12 Jul 2015 06:33:49 +0000 (08:33 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 12 Jul 2015 06:33:49 +0000 (08:33 +0200)
curweather/curweather.php

index 33b1df679f070c4ce2eca95dff1db1987f6a4350..48457fe09252e77ed82be5260f3c25229d247178 100644 (file)
@@ -125,7 +125,7 @@ function curweather_network_mod_init(&$fk_app,&$b) {
 
     $curweather = '<div id="curweather-network" class="widget">
                <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 .= t('Relative Humidity').": $rhumid<br />";