Subversion Repositories wimsdev

Rev

Rev 11469 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11469 Rev 12555
Line 3... Line 3...
3
!!set class_lang=!defof class_lang in wimshome/log/classes/$wims_class/.def
3
!!set class_lang=!defof class_lang in wimshome/log/classes/$wims_class/.def
4
 
4
 
5
!let moduclass_lang=$lang
5
!let moduclass_lang=$lang
6
!! this test must be keeped for background compatibility since modification of all modules use script langclass by call langclass names.phtml instead of lang/names.phtml
6
!! this test must be keeped for background compatibility since modification of all modules use script langclass by call langclass names.phtml instead of lang/names.phtml
7
!if $wims_read_parm!=names.phtml and $wims_read_parm!=$empty
7
!if $wims_read_parm!=names.phtml and $wims_read_parm!=$empty
8
 !let script_file=!nospace $wims_read_parm
8
  !let script_file=!nospace $wims_read_parm
9
!else
9
!else
10
 !let script_file=lang/names.phtml
10
  !let script_file=lang/names.phtml
11
!endif
11
!endif
12
!reset lang_exists
12
!reset lang_exists
13
!read $(script_file).$moduclass_lang
13
!read $(script_file).$moduclass_lang
14
!if $lang_exists!=yes
14
!if $lang_exists!=yes
15
   !let moduclass_lang=en
15
  !let moduclass_lang=en
16
   !read $(script_file).$moduclass_lang
16
  !read $(script_file).$moduclass_lang
17
!endif
17
!endif
18
 
18
 
19
!set module_language=$lang
19
!set module_language=$lang
20
!set tmp=!replace internal / by _ in $module/$(script_file)
20
!set tmp=!replace internal / by _ in $module/$(script_file)
21
!set tmp=!nospace $tmp
21
!set tmp=!nospace $tmp