]> mj.ucw.cz Git - pciids.git/blobdiff - PciIds/Html/List.pm
Fix odd links
[pciids.git] / PciIds / Html / List.pm
index 6eeb6b270d012bf07f8a21c85cf557d419b7b26b..b2f3df058e57f9050306c5c4643baf68133236c5 100644 (file)
@@ -43,7 +43,7 @@ sub list( $$$$ ) {
        my $id = $address->top()->pretty();
        genHtmlHead( $req, $id, "<style type='text/css' media='screen,print'>col.id-col { width: ".$address->subIdSize()*1.25."ex; }</style>\n" );
        print "<div class='top'>\n";
-       genMenu( $req, $address, $args, $auth, [ [ 'Help', 'help', 'list' ], $address->helpName() ? [ 'ID syntax', 'help', $address->helpName() ] : (), [ '', 'jump' ] ] );
+       genMenu( $req, $address, $args, $auth, [ [ 'Help', 'help', 'list' ], $address->helpName() ? [ 'ID syntax', 'help', $address->helpName() ] : () ] );
        print '<div class="bluesquare"><h1>The PCI ID Repository</h1><p class="home">The home of the <code>pci.ids</code> file</div>';
        print "<div class='clear'></div></div>\n";
        genPath( $req, $address, 0 );
@@ -96,7 +96,7 @@ sub list( $$$$ ) {
                genTableTail();
                print "<p><a href='".buildExcept( 'action', $args )."?action=newitem'>Add item</a>\n";
        }
-       genHtmlTail();
+       genHtmlFooter( 1, $req, $args );
        return OK;
 }