From 1161092ca5c84b39335f9c632c261efddcfaac93 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 13 Sep 2005 02:06:28 +0000 Subject: =?UTF-8?q?Bug=20308150:=20admin/products/deleted.html.tmpl=20does?= =?UTF-8?q?n't=20include=20admin/products/footer.html.tmpl=20-=20Patch=20b?= =?UTF-8?q?y=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3DGav?= =?UTF-8?q?inS=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 1197264c4..315dfd059 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 6b31dbb09..3252f97c9 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 157e71582..531e6c48e 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 %] -- cgit v1.2.1