From 7376b09e2d81d6b673d72ccf11c043d8790e5f72 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 6 Aug 2006 06:32:36 +0000 Subject: Bug 347277: Entering an non-integer sortkey crashes editclassifications.cgi - Patch by Frédéric Buclin r=bkor a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index bd50bdcd7..c1bb099cf 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -261,6 +261,11 @@ The classification '[% classification FILTER html %]' does not exist for product '[% product FILTER html %]'. + [% ELSIF error == "classification_invalid_sortkey" %] + [% title = "Invalid Sortkey for Classification" %] + The sortkey [% sortkey FILTER html %] for the '[% name FILTER html %]' + classification is invalid. It must be a positive integer. + [% ELSIF error == "classification_not_deletable" %] [% title = "Default Classification Can Not Be Deleted" %] You can not delete the default classification -- cgit v1.2.3-24-g4f1b