CVS: phpweather index.php,1.22,1.23 pw_utilities.php,1.1,1.2
Brought to you by:
iridium
From: Max H. <ir...@us...> - 2002-03-27 14:47:38
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv17091 Modified Files: index.php pw_utilities.php Log Message: XHTMLisation Index: index.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/index.php,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- index.php 26 Mar 2002 20:09:48 -0000 1.22 +++ index.php 27 Mar 2002 14:47:34 -0000 1.23 @@ -1,3 +1,6 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "DTD/xhtml1-transitional.dtd"> <html> <head> <title>PHP Weather - test</title> @@ -34,13 +37,13 @@ echo ' <p> <form action="index.php" method="get"> -<input type="hidden" name="action" value="show_stations"> +<input type="hidden" name="action" value="show_stations" /> '; make_countries_select($weather, ''); echo ' -<input type="submit"> +<input type="submit" /> </form> </p> '; @@ -51,8 +54,8 @@ echo ' <p> -<form action="index.php" method="get"> -<input type="hidden" name="action" value="show_weather"> +<form action="index.php" method="get" /> +<input type="hidden" name="action" value="show_weather" /> '; if (empty($icao)) $icao = ''; @@ -64,7 +67,7 @@ make_languages_select($weather, $language); echo ' -<input type="submit"> +<input type="submit" /> </form> </p> '; @@ -74,7 +77,7 @@ echo ' <p> <form action="index.php" method="get"> -<input type="hidden" name="action" value="show_weather"> +<input type="hidden" name="action" value="show_weather" /> '; make_countries_select($weather, $cc); @@ -82,7 +85,7 @@ make_languages_select($weather, $language); echo ' -<input type="submit"> +<input type="submit" /> </form> </p> '; @@ -108,11 +111,11 @@ echo "<blockquote>\n"; echo '<img src="' . $icons->get_sky_image() . - '" height="50" width="80" border="1"> '; + '" height="50" width="80" border="1" /> '; echo '<img src="' . $icons->get_winddir_image() . - '" height="40" width="40" border="1"> '; + '" height="40" width="40" border="1" /> '; echo '<img src="' . $icons->get_temp_image() . - '" height="50" width="20" border="1">'; + '" height="50" width="20" border="1" />'; echo "</blockquote>\n"; Index: pw_utilities.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/pw_utilities.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- pw_utilities.php 18 Mar 2002 16:13:21 -0000 1.1 +++ pw_utilities.php 27 Mar 2002 14:47:35 -0000 1.2 @@ -17,7 +17,7 @@ } } echo "</select>\n"; - echo '<input type="hidden" name="old_cc" value="' . $old_cc . '">'; + echo '<input type="hidden" name="old_cc" value="' . $old_cc . '" />'; } @@ -39,7 +39,7 @@ } } echo "</select>\n"; - echo '<input type="hidden" name="old_icao" value="' . $old_icao . '">'; + echo '<input type="hidden" name="old_icao" value="' . $old_icao . '" />'; } @@ -58,7 +58,7 @@ } } echo "</select>\n"; - echo '<input type="hidden" name="old_language" value="' . $old_language . '">'; + echo '<input type="hidden" name="old_language" value="' . $old_language . '" />'; } ?> |