]> mj.ucw.cz Git - pciids.git/blobdiff - PciIds/Html/List.pm
Fix odd links
[pciids.git] / PciIds / Html / List.pm
index bc5866a3c89dd9a5648b1ae2104f7d06d897122f..b2f3df058e57f9050306c5c4643baf68133236c5 100644 (file)
@@ -43,10 +43,9 @@ 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' ] ] );
-       print '<h1>'.encode( $id ).'</h1>';
-       print "<div class='clear'></div>\n";
-       print "</div\n>";
+       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 );
        print htmlDiv( 'name', '<p>Name: '.encode( $name ) ) if defined $name && $name ne '';
        print htmlDiv( 'note', '<p>Note: '.encode( $note ) ) if defined $note && $note ne '';
@@ -97,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;
 }