Some changes to the navigation thing

Hopefully this is an improvement...
This commit is contained in:
Yorhel 2012-07-11 15:26:45 +02:00
parent 147e76d405
commit 9da5d16480
2 changed files with 55 additions and 54 deletions

View file

@ -328,19 +328,7 @@ sub browsepkg {
sub manjslist {
my($self, $m) = @_;
# For JS: (Already sorted)
# [
# ["System", "Full name", "short" [
# [ "package", "version", [
# [ "section", "locale"||null ],
# ...
# ],
# ],
# ...
# ],
# ],
# ...
# ]
# The structure we generate is described in the JS code.
my %sys;
push @{$sys{$_->{system}}}, $_ for (@$m);
[
@ -419,7 +407,7 @@ sub man {
my $man = getman($self, $name, $hash, $m);
$self->htmlHeader(title => $name);
div id => 'nav', ' '; # To be filled in by JS
div id => 'nav', 'Sorry, this navigation menu won\'t display without Javascript. :-(';
h1 $man->{name};
p;