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

Steve Tonnesen tonnesen at users.sourceforge.net
Wed Oct 30 18:05:29 CET 2002


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;





More information about the Koha-cvs mailing list