cvs: pear /Services_Weather/examples weather.com-extensive.php

From: Date: Thu, 21 Jul 2005 15:09:35 +0000
Subject: cvs: pear /Services_Weather/examples weather.com-extensive.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-33199@lists.php.net to get a copy of this message
eru Thu Jul 21 11:09:35 2005 EDT Modified files: /pear/Services_Weather/examples weather.com-extensive.php Log: o Fixed bug in display of wind direction in forecast http://cvs.php.net/diff.php/pear/Services_Weather/examples/weather.com-extensive.php?r1=1.11&r2=1.12&ty=u Index: pear/Services_Weather/examples/weather.com-extensive.php diff -u pear/Services_Weather/examples/weather.com-extensive.php:1.11 pear/Services_Weather/examples/weather.com-extensive.php:1.12 --- pear/Services_Weather/examples/weather.com-extensive.php:1.11 Sat Jul 10 08:37:14 2004 +++ pear/Services_Weather/examples/weather.com-extensive.php Thu Jul 21 11:09:31 2005 @@ -16,7 +16,7 @@ // | Authors: Alexander Wirtz <alex@pc4p.net> | // +----------------------------------------------------------------------+ // -// $Id: weather.com-extensive.php,v 1.11 2004/07/10 12:37:14 eru Exp $ +// $Id: weather.com-extensive.php,v 1.12 2005/07/21 15:09:31 eru Exp $ /* * Well, this is a more elaborate example how to create a neat little page @@ -281,8 +281,8 @@ <td align="center" style="height: 45px"><?=$forecast["days"][$day]["night"]["precipitation"]?>%</td> </tr> <tr> - <td align="center" style="height: 45px"><?=$afternoon ? "&nbsp;" : round($forecast["days"][$day]["day"]["wind"], 0).$units["wind"]." from&nbsp;".$forecast["days"][0]["day"]["windDirection"]?></td> - <td align="center" style="height: 45px"><?=round($forecast["days"][$day]["night"]["wind"], 0).$units["wind"]?> from&nbsp;<?=$forecast["days"][0]["day"]["windDirection"]?></td> + <td align="center" style="height: 45px"><?=$afternoon ? "&nbsp;" : round($forecast["days"][$day]["day"]["wind"], 0).$units["wind"]." from&nbsp;".$forecast["days"][$day]["day"]["windDirection"]?></td> + <td align="center" style="height: 45px"><?=round($forecast["days"][$day]["night"]["wind"], 0).$units["wind"]?> from&nbsp;<?=$forecast["days"][$day]["night"]["windDirection"]?></td> </tr> <tr> <td align="center" style="height: 15px"><?=$afternoon ? "" : $forecast["days"][$day]["day"]["humidity"]."%"?></td>

« previous php.pear.cvs (#33199) next »