koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/C4 Output.pm,1.6.2.21,1.6.2.22


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/C4 Output.pm,1.6.2.21,1.6.2.22
Date: Wed, 30 Oct 2002 09:05:29 -0800

Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv31117

Modified Files:
      Tag: rel-1-2
        Output.pm 
Log Message:
Prepends ' default' to $themes and ' en' to $lang so that themes will still
work even if one of the opacthemes or opaclanguages system preferences is not
explicity set.  If you est opaclanguages to 'fr' but dont' set opacthemes,
theme will still default to 'default'.


Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.6.2.21
retrieving revision 1.6.2.22
diff -C2 -r1.6.2.21 -r1.6.2.22
*** Output.pm   21 Oct 2002 17:39:42 -0000      1.6.2.21
--- Output.pm   30 Oct 2002 17:05:23 -0000      1.6.2.22
***************
*** 182,185 ****
--- 182,186 ----
    $sth->execute;
    my ($lang) = $sth->fetchrow;
+   $lang.=" en";
    $sth->finish;
    my @languages = split " ", $lang;
***************
*** 189,192 ****
--- 190,194 ----
    $sth->execute;
    my ($theme) = $sth->fetchrow;
+   $theme.=" default";
    $sth->finish;
    my @themes = split " ", $theme;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]