foreach my $s (@SUITES) {
my %common_vars = ( suite => $s,
is_source => $source );
- close_file("$source$s", \%common_vars, 'allpackages');
- close_txt_file("$source$s", \%common_vars, 'allpackages');
+ my $page_base = "$source$s/";
+ close_file("$source$s", { %common_vars,
+ page_name => "${page_base}allpackages" },
+ 'allpackages');
+ close_txt_file("$source$s", { %common_vars,
+ page_name => "{$page_base}allpackages" },
+ 'allpackages');
foreach my $sec (keys %{$sections->{$s}}) {
close_file("$source$s/$sec",
{ %common_vars,
+ page_name => "$page_base$sec/",
category => { id => N_('Section'),
name => $sec }});
}
next if $ssec eq '-';
close_file("$source$s/$ssec",
{ %common_vars,
+ page_name => "$page_base$ssec/",
category => { id => N_('Subsection'),
name => $ssec }});
}
next if $prio eq '-';
close_file("$source$s/$prio",
{ %common_vars,
+ page_name => "$page_base$prio/",
category => { id => N_('Priority'),
name => $prio }});
}
}
my %content = ( vocabulary => \%voc,
facets => \@facets, tags => \@tags,
- tags_by_facet => \%tags_by_facet );
+ tags_by_facet => \%tags_by_facet,
+ used_langs => [ 'en' ]);
print TAGLST $template->page( 'tag_index', \%content );
close TAGLST or warn "Couldn't close tag list: $!";
<tr><th>[% g('SHA256 checksum') %]</th> <td><tt>[% sha256 || g('Not Available') %]</tt></td>
</table>
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name="$pkg/download" -%]
[% '</pre></div>' IF loop.last -%]
[% END %]
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name="$pkg/filelist" -%]
<a href="[% IF keyword_esc;
make_search_url('',"keywords=$keyword_esc",'lang',l.lang);
ELSE;
- "$page_name?lang=$l.lang";
+ make_url(page_name,"",'lang',l.lang);
END %]" title="[% l.tooltip %]" hreflang="[% l.lang %]" lang="[% l.lang %]" rel="alternate">[% l.selfname %]
[%- IF l.transliteration %] ([% l.transliteration %])[% END %]</a>
[% END %]
[% END %]
</p>
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name=section ? "$section/newpkg" : "newpkg" -%]
[%# <script type="text/javascript">init_tab_list("ptablist")</script> %]
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name=pkg -%]
(<a href="allpackages?format=txt.gz">[% g('compact compressed textlist') %]</a>)
</p>
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name= source ? "source/$suite/" : "$suite/" -%]
[% END %]
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name="about/debtags" -%]