From 430a652fcfc2ab50665fadd47fd3689d24446348 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sat, 13 Oct 2001 08:36:13 +0000 Subject: Fix for bug 104516: No code changes in this patch, all this checkin does is remove all tabs from the bugzilla source and replace it with the appropriate number of spaces (in most cases 8) to line up with existing code. This is part of the effort to bring the existing codebase up to par with our style guidelines. Patch by Jake Steehagen r= justdave x2 --- queryhelp.cgi | 110 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) (limited to 'queryhelp.cgi') diff --git a/queryhelp.cgi b/queryhelp.cgi index b4638ca14..5d312b2db 100755 --- a/queryhelp.cgi +++ b/queryhelp.cgi @@ -19,8 +19,8 @@ # Rights Reserved. # # Contributor(s): Brian Bober -# Terry Weissman -# Tara Hernandez +# Terry Weissman +# Tara Hernandez use vars %::FORM; @@ -585,40 +585,40 @@ $line_count = 0; $max_table_size = 50; my @products; -$tableheader = qq{

}; + print qq{ }; } -print qq{ +print qq{
- - - - }; +$tableheader = qq{

ProductDescription
+ + + + }; print qq{ - $tableheader + $tableheader }; SendSQL("SELECT product,description FROM products ORDER BY product"); - while (MoreSQLData()) { + while (MoreSQLData()) { - my ($product, $productdesc) = FetchSQLData(); - push (@products, $product); + my ($product, $productdesc) = FetchSQLData(); + push (@products, $product); - $line_count++; - if ($line_count > $max_table_size) { - print qq{ -
ProductDescription
- $tableheader - }; - $line_count=1; - } + $line_count++; + if ($line_count > $max_table_size) { + print qq{ +
+ $tableheader + }; + $line_count=1; + } - print qq{
$product$productdesc
$product$productdesc
}; @@ -642,41 +642,41 @@ entered instead (milestones explained below). $line_count = 0; $tableheader = qq{ -

- - - - - +

+

ComponentProductDescription
+ + + + }; -print qq{ +print qq{

Component

Each product has components, against which bugs can be filed. Components are parts of the product, and are assigned to a module owner. The following lists components and their associated products: - $tableheader + $tableheader }; foreach $product (@products) { - SendSQL("SELECT value,description FROM components WHERE program=" . SqlQuote($product) . " ORDER BY value"); + SendSQL("SELECT value,description FROM components WHERE program=" . SqlQuote($product) . " ORDER BY value"); - while (MoreSQLData()) { + while (MoreSQLData()) { - my ($component, $compdesc) = FetchSQLData(); + my ($component, $compdesc) = FetchSQLData(); - $line_count++; - if ($line_count > $max_table_size) { - print qq{ -

ComponentProductDescription
- $tableheader - }; - $line_count=0; - } - print qq{$component$product$compdesc}; - } + $line_count++; + if ($line_count > $max_table_size) { + print qq{ + + $tableheader + }; + $line_count=0; + } + print qq{$component$product$compdesc}; + } } @@ -884,9 +884,9 @@ queries, but it's not the easiest thing to learn (or explain).


-   -