From: Robert Fitzsimons Date: Thu, 28 Dec 2006 01:03:11 GMT Subject: Re: [RFC/PATCH 6/6] gitweb: Make possible to run under mod_perl without ParseHeaders Message-ID: <20061228010311.GD6558@localhost> In-Reply-To: <200612280106.24331.jnareb@gmail.com> > @@ -1854,7 +1976,8 @@ EOF > $cgi->hidden(-name => "a") . "\n" . > $cgi->hidden(-name => "h") . "\n" . > $cgi->popup_menu(-name => 'st', -default => 'commit', > - -values => ['commit', 'author', 'committer', 'pickaxe']) . > + -values => ['commit', 'author', 'committer', > + gitweb_check_feature('pickaxe') ? 'pickaxe' : ()]) . > $cgi->sup($cgi->a({-href => href(action=>"search_help")}, "?")) . > " search:\n", > $cgi->textfield(-name => "s", -value => $searchtext) . "\n" . This should be a separate patch. Robert