aboutsummaryrefslogtreecommitdiffstats
path: root/english/lts/security/index.include
blob: 5411985cd6df772e54db2c39e0f7aeb2c33e7c2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#use wml::std::tags
<perl>
# get_past_sec_list
# Generates a flat comma separated list of previous years security advisories.

sub get_past_sec_list {

my $str = '';

for ($year = $(CUR_YEAR) ; $year >= 2014; $year--) {
  $str .=" <a href=\"$year/\">$year</a>,"
    if -d "$(ENGLISHDIR)/lts/security/$year";
   }

return $str;
}

</perl>

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