Subversion Repositories wimsdev

Rev

Rev 13068 | 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
!if $page_id isitemof download,mirror,cgu,useropts
13069 bpr 19
  !! shows some Site relative menu items when not in a class and not in a popup window
20
  !if $wims_class==$empty and _ notin $wims_session
13068 obado 21
    !read adm/language wimshome/public_html/html/name.phtml
22
    !read wimshome/public_html/html/name.phtml.fr
23
    !read themes/_procs/site.proc
24
    !set wims_menu_items = $wims_menu_items\
25
    itemsep,0,$$wims_name_Site\
26
    $wims_rm_0
27
  !endif
12811 obado 28
  !if $page_id=useropts
29
    !set page_id=pref
30
  !endif
31
  !set wims_ariane_self=no
32
  !set wims_ariane=!append line $page_id,8 to $wims_ariane
33
!endif
34
 
13068 obado 35
 
23 reyssat 36
!if $phtml!=$empty
12811 obado 37
  wims_module_log=call $phtml
23 reyssat 38
!endif