Fix up the web stuff.

This commit is contained in:
Jeff Teunissen 2002-02-14 07:38:45 +00:00
parent 0cde05a80f
commit bca1559500

View file

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