[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4 Output.pm,1.50,1.51
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/C4 Output.pm,1.50,1.51 |
Date: |
Mon, 03 Jan 2005 02:58:48 -0800 |
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22299/C4
Modified Files:
Output.pm
Log Message:
adding "opacstylesheet" systempreference.
if this parameter is defined, the url is used instead of the default one.
So, you can have your own stylesheet somewhere, and use it instead of the
official Koha one.
Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -r1.50 -r1.51
*** Output.pm 5 Aug 2004 16:35:25 -0000 1.50
--- Output.pm 3 Jan 2005 10:58:46 -0000 1.51
***************
*** 74,78 ****
my ($theme, $lang) = themelanguage($htdocs, $tmplbase, $opac, $query);
!
my $template = HTML::Template->new(filename =>
"$htdocs/$theme/$lang/$tmplbase",
die_on_bad_params => 0,
--- 74,78 ----
my ($theme, $lang) = themelanguage($htdocs, $tmplbase, $opac, $query);
! my $opacstylesheet = C4::Context->preference('opacstylesheet');
my $template = HTML::Template->new(filename =>
"$htdocs/$theme/$lang/$tmplbase",
die_on_bad_params => 0,
***************
*** 83,86 ****
--- 83,87 ----
interface => ($opac ne
'intranet'? '/opac-tmpl': '/intranet-tmpl'),
theme => $theme,
+ opacstylesheet =>
$opacstylesheet,
lang => $lang);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 Output.pm,1.50,1.51,
Paul POULAIN <=