[Koha-patches] [PATCH] Fix for Bug 6458 - incorrect parsing result in translation processing
Owen Leonard
oleonard at myacpl.org
Thu Sep 1 15:44:18 CEST 2011
Fixing improperly nested template logic inside markup in header.inc
---
.../intranet-tmpl/prog/en/includes/header.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
index 0db885a..58430fc 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
@@ -64,7 +64,11 @@
<span class="loggedinusername">
[% loggedinusername %]
</span>
- (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1"[% IF ( intranetbookbag ) %] onclick="delBasket(true);"[% END %]>Log Out</a>) |
+ [% IF ( intranetbookbag ) %]
+ (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="delBasket(true);">Log Out</a>) |
+ [% ELSE %]
+ (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>) |
+ [% END %]
[% ELSE %]
You are not logged in |
[% END %]
--
1.7.3
More information about the Koha-patches
mailing list