From 89cb993e9633f3f8ddaf163efc30f2337a39995e Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" Date: Wed, 30 Aug 2000 23:44:36 +0000 Subject: [PATCH] fix for 44617: edit*.cgi: Should show which product you're working on patches by mtakacs@pacbell.net (Tak) --- webtools/bugzilla/editcomponents.cgi | 14 +++++++------- webtools/bugzilla/editmilestones.cgi | 14 +++++++------- webtools/bugzilla/editversions.cgi | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/webtools/bugzilla/editcomponents.cgi b/webtools/bugzilla/editcomponents.cgi index 9f7f43f6c2cd..787c6983a951 100755 --- a/webtools/bugzilla/editcomponents.cgi +++ b/webtools/bugzilla/editcomponents.cgi @@ -263,7 +263,7 @@ unless ($product) { # unless ($action) { - PutHeader("Select component"); + PutHeader("Select component of $product"); CheckProduct($product); if ($dobugcounts) { @@ -330,7 +330,7 @@ $dobugcounts = 1; # Stupid hack to force further PutTrailer() # if ($action eq 'add') { - PutHeader("Add component"); + PutHeader("Add component of $product"); CheckProduct($product); #print "This page lets you add a new product to bugzilla.\n"; @@ -358,7 +358,7 @@ if ($action eq 'add') { # if ($action eq 'new') { - PutHeader("Adding new component"); + PutHeader("Adding new component of $product"); CheckProduct($product); # Cleanups and valididy checks @@ -440,7 +440,7 @@ if ($action eq 'new') { # if ($action eq 'del') { - PutHeader("Delete component"); + PutHeader("Delete component of $product"); CheckComponent($product, $component); # display some data about the component @@ -556,7 +556,7 @@ one."; # if ($action eq 'delete') { - PutHeader("Deleting component"); + PutHeader("Deleting component of $product"); CheckComponent($product,$component); # lock the tables before we start to change everything: @@ -620,7 +620,7 @@ if ($action eq 'delete') { # if ($action eq 'edit') { - PutHeader("Edit component"); + PutHeader("Edit component of $product"); CheckComponent($product,$component); # get data of component @@ -682,7 +682,7 @@ if ($action eq 'edit') { # if ($action eq 'update') { - PutHeader("Update component"); + PutHeader("Update component of $product"); my $componentold = trim($::FORM{componentold} || ''); my $description = trim($::FORM{description} || ''); diff --git a/webtools/bugzilla/editmilestones.cgi b/webtools/bugzilla/editmilestones.cgi index fcd81ea0941c..9eadeeba2dcb 100755 --- a/webtools/bugzilla/editmilestones.cgi +++ b/webtools/bugzilla/editmilestones.cgi @@ -212,7 +212,7 @@ unless ($product) { # unless ($action) { - PutHeader("Select milestone"); + PutHeader("Select milestone for $product"); CheckProduct($product); SendSQL("SELECT value,sortkey @@ -255,7 +255,7 @@ unless ($action) { # if ($action eq 'add') { - PutHeader("Add milestone"); + PutHeader("Add milestone for $product"); CheckProduct($product); #print "This page lets you add a new milestone to a $::bugzilla_name tracked product.\n"; @@ -283,7 +283,7 @@ if ($action eq 'add') { # if ($action eq 'new') { - PutHeader("Adding new milestone"); + PutHeader("Adding new milestone for $product"); CheckProduct($product); # Cleanups and valididy checks @@ -326,7 +326,7 @@ if ($action eq 'new') { # if ($action eq 'del') { - PutHeader("Delete milestone"); + PutHeader("Delete milestone of $product"); CheckMilestone($product, $milestone); SendSQL("SELECT count(bug_id),product,target_milestone @@ -401,7 +401,7 @@ one."; # if ($action eq 'delete') { - PutHeader("Deleting milestone"); + PutHeader("Deleting milestone of $product"); CheckMilestone($product,$milestone); # lock the tables before we start to change everything: @@ -466,7 +466,7 @@ if ($action eq 'delete') { # if ($action eq 'edit') { - PutHeader("Edit milestone"); + PutHeader("Edit milestone of $product"); CheckMilestone($product,$milestone); SendSQL("SELECT sortkey FROM milestones WHERE product=" . @@ -502,7 +502,7 @@ if ($action eq 'edit') { # if ($action eq 'update') { - PutHeader("Update milestone"); + PutHeader("Update milestone of $product"); my $milestoneold = trim($::FORM{milestoneold} || ''); my $sortkeyold = trim($::FORM{sortkeyold} || '0'); diff --git a/webtools/bugzilla/editversions.cgi b/webtools/bugzilla/editversions.cgi index afc223bd8dfc..0efbc070b86e 100755 --- a/webtools/bugzilla/editversions.cgi +++ b/webtools/bugzilla/editversions.cgi @@ -222,7 +222,7 @@ unless ($product) { # unless ($action) { - PutHeader("Select version"); + PutHeader("Select version of $product"); CheckProduct($product); =for me @@ -277,7 +277,7 @@ unless ($action) { # if ($action eq 'add') { - PutHeader("Add version"); + PutHeader("Add version of $product"); CheckProduct($product); #print "This page lets you add a new version to a bugzilla-tracked product.\n"; @@ -348,7 +348,7 @@ if ($action eq 'new') { # if ($action eq 'del') { - PutHeader("Delete version"); + PutHeader("Delete version of $product"); CheckVersion($product, $version); SendSQL("SELECT count(bug_id),product,version @@ -412,7 +412,7 @@ one."; # if ($action eq 'delete') { - PutHeader("Deleting version"); + PutHeader("Deleting version of $product"); CheckVersion($product,$version); # lock the tables before we start to change everything: @@ -477,7 +477,7 @@ if ($action eq 'delete') { # if ($action eq 'edit') { - PutHeader("Edit version"); + PutHeader("Edit version of $product"); CheckVersion($product,$version); print "
\n"; @@ -507,7 +507,7 @@ if ($action eq 'edit') { # if ($action eq 'update') { - PutHeader("Update version"); + PutHeader("Update version of $product"); my $versionold = trim($::FORM{versionold} || '');