Subversion Repositories wimsdev

Rev

Rev 8119 | Rev 13068 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8119 Rev 12811
Line 3... Line 3...
3
phtml=!trim $phtml
3
phtml=!trim $phtml
4
talign=$wims_texalign
4
talign=$wims_texalign
5
point=!char -3 of $phtml
5
point=!char -3 of $phtml
6
ltest=!char -2,-1 of $phtml
6
ltest=!char -2,-1 of $phtml
7
!if $point=. and $ltest iswordof $wims_site_languages
7
!if $point=. and $ltest iswordof $wims_site_languages
8
 module_language=$ltest
8
  module_language=$ltest
9
!else
9
!else
10
 module_language=$lang
10
  module_language=$lang
11
!endif
11
!endif
12
 
12
 
13
!read wimshome/modules/home/languages
13
!read wimshome/modules/home/languages
14
!read tabletheme
14
!read tabletheme
-
 
15
 
-
 
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
-
 
20
  !read adm/language wimshome/public_html/html/name.phtml
-
 
21
  !read wimshome/public_html/html/name.phtml.fr
-
 
22
  !read themes/_procs/site.proc
-
 
23
  !set wims_menu_items = $wims_menu_items\
-
 
24
  itemsep,0,$$wims_name_Site\
-
 
25
  $wims_rm_0
-
 
26
  !if $page_id=useropts
-
 
27
    !set page_id=pref
-
 
28
  !endif
-
 
29
  !set wims_ariane_self=no
-
 
30
  !set wims_ariane=!append line $page_id,8 to $wims_ariane
-
 
31
!endif
15
 
32
 
16
!if $phtml!=$empty
33
!if $phtml!=$empty
17
 wims_module_log=call $phtml
34
  wims_module_log=call $phtml
18
!endif
35
!endif
19
 
36