[Koha-bugs] [Bug 12539] PROG/CCSR deprecation: Remove hardcoded theme from C4/Templates.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 7 22:21:35 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12539

--- Comment #1 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 29556
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29556&action=edit
Bug 12539: PROG/CCSR deprecation: Remove hardcoded theme from C4/Templates.pm

This patch removes hardcoded 'prog' from themelanguage
on C4/Templates.pm

Now that function only provides a fallback to 'en'
on active theme (opac & intranet)
Also removes a test already done on themelanguage

This also breaks definitely CCSR

To test:
1) Apply the patch
2) CCSR is now broken, prog & bootstrap must work as usual
3) Need to test language fallback
 a) translate for your preferred language (xx-YY)
 b) enable language on opac
 c) go to opac, select that language
 d) login on opac, go to personal details
 e) remove koha-tmpl/opac-tmpl/bootstrap/xx-YY/modules/opac-memberentry.tt
 d) reload page, must load in English
 f) click other member options, must load on translated language
(can use other pages, prog or bootstrap)
4) Do a similar test but for a staff page, enable lang, switch to it,
rm koha-tmpl/intranet-tmpl/prog/xx-YY/modules/admin/admin-home.tt,
any page must be translated except for admin home.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list