From 1161092ca5c84b39335f9c632c261efddcfaac93 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 13 Sep 2005 02:06:28 +0000 Subject: [PATCH] =?utf8?q?Bug=20308150:=20admin/products/deleted.html.tmpl?= =?utf8?q?=20doesn't=20include=20admin/products/footer.html.tmpl=20-=20Pat?= =?utf8?q?ch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r?= =?utf8?q?=3DGavinS=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- editproducts.cgi | 1 + template/en/default/admin/products/deleted.html.tmpl | 4 ++++ template/en/default/admin/products/footer.html.tmpl | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/editproducts.cgi b/editproducts.cgi index 1197264c4a..315dfd0599 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -629,6 +629,7 @@ if ($action eq 'delete') { {product => $product}); $vars->{'product'} = $product; + $vars->{'classification'} = $classification; my $bug_ids = $dbh->selectcol_arrayref(q{ SELECT bug_id FROM bugs diff --git a/template/en/default/admin/products/deleted.html.tmpl b/template/en/default/admin/products/deleted.html.tmpl index 6b31dbb09a..3252f97c9d 100644 --- a/template/en/default/admin/products/deleted.html.tmpl +++ b/template/en/default/admin/products/deleted.html.tmpl @@ -38,4 +38,8 @@ Product [% product FILTER html %] deleted.

+[% PROCESS admin/products/footer.html.tmpl + no_edit_product_link = 1 +%] + [% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/admin/products/footer.html.tmpl b/template/en/default/admin/products/footer.html.tmpl index 157e715820..531e6c48eb 100644 --- a/template/en/default/admin/products/footer.html.tmpl +++ b/template/en/default/admin/products/footer.html.tmpl @@ -28,7 +28,7 @@ # no_add_product_link #%] -[% IF classification %] +[% IF Param('useclassification') && classification %] [% classification_url_part = BLOCK %]&classification= [%- classification FILTER url_quote %] [% END %] -- 2.47.3