From 35cd090a08351c1190cff58a6ba446d3f4634775 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sun, 31 Aug 2008 21:14:49 +0200 Subject: [PATCH] Update help system for 2-part menu --- PciIds/Html/Help.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PciIds/Html/Help.pm b/PciIds/Html/Help.pm index bd8c70b..0911a42 100644 --- a/PciIds/Html/Help.pm +++ b/PciIds/Html/Help.pm @@ -21,8 +21,8 @@ sub getHelp( $$ ) { print "
\n"; print "

$head".( defined $addr ? " (".$addr->pretty().")" : "" )."

\n"; genMenu( $req, $addr, $args, $auth, [ [ 'Help index', 'help', 'index' ] ] ); - genPath( $req, $addr, 1 ); print "
\n"; + genPath( $req, $addr, 1 ); my $url = setAddrPrefix( $req->uri(), 'read' ).buildExcept( 'help', $args ).'?help='; delete $args->{'help'}; my %repls = ( 'HELP_URL' => $url, 'AC_URL' => setAddrPrefix( $req->uri(), 'mods' ).buildExcept( 'action', $args ).'?action=' ); -- 2.39.2