Subversion Repositories wimsdev

Rev

Rev 6910 | Rev 8972 | 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
 
8631 bpr 6
!set list_taxonomy=commoncore,unisciel
7
 
23 reyssat 8
wims_prefix=class user tmp
8631 bpr 9
!bound job within home,type,subject,level,best,new, taxo default home
23 reyssat 10
!read tabletheme
11
 
6910 bpr 12
search_addr=!nosubst module=home&language=$lang&search_keywords=$key&search_category=$cat&search_and=$search_and&$browse_parm
23 reyssat 13
browse_parm=browse_job=$job&browse_parm=$parm
14
 
6435 bpr 15
!if $modu_lang notwordof en it fr ca es nl cn
16
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.en
17
!else
18
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.$modu_lang
19
!endif
6442 bpr 20
!set dir=wimshome/public_html/bases/sys/domain
21
!set treefile=$dir/reversedomain
22
!set dir=$dir/domain
6435 bpr 23
 
24
Tot_dom=!lookup domain in $dir
8631 bpr 25
Tot_dom=!sort items $Tot_dom
6435 bpr 26
!for d in $Tot_dom
27
  tot_dom_$d=!lookup $d in $dir
28
  !for l in  $(tot_dom_$d)
29
     dom_$l=!lookup $l in $dir
30
  !next
31
!next
32
 
8631 bpr 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
43
 
23 reyssat 44
!read $job.proc
45
 
46
!if $job!=home
47
 wims_module_log=$job $parm
48
!endif
49
 
50