From 8d6671f06bf7d6864cffcaccf4ef4b7e09b80675 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Wed, 2 Oct 2002 05:07:08 +0000 Subject: Bug 170903 - Remove hard-coded titles and things. Patch by gerv; r=bbaetz. --- enter_bug.cgi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index a7733ec3e..f53c63dd6 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -88,9 +88,6 @@ if (!defined $::FORM{'product'}) { $vars->{'target'} = "enter_bug.cgi"; $vars->{'format'} = $::FORM{'format'}; - $vars->{'title'} = "Enter Bug"; - $vars->{'h2'} = - "First, you must pick a product on which to enter a bug."; print "Content-type: text/html\n\n"; $template->process("global/choose-product.html.tmpl", $vars) @@ -284,7 +281,6 @@ $default{'component_'} = formvalue('component'); $vars->{'assigned_to'} = formvalue('assigned_to'); $vars->{'cc'} = formvalue('cc'); $vars->{'reporter'} = $::COOKIE{'Bugzilla_login'}; -$vars->{'user_agent'} = $ENV{'HTTP_USER_AGENT'}; $vars->{'product'} = $product; $vars->{'bug_file_loc'} = formvalue('bug_file_loc', "http://"); $vars->{'short_desc'} = formvalue('short_desc'); @@ -352,8 +348,7 @@ while (MoreSQLData()) { my $check; # If this is the group for this product, make it checked. - if(formvalue("maketemplate") eq - "Remember values as bookmarkable template") + if(formvalue("maketemplate") ne "") { # If this is a bookmarked template, then we only want to set the # bit for those bits set in the template. -- cgit v1.2.3-24-g4f1b