Lines 1673-1681
sub _process_tt {
Link Here
|
1673 |
my $substitute = $params->{substitute} || {}; |
1673 |
my $substitute = $params->{substitute} || {}; |
1674 |
my $lang = 'en'; |
1674 |
my $lang = 'en'; |
1675 |
my $interface = C4::Context->interface; |
1675 |
my $interface = C4::Context->interface; |
1676 |
if(defined($params->{lang}) && $params->{lang} ne 'default'){ |
1676 |
if ( defined( $params->{lang} ) && $params->{lang} ne 'default' ) { |
1677 |
$lang = $params->{lang}; |
1677 |
$lang = $params->{lang}; |
1678 |
} elsif($interface eq 'intranet' || $interface eq 'opac') { |
1678 |
} elsif ( $interface eq 'intranet' || $interface eq 'opac' ) { |
1679 |
#use interface language |
1679 |
#use interface language |
1680 |
$lang = C4::Languages::getlanguage(); |
1680 |
$lang = C4::Languages::getlanguage(); |
1681 |
} else { |
1681 |
} else { |
1682 |
- |
|
|