projects
/
infodrom.org
/
oldenburg.linux.de
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28f723
)
From now on old dates will be provided via PHP
author
Joey Schulze
<joey@infodrom.org>
Sun, 15 Jun 2008 09:31:44 +0000
(09:31 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 15 Jun 2008 09:31:44 +0000
(09:31 +0000)
src/Termine/years.inc
patch
|
blob
|
history
diff --git
a/src/Termine/years.inc
b/src/Termine/years.inc
index
5f36241
..
3a2f231
100644
(file)
--- a/
src/Termine/years.inc
+++ b/
src/Termine/years.inc
@@
-30,7
+30,8
@@
my @y;
my $max = (localtime(time - 30*24*60*60))[5]+1900;
foreach my $year (2000..$max) {
- push (@y, sprintf ("<a href=\"%s.html\">%s</a>", $year, $year))
+ push (@y, sprintf ("<a href=\"%s.%s\">%s</a>",
+ $year, $year >= 2008?"php":"html", $year))
if ($year ne "<get-var WML_SRC_BASENAME>");
}
printf "<p>Vergangene Termine in %s</p>\n", join (", ", @y);