[Koha-bugs] [Bug 3146] New: Yui CSS files always imported /en/ directory instead of actual language

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Tue Apr 21 18:21:47 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3146

           Summary: Yui CSS files always imported /en/ directory instead of
                    actual language
           Product: Koha
           Version: rel_3_0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: OPAC
        AssignedTo: jmf at liblime.com
        ReportedBy: abcendzone at yahoo.com
   Estimated Hours: 0.0


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.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list