Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
44858935
Commit
44858935
authored
22 years ago
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 150703: Adds format support to query.cgi.
2rx=gerv
parent
78cbd8ba
master
dev
master-old
release-5.0-stable
version-5.2
release-5.0.6-etersoft
release-5.0.5-etersoft
release-5.0.4-etersoft
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
query.cgi
query.cgi
+3
-1
No files found.
query.cgi
View file @
44858935
...
...
@@ -376,6 +376,8 @@ $default{'querytype'} = $deforder || 'Importance';
$vars
->
{
'default'
}
=
\%
default
;
# Generate and return the UI (HTML page) from the appropriate template.
$::FORM
{
'format'
}
||=
"classic"
;
my
$format
=
ValidateOutputFormat
(
$::FORM
{
'format'
},
"search"
);
print
"Content-type: text/html\n\n"
;
$template
->
process
(
"search/
search.html.tmpl
"
,
$vars
)
$template
->
process
(
"search/
$format->{'template'}
"
,
$vars
)
||
ThrowTemplateError
(
$template
->
error
());
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment