From: Michal Vaner Date: Mon, 8 Sep 2008 20:51:05 +0000 (+0200) Subject: Help index only in other helps X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=32d33305cf86691a4390dfc1538473cd4f94f75b;p=pciids.git Help index only in other helps --- diff --git a/PciIds/Html/Help.pm b/PciIds/Html/Help.pm index b16e562..5d08334 100644 --- a/PciIds/Html/Help.pm +++ b/PciIds/Html/Help.pm @@ -37,7 +37,7 @@ sub getHelp( $$ ) { genHtmlHead( $req, $head, undef ); my $addr = PciIds::Address::new( $req->uri() ); print "
\n"; - genMenu( $req, $addr, $args, $auth, [ [ 'Help index', 'help', 'index' ] ] ); + genMenu( $req, $addr, $args, $auth, [ ( $helpname eq 'index' ) ? () : [ 'Help index', 'help', 'index' ] ] ); print "

$head

\n"; print "
\n"; genPath( $req, $addr, 1 );