Subversion Repositories wimsdev

Rev

Rev 8972 | Rev 9129 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
!if robot isin $session
2
 !exit
3
!endif
5181 guerimand 4
!read adm/language lang/names.phtml
6435 bpr 5
 
8990 bpr 6
!set list_taxo=!listfile $module_dir/taxoext
7
!set list_taxo=!lines2items $list_taxo
8631 bpr 8
 
23 reyssat 9
wims_prefix=class user tmp
8990 bpr 10
!bound job within home,type,subject,level,best,new,taxo default home
23 reyssat 11
!read tabletheme
12
 
6910 bpr 13
search_addr=!nosubst module=home&language=$lang&search_keywords=$key&search_category=$cat&search_and=$search_and&$browse_parm
23 reyssat 14
browse_parm=browse_job=$job&browse_parm=$parm
15
 
6435 bpr 16
!if $modu_lang notwordof en it fr ca es nl cn
17
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.en
18
!else
19
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.$modu_lang
20
!endif
6442 bpr 21
!set dir=wimshome/public_html/bases/sys/domain
22
!set treefile=$dir/reversedomain
23
!set dir=$dir/domain
6435 bpr 24
 
25
Tot_dom=!lookup domain in $dir
8631 bpr 26
Tot_dom=!sort items $Tot_dom
6435 bpr 27
!for d in $Tot_dom
28
  tot_dom_$d=!lookup $d in $dir
29
  !for l in  $(tot_dom_$d)
30
     dom_$l=!lookup $l in $dir
31
  !next
32
!next
8990 bpr 33
!reset list_taxonomy
6435 bpr 34
 
8990 bpr 35
!for taxo in $list_taxo
36
  !if .$(lang)__ isin $(taxo)__
37
   !set lang_exists=!defof lang_exists in taxoext/$taxo
38
   !if $lang_exists=yes
39
     !set script_taxo=yes
40
     !set list_taxonomy=!append item taxoext/$taxo to $list_taxonomy
41
   !endif
8631 bpr 42
  !endif
43
!next
44
!set lang_exists=!defof lang_exists in keywords.phtml.$lang
45
  !if $lang_exists=yes
46
    !set script_keywords=yes
47
  !endif
48
 
23 reyssat 49
!read $job.proc
50
 
51
!if $job!=home
52
 wims_module_log=$job $parm
53
!endif
54
 
55