View | Details | Raw Unified | Return to bug 14252
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_14252-OpacLangSelectorMode_syspref.sql (-1 / +1 lines)
Lines 1-4 Link Here
1
--
1
--
2
-- Adds OpacLangSelectorMode syspref for bug 14252
2
-- Adds OpacLangSelectorMode syspref for bug 14252
3
--
3
--
4
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('OpacLangSelectorMode','both','both|mast|foot','Select the location to display the language selector','Choice');
4
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('OpacLangSelectorMode','foot','both|mast|foot','Select the location to display the language selector','Choice');
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 270-276 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
270
('OpacItemLocation','callnum','callnum|ccode|location','Show the shelving location of items in the opac','Choice'),
270
('OpacItemLocation','callnum','callnum|ccode|location','Show the shelving location of items in the opac','Choice'),
271
('OPACItemsResultsDisplay','0','','If OFF : show only the status of items in result list.If ON : show full location of items (branch+location+callnumber) as in staff interface','YesNo'),
271
('OPACItemsResultsDisplay','0','','If OFF : show only the status of items in result list.If ON : show full location of items (branch+location+callnumber) as in staff interface','YesNo'),
272
('OpacKohaUrl','1',NULL,'Show \'Powered by Koha\' text on OPAC footer.',NULL),
272
('OpacKohaUrl','1',NULL,'Show \'Powered by Koha\' text on OPAC footer.',NULL),
273
('OpacLangSelectorMode','both','both|mast|foot','Select the location to display the language selector','Choice'),
273
('OpacLangSelectorMode','foot','both|mast|foot','Select the location to display the language selector','Choice'),
274
('opaclanguages','en',NULL,'Set the default language in the OPAC.','Languages'),
274
('opaclanguages','en',NULL,'Set the default language in the OPAC.','Languages'),
275
('opaclanguagesdisplay','0','','If ON, enables display of Change Language feature on OPAC','YesNo'),
275
('opaclanguagesdisplay','0','','If ON, enables display of Change Language feature on OPAC','YesNo'),
276
('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'),
276
('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'),
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-2 / +1 lines)
Lines 34-40 Link Here
34
    [% IF ( opaclanguagesdisplay ) %]
34
    [% IF ( opaclanguagesdisplay ) %]
35
        [% IF ( languages_loop && opaclanguagesdisplay ) %]
35
        [% IF ( languages_loop && opaclanguagesdisplay ) %]
36
            [% UNLESS ( one_language_enabled ) %]
36
            [% UNLESS ( one_language_enabled ) %]
37
                <div id="changelanguage" class="navbar navbar-fixed-bottom navbar-static-bottom">
37
                <div id="changelanguage" class="navbar navbar-fixed-bottom navbar-static-bottom noprint">
38
                    <div class="navbar-inner">
38
                    <div class="navbar-inner">
39
                        <ul id="i18nMenu" class="nav">
39
                        <ul id="i18nMenu" class="nav">
40
                            <li><p class="lang navbar-text"><strong>Languages:&nbsp;</strong></p></li>
40
                            <li><p class="lang navbar-text"><strong>Languages:&nbsp;</strong></p></li>
41
- 

Return to bug 14252