Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
 
2
wims_prefix=class user tmp n sharing sharable
3
phtml=!trim $phtml
4
talign=$wims_texalign
5
point=!char -3 of $phtml
6
ltest=!char -2,-1 of $phtml
7
!if $point=. and $ltest iswordof $wims_site_languages
12811 obado 8
  module_language=$ltest
8119 bpr 9
!else
12811 obado 10
  module_language=$lang
23 reyssat 11
!endif
12
 
13
!read wimshome/modules/home/languages
14
!read tabletheme
15
 
12811 obado 16
!set page_id = !replace internal . by , in $phtml
17
!set page_id=!item 1 of $page_id
18
 
19
!if $page_id isitemof download,mirror,cgu,useropts
13068 obado 20
  !! shows some Site relative menu items when not in a class
21
  !if $wims_class==$empty
22
    !read adm/language wimshome/public_html/html/name.phtml
23
    !read wimshome/public_html/html/name.phtml.fr
24
    !read themes/_procs/site.proc
25
    !set wims_menu_items = $wims_menu_items\
26
    itemsep,0,$$wims_name_Site\
27
    $wims_rm_0
28
  !endif
12811 obado 29
  !if $page_id=useropts
30
    !set page_id=pref
31
  !endif
32
  !set wims_ariane_self=no
33
  !set wims_ariane=!append line $page_id,8 to $wims_ariane
34
!endif
35
 
13068 obado 36
 
23 reyssat 37
!if $phtml!=$empty
12811 obado 38
  wims_module_log=call $phtml
23 reyssat 39
!endif
40