From ed1382a87a2d6aa019749b2bf85335af3e91bee7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 17 May 2012 12:56:48 -0400 Subject: [PATCH] Bug 7889 [Search errors] Use standard style for errors and messages There are two instances in the templates where markup is defined for displaying search errors. I've never seen these appear and I have no idea what kind of error might trigger it, but now it will display correctly. Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt | 6 +----- .../intranet-tmpl/prog/en/modules/catalogue/results.tt | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt index 6342d338ec..60feb528f5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt @@ -29,11 +29,7 @@ [% END %] [% IF ( query_error ) %] -

-Error: - - [% query_error %] - +

Error: [% query_error %]

[% END %] [% IF ( total ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 5af106a5d5..1ebc86290d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -318,11 +318,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () { [% END %] [% IF ( query_error ) %] -

- Error: - - [% query_error %] - +

Error: [% query_error %]

[% END %] -- 2.39.5