aboutsummaryrefslogtreecommitdiffstats
path: root/norwegian/News
diff options
context:
space:
mode:
authorPeter Karlsson <peterk>2003-01-18 10:50:40 +0000
committerPeter Karlsson <peterk>2003-01-18 10:50:40 +0000
commitbbfaf503692d8a9fe311e3649d17867102ebca5e (patch)
tree3f837fe7728e1d541b9d3fc714ec846f0b55eff7 /norwegian/News
parent846d509e142357c5c3fc26c0c44c87a98efa4d53 (diff)
Sync: Make sure that all the available year subdirectories always are listed
on the front page by using a little Perl script to list all valid years, from the current year and back. This way we can forget to update this page next year, too... (1.20) CVS version numbers norwegian/News/weekly/index.wml: 1.12 -> 1.13
Diffstat (limited to 'norwegian/News')
-rw-r--r--norwegian/News/weekly/index.wml11
1 files changed, 8 insertions, 3 deletions
diff --git a/norwegian/News/weekly/index.wml b/norwegian/News/weekly/index.wml
index 91f9cb6ae25..c6421d946fa 100644
--- a/norwegian/News/weekly/index.wml
+++ b/norwegian/News/weekly/index.wml
@@ -1,6 +1,6 @@
#use wml::debian::weeklynews::header PAGENAME="Indeks"
#use wml::debian::weeklynews::index
-#use wml::debian::translation-check translation="1.19"
+#use wml::debian::translation-check translation="1.20"
<!--Oversatt til norsk av Tor Slettnes (tor@slett.net)-->
<p>
@@ -16,8 +16,13 @@
<p>
Eldre utgaver fra
- <a href="2002/">2002</a>,
- <a href="2001/">2001</a>,
+ <:
+ for ($year = $(CUR_YEAR); $year > 2000; $year --)
+ {
+ print qq'<a href="$year/">$year</a>,\n'
+ if -d "$(ENGLISHDIR)/News/weekly/$year";
+ }
+ :>
<a href="2000/">2000</a> og <a href="1999/">1999</a>
er også tilgjengelige.
</p>

© 2014-2024 Faster IT GmbH | imprint | privacy policy