Bug 3146 - Yui CSS files always imported /en/ directory instead of actual language
Summary: Yui CSS files always imported /en/ directory instead of actual language
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 3.6
Hardware: All All
: P5 - low minor (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on: 4048
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-21 04:21 UTC by Chris Cormack
Modified: 2012-10-25 23:09 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.