https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27324
Bug ID: 27324 Summary: Use Koha.Preference() for intranetbookbag everywhere Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Templates Assignee: oleon...@myacpl.org Reporter: katrin.fisc...@bsz-bw.de QA Contact: testo...@bugs.koha-community.org By using Koha.Preference() in the templates everywhere, we can remove the variable from Auth.pm in the end. After bug 27031, it looks like the remaining instances are: C4/Auth.pm: intranetbookbag => C4::Context->preference("intranetbookbag"), koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt: [% IF ( intranetbookbag ) %] koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt: [% IF ( intranetbookbag ) %] koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc:[% IF ( virtualshelves && intranetbookbag ) %] koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc:[% ELSIF ( intranetbookbag ) %] -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/