From bb587d719bbe170eacf0506f15565e926f5ffd7e Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Thu, 22 Jul 2004 13:48:59 +0000 Subject: Bug 238544: Emit appropriate error if content and matches are used in invalid search combinations. r=jouni a=justdave --- template/en/default/global/user-error.html.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'template') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index ed95724fb..503715ba2 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -691,6 +691,12 @@ [% title = "Access Denied" %] You do not have the permissions necessary to run a sanity check. + [% ELSIF error == "search_content_without_matches" %] + [% title = "Illegal Search" %] + The "content" field can only be used with "matches" search + and the "matches" search can only be used with the "content" + field. + [% ELSIF error == "series_already_exists" %] [% title = "Series Already Exists" %] A series named [% series.category FILTER html %] / -- cgit v1.2.3-24-g4f1b