Added support for the current year
authorJoey Schulze <joey@infodrom.org>
Tue, 16 Dec 2003 15:09:15 +0000 (15:09 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 16 Dec 2003 15:09:15 +0000 (15:09 +0000)
src/Infos/liste.wml

index b30fe93..18b5fe1 100644 (file)
@@ -36,7 +36,9 @@ damit die Fragen nicht immer wieder gestellt werden.
 <center><table border=0 cellpadding=2 cellspacing=10 width=50%>
 <tr>
 <:
-    @dirs = ('1998','1999','2000','2001');
+    my $year = (localtime())[5]+1900;
+
+    @dirs = (1998..$year);
     $url = "<url ml-linux-stammtisch>";
 
     foreach $rubrik (@dirs) {