Bugzilla – Attachment 39650 Details for
Bug 14252
Make the OPAC language switcher available in the masthead navbar, footer, or both.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
(followup) correction of string comparison op
followup-correction-of-string-comparison-op.patch (text/plain), 2.42 KB, created by
Indranil Das Gupta
on 2015-05-28 22:55:44 UTC
(
hide
)
Description:
(followup) correction of string comparison op
Filename:
MIME Type:
Creator:
Indranil Das Gupta
Created:
2015-05-28 22:55:44 UTC
Size:
2.42 KB
patch
obsolete
>From 859bb20fac4f237f32fc20901e1b18752c3ea668 Mon Sep 17 00:00:00 2001 >From: Indranil Das Gupta <indradg@gmail.com> >Date: Fri, 29 May 2015 04:23:24 +0530 >Subject: [PATCH] (followup) correction of string comparison op > >the last followup commit had used '==' to compare the syspref string >values - both, head and foot. corrects that to use 'eq' in both >masthead.inc and opac-bottom.inc > >http://bugs.koha-community.org/show_bug.cgi?id=14252 >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index c8dff49..3e7b0b9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -71,7 +71,7 @@ > <a id="user-menu-trigger" class="pull-right" href="#"><i class="icon-user"></i> <span class="caret"></span></a> > <div id="members"> > <ul class="nav pull-right"> >- [% IF ( Koha.Preference( 'OpacLangSelectorMode' ) == 'both' ) || ( Koha.Preference( 'OpacLangSelectorMode' ) == 'head' ) %] >+ [% IF ( Koha.Preference( 'OpacLangSelectorMode' ) eq 'both' ) || ( Koha.Preference( 'OpacLangSelectorMode' ) eq 'head' ) %] > [% IF ( opaclanguagesdisplay ) %] > [% IF ( languages_loop && opaclanguagesdisplay ) %] > [% UNLESS ( one_language_enabled ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 0497621..77b6b9a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -29,7 +29,7 @@ > [% END # / OpacKohaUrl %] > > </div> <!-- / #wrap in masthead.inc --> >-[% IF ( Koha.Preference( 'OpacLangSelectorMode' ) == 'both' ) || ( Koha.Preference( 'OpacLangSelectorMode' ) == 'foot' ) %] >+[% IF ( Koha.Preference( 'OpacLangSelectorMode' ) eq 'both' ) || ( Koha.Preference( 'OpacLangSelectorMode' ) eq 'foot' ) %] > [% IF ( opaclanguagesdisplay ) %] > [% IF ( languages_loop && opaclanguagesdisplay ) %] > [% UNLESS ( one_language_enabled ) %] >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14252
:
39369
|
39433
|
39434
|
39436
|
39443
|
39444
|
39445
|
39446
|
39447
|
39448
|
39449
|
39622
|
39650
|
39706
|
39707
|
39724
|
39725
|
39726
|
39727
|
39728
|
39729
|
39730
|
39731
|
39732
|
39733
|
39734
|
39746
|
39749
|
39857
|
39858
|
39859
|
39860
|
39861
|
39862
|
39863
|
39864