Lines 159-167
sub add_form {
Link Here
|
159 |
my %letters = ( default => { templates => $templates } ); |
159 |
my %letters = ( default => { templates => $templates } ); |
160 |
|
160 |
|
161 |
if ( C4::Context->preference('TranslateNotices') ) { |
161 |
if ( C4::Context->preference('TranslateNotices') ) { |
162 |
my $translated_languages = |
162 |
my $translated_languages = C4::Languages::getTranslatedLanguages( 'opac', C4::Context->preference('opacthemes') ); |
163 |
C4::Languages::getTranslatedLanguages( 'opac', |
|
|
164 |
C4::Context->preference('intranet_theme') ); |
165 |
for my $language (@$translated_languages) { |
163 |
for my $language (@$translated_languages) { |
166 |
for my $sublanguage( @{ $language->{sublanguages_loop} } ) { |
164 |
for my $sublanguage( @{ $language->{sublanguages_loop} } ) { |
167 |
if ( $language->{plural} ) { |
165 |
if ( $language->{plural} ) { |
168 |
- |
|
|