projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d564b
)
BUGFIX : get available language and theme
author
Paul POULAIN
<paul@koha-fr.org>
Mon, 3 Sep 2007 08:20:39 +0000
(10:20 +0200)
committer
Chris Cormack
<crc@liblime.com>
Mon, 3 Sep 2007 08:37:36 +0000
(
03:37
-0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
C4/Output.pm
patch
|
blob
|
history
diff --git
a/C4/Output.pm
b/C4/Output.pm
index
d2a2899
..
5e39ecc
100644
(file)
--- a/
C4/Output.pm
+++ b/
C4/Output.pm
@@
-144,7
+144,7
@@
sub themelanguage {
foreach my $la (@languages) {
for ( my $pass = 1 ; $pass <= 2 ; $pass += 1 ) {
$la =~ s/([-_])/ $1 eq '-'? '_': '-' /eg if $pass == 2;
- if ( -e "$htdocs/$th/$la/$tmpl" ) {
+ if ( -e "$htdocs/$th/$la/
modules/
$tmpl" ) {
$theme = $th;
$lang = $la;
last THEME;