determining theme/language path
until the modules/structure has been ported to OPAC, this quick hack make the theme/language determination work for both OPAC & intranet Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
323bf9cc46
commit
c85892117e
|
|
@ -82,7 +82,7 @@ sub gettemplate {
|
|||
my ( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, $interface, $query );
|
||||
my $opacstylesheet = C4::Context->preference('opacstylesheet');
|
||||
my $template = HTML::Template::Pro->new(
|
||||
filename => "$htdocs/$theme/$lang/modules/$tmplbase",
|
||||
filename => "$htdocs/$theme/$lang/".($interface eq 'intranet'?"modules":"")."/$tmplbase",
|
||||
die_on_bad_params => 1,
|
||||
global_vars => 1,
|
||||
case_sensitive => 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue