From: Michal Vaner Date: Sun, 31 Aug 2008 19:14:49 +0000 (+0200) Subject: Update help system for 2-part menu X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=35cd090a08351c1190cff58a6ba446d3f4634775;p=pciids.git Update help system for 2-part menu --- 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=' );