Display next years' date in December
authorJoey Schulze <joey@infodrom.org>
Sat, 12 Dec 2009 10:41:25 +0000 (10:41 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 12 Dec 2009 10:41:25 +0000 (10:41 +0000)
src/Termine/index.wml

index 72b6d91..230cc8d 100644 (file)
@@ -22,6 +22,13 @@ Veranstaltung in Oldenburg statt.</p>
 
 <? display_dates(); ?>
 
+<?
+  if (date('m') == 12) {
+    $dates = readdb("dates-".(date("Y")+1).".txt");
+    display_dates();
+  }
+?>
+
 <more_years>
 
 </page>