Rev 11244 | Rev 11304 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11244 | Rev 11279 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | !! eventually |
11 | !! eventually |
12 | !reset lang_exists |
12 | !reset lang_exists |
13 | 13 | ||
14 | !default modu_lang=$lang |
14 | !default modu_lang=$lang |
15 | !read $(script_file).$modu_lang |
15 | !read $(script_file).$modu_lang |
16 | - | ||
17 |
|
16 | // try to do that for headmenu |
18 |
|
17 | !!!if lang/ notin $(script_file) |
19 | !read themes/$wims_theme/lang/$(script_file).$modu_lang |
18 | !! !read themes/$wims_theme/lang/$(script_file).$modu_lang |
20 | !if $class_theme!=$empty |
19 | !! !if $class_theme!=$empty |
21 | !read themes/$class_theme/lang/$(script_file).$modu_lang |
20 | !! !read themes/$class_theme/lang/$(script_file).$modu_lang |
22 | !endif |
21 | !! !endif |
23 | !if $theme_class!=$empty |
22 | !! !if $theme_class!=$empty |
24 | !read themes/$theme_class/lang/$(script_file).$modu_lang |
23 | !! !read themes/$theme_class/lang/$(script_file).$modu_lang |
25 | !endif |
24 | !! !endif |
26 |
|
25 | !!!endif |
27 | 26 | ||
28 | !if $lang_exists!=yes |
27 | !if $lang_exists!=yes |
29 | !set modu_lang=en |
28 | !set modu_lang=en |
30 | !read $(script_file).$modu_lang |
29 | !read $(script_file).$modu_lang |
31 | !if $lang_exists!=yes |
30 | !if $lang_exists!=yes |