Subversion Repositories wimsdev

Rev

Rev 8631 | Rev 8990 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!if robot isin $session
 !exit
!endif
!read adm/language lang/names.phtml

!set list_taxonomy=unisciel,commoncore

wims_prefix=class user tmp
!bound job within home,type,subject,level,best,new, taxo default home
!read tabletheme

search_addr=!nosubst module=home&language=$lang&search_keywords=$key&search_category=$cat&search_and=$search_and&$browse_parm
browse_parm=browse_job=$job&browse_parm=$parm

!if $modu_lang notwordof en it fr ca es nl cn
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.en
!else
  !set dir_lang=wimshome/public_html/bases/sys/domain/domain.$modu_lang
!endif
!set dir=wimshome/public_html/bases/sys/domain
!set treefile=$dir/reversedomain
!set dir=$dir/domain

Tot_dom=!lookup domain in $dir
Tot_dom=!sort items $Tot_dom
!for d in $Tot_dom
  tot_dom_$d=!lookup $d in $dir
  !for l in  $(tot_dom_$d)
     dom_$l=!lookup $l in $dir
  !next
!next

!for taxo in $list_taxonomy
  !set lang_exists=!defof lang_exists in $taxo.phtml.$lang
  !if $lang_exists=yes
    !set script_taxo=yes
  !endif
!next
!set lang_exists=!defof lang_exists in keywords.phtml.$lang
  !if $lang_exists=yes
    !set script_keywords=yes
  !endif

!read $job.proc

!if $job!=home
 wims_module_log=$job $parm
!endif