Update of /cvsroot/phpweather/web
In directory usw-pr-cvs1:/tmp/cvs-serv15189
Modified Files:
index.php
Log Message:
XHTML time, guys. Close those tags... :)
Index: index.php
===================================================================
RCS file: /cvsroot/phpweather/web/index.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- index.php 26 Mar 2002 22:05:13 -0000 1.16
+++ index.php 27 Mar 2002 14:39:21 -0000 1.17
@@ -1,9 +1,9 @@
<?php
require_once('include/header.php');
-require_once('phpweather/phpweather.php');
-require_once('phpweather/output/pw_text_en.php');
-require_once('phpweather/output/pw_images.php');
-require_once('phpweather/pw_utilities.php');
+require_once('../phpweather/phpweather.php');
+require_once('../phpweather/output/pw_text_en.php');
+require_once('../phpweather/output/pw_images.php');
+require_once('../phpweather/pw_utilities.php');
?>
<p>This is the homepage of PHP Weather at <a
@@ -22,11 +22,11 @@
echo '<p>Current weather for ' . $weather->get_location() . ': <br />' .
'<img src="' . $images->get_sky_image() .
- '" height="50" width="80" border="1" alt="Current weather"> ' .
+ '" height="50" width="80" border="1" alt="Current weather" /> ' .
'<img src="' . $images->get_winddir_image() .
- '" height="40" width="40" border="1" alt="Current wind"> ' .
+ '" height="40" width="40" border="1" alt="Current wind" /> ' .
'<img src="' . $images->get_temp_image() .
- '" height="50" width="20" border="1" alt="Current temperature"></p>';
+ '" height="50" width="20" border="1" alt="Current temperature" /></p>';
echo "<p>A textual report looks like this:</p>\n";
@@ -43,13 +43,13 @@
echo '
<p>
<form action="index.php" method="post">
-<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>
';
@@ -61,7 +61,7 @@
echo '
<p>
<form action="index.php" method="post">
-<input type="hidden" name="action" value="show_weather">
+<input type="hidden" name="action" value="show_weather" />
';
if (empty($icao)) $icao = '';
@@ -73,7 +73,7 @@
make_languages_select($weather, $language);
echo '
-<input type="submit">
+<input type="submit" />
</form>
</p>
';
@@ -83,7 +83,7 @@
echo '
<p>
<form action="index.php" method="post">
-<input type="hidden" name="action" value="show_weather">
+<input type="hidden" name="action" value="show_weather" />
';
make_countries_select($weather, $cc);
@@ -118,11 +118,11 @@
echo "<blockquote>\n";
echo '<img src="' . $icons->get_sky_image() .
- '" height="50" width="80" border="1" alt="Current weather"> ';
+ '" height="50" width="80" border="1" alt="Current weather" /> ';
echo '<img src="' . $icons->get_winddir_image() .
- '" height="40" width="40" border="1" alt="Current wind"> ';
+ '" height="40" width="40" border="1" alt="Current wind" /> ';
echo '<img src="' . $icons->get_temp_image() .
- '" height="50" width="20" border="1" alt="Current temperature">';
+ '" height="50" width="20" border="1" alt="Current temperature" />';
echo "</blockquote>\n";
|