[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 6370 - news showing that it's for the opac when it's for the librarian interface
Katrin Fischer
Katrin.Fischer.83 at web.de
Fri May 20 22:39:10 CEST 2011
From: Owen Leonard <oleonard at myacpl.org>
T:T variable scope error.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
---
.../prog/en/modules/tools/koha-news.tt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
index 19242ed..fbe4b4a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
@@ -172,10 +172,10 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
<td>
<input type="checkbox" name="ids" value="[% opac_new.idnew %]" />
</td>
- <td>[% IF ( lang == 'koha' ) %]
+ <td>[% IF ( opac_new.lang == 'koha' ) %]
Librarian interface
[% ELSE %]
- [% IF ( lang == 'slip' ) %]
+ [% IF ( opac_new.lang == 'slip' ) %]
Slip
[% ELSE %]
OPAC
--
1.7.4.1
More information about the Koha-patches
mailing list