mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 07:11:43 +00:00
Fix up the web stuff.
This commit is contained in:
parent
0cde05a80f
commit
bca1559500
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue