Bug 3146

Summary: Yui CSS files always imported /en/ directory instead of actual language
Product: Koha Reporter: Chris Cormack <chris>
Component: OPACAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low    
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 4048    
Bug Blocks:    

Description Chris Cormack 2010-05-21 01:07:00 UTC


---- Reported by abcendzone@yahoo.com 2009-04-21 16:21:47 ----

The "reset-fonts-grids.css" and "skin.css" files are imported in "/koha/opac/htdocs/opac-tmpl/prog/$LANG/css/opac.css" via

@import url("../../en/lib/yui/reset-fonts-grids.css");
@import url("../../en/lib/yui/skin.css");

for ALL languages, instead of the correct $LANG directory.

E.g. for a german installation where opaclanguage=de-DE, it should be

@import url("../../de-DE/lib/yui/reset-fonts-grids.css");
@import url("../../de-DE/lib/yui/skin.css");


As these files are identical for all languages but are installed in each language directory, one could either remove the duplicate files from the language directories or actually use them from there. Right now they are installed for each language but imported just from the /en/ directory.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:07 UTC  ---

This bug was previously known as _bug_ 3146 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3146

Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was abcendzone@yahoo.com.