Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv24254
Modified Files:
index.php
Log Message:
Fix those alt attributes too.
Index: index.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/index.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- index.php 27 Mar 2002 21:30:07 -0000 1.26
+++ index.php 27 Mar 2002 21:34:34 -0000 1.27
@@ -112,11 +112,14 @@
echo "<blockquote>\n";
echo '<img src="' . $icons->get_sky_image() .
- '" height="50" width="80" border="1" /> ';
+ '" height="50" width="80" border="1" alt="Current weather in ' .
+ $weather->get_location() . '" /> ';
echo '<img src="' . $icons->get_winddir_image() .
- '" height="40" width="40" border="1" /> ';
+ '" height="40" width="40" border="1" alt="Current wind in ' .
+ $weather->get_location() . '" /> ';
echo '<img src="' . $icons->get_temp_image() .
- '" height="50" width="20" border="1" />';
+ '" height="50" width="20" border="1" alt="Current weather in ' .
+ $weather->get_location() . '" />';
echo "</blockquote>\n";
|