Fix up the web stuff.

This commit is contained in:
Jeff Teunissen 2002-02-14 07:38:45 +00:00
parent 0cde05a80f
commit bca1559500
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@
<SELECT name="year">
<?
if ($year == "")
$year = 2001;
for ( $i = 2000 ; $i <= 2001 ; $i++ ) {
$year = date ('Y');
for ($i = 2000; $i <= date ('Y'); $i++ ) {
printf ("<OPTION%s>%04d</OPTION>", $i == $year ? " selected" : "", $i);
}
?>