mirror of
https://github.com/git/git.git
synced 2024-10-30 22:07:53 +01:00
Merge branch 'rm/gitweb-start-form'
* rm/gitweb-start-form: gitweb: use start_form, not startform that was removed in CGI.pm 4.04
This commit is contained in:
commit
7df3b072a9
1 changed files with 2 additions and 2 deletions
|
@ -4100,7 +4100,7 @@ sub print_search_form {
|
|||
if ($use_pathinfo) {
|
||||
$action .= "/".esc_url($project);
|
||||
}
|
||||
print $cgi->startform(-method => "get", -action => $action) .
|
||||
print $cgi->start_form(-method => "get", -action => $action) .
|
||||
"<div class=\"search\">\n" .
|
||||
(!$use_pathinfo &&
|
||||
$cgi->input({-name=>"p", -value=>$project, -type=>"hidden"}) . "\n") .
|
||||
|
@ -5510,7 +5510,7 @@ sub git_project_search_form {
|
|||
}
|
||||
|
||||
print "<div class=\"projsearch\">\n";
|
||||
print $cgi->startform(-method => 'get', -action => $my_uri) .
|
||||
print $cgi->start_form(-method => 'get', -action => $my_uri) .
|
||||
$cgi->hidden(-name => 'a', -value => 'project_list') . "\n";
|
||||
print $cgi->hidden(-name => 'pf', -value => $project_filter). "\n"
|
||||
if (defined $project_filter);
|
||||
|
|
Loading…
Reference in a new issue