Bug 14252: (Followup) Fixed issues pointed to in comment #40
authorIndranil Das Gupta <indradg@gmail.com>
Sun, 31 May 2015 23:56:31 +0000 (05:26 +0530)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 23 Jun 2015 13:24:46 +0000 (10:24 -0300)
commit8da9d099c6a3455edd3c0aee2253b68050d3c596
treed5d720a79153a0b566af18d492aa2722bb0006ee
parenta2478a708ba72893d435365a5f00025e709d495f
Bug 14252: (Followup) Fixed issues pointed to in comment #40

Based on Mark's inputs in comment #40 -

[1] selected 'mast' (short of 'masthead') and updated :
   (a) bug_14252-OpacLangSelectorMode_syspref.sql
   (b) sysprefs.sql
   (c) opac.pref
[2] Reduced the calls to Koha.Preference() from :
   (a) masthead.inc
   (b) opac-bottom.inc

After applying this patch, update the database once for it to pick
up the new option values -'both|mast|foot'.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_14252-OpacLangSelectorMode_syspref.sql
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc