Subversion Repositories wimsdev

Rev

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

Rev 6910 Rev 8631
Line 4... Line 4...
4
!read adm/language lang/names.phtml
4
!read adm/language lang/names.phtml
-
 
5
 
-
 
6
!set list_taxonomy=commoncore,unisciel
5
 
7
 
6
wims_prefix=class user tmp
8
wims_prefix=class user tmp
7
!bound job within home,type,subject,level,best,new default home
9
!bound job within home,type,subject,level,best,new, taxo default home
8
!read tabletheme
10
!read tabletheme
9
 
11
 
10
search_addr=!nosubst module=home&language=$lang&search_keywords=$key&search_category=$cat&search_and=$search_and&$browse_parm
12
search_addr=!nosubst module=home&language=$lang&search_keywords=$key&search_category=$cat&search_and=$search_and&$browse_parm
11
browse_parm=browse_job=$job&browse_parm=$parm
13
browse_parm=browse_job=$job&browse_parm=$parm
12
 
14
 
13
!if $modu_lang notwordof en it fr ca es nl cn
15
!if $modu_lang notwordof en it fr ca es nl cn
14
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.en
16
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.en
15
!else
17
!else
16
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.$modu_lang
18
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.$modu_lang
17
!endif
19
!endif
18
!set dir=wimshome/public_html/bases/sys/domain
20
!set dir=wimshome/public_html/bases/sys/domain
19
!set treefile=$dir/reversedomain
21
!set treefile=$dir/reversedomain
20
!set dir=$dir/domain
22
!set dir=$dir/domain
21
 
23
 
22
Tot_dom=!lookup domain in $dir
24
Tot_dom=!lookup domain in $dir
-
 
25
Tot_dom=!sort items $Tot_dom
23
!for d in $Tot_dom
26
!for d in $Tot_dom
24
  tot_dom_$d=!lookup $d in $dir
27
  tot_dom_$d=!lookup $d in $dir
25
  !for l in  $(tot_dom_$d)
28
  !for l in  $(tot_dom_$d)
26
     dom_$l=!lookup $l in $dir
29
     dom_$l=!lookup $l in $dir
27
  !next
30
  !next
28
!next
31
!next
-
 
32
 
-
 
33
!for taxo in $list_taxonomy
-
 
34
  !set lang_exists=!defof lang_exists in $taxo.phtml.$lang
-
 
35
  !if $lang_exists=yes
-
 
36
    !set script_taxo=yes
-
 
37
  !endif
-
 
38
!next
-
 
39
!set lang_exists=!defof lang_exists in keywords.phtml.$lang
-
 
40
  !if $lang_exists=yes
-
 
41
    !set script_keywords=yes
-
 
42
  !endif
29
 
43
 
30
!read $job.proc
44
!read $job.proc
31
 
45
 
32
!if $job!=home
46
!if $job!=home
33
 wims_module_log=$job $parm
47
 wims_module_log=$job $parm