Subversion Repositories wimsdev

Rev

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

Rev 3048 Rev 10447
Line 1... Line -...
1
 
-
 
2
!!!default wims_theme=default
1
!!!default wims_theme=default
3
 
2
!reset tmp
4
!if $wims_read_parm=tail and $wims_headertype=doc
3
!if $wims_read_parm=tail and $wims_headertype=doc
5
 !set 1_=doctail
4
 !set tmp=doctail
6
!goto end
5
!goto end
7
!endif
6
!endif
8
!if $wims_read_parm=header and $wims_headertype=doc
7
!if $wims_read_parm=header and $wims_headertype=doc
9
 !set 1_=docheader
8
 !set tmp=docheader
10
!else
9
!else
11
 !set 1_=$wims_read_parm
10
 !set tmp=$wims_read_parm
12
!endif
11
!endif
13
:end
12
:end
14
!read ./themes/$wims_theme/$1_.phtml
13
!read ./themes/$wims_theme/$tmp.phtml
-
 
14
 
15
!if $(wims_theme_$1_)!=yes and $wims_theme!=default
15
!if $(wims_theme_$tmp)!=yes and $wims_theme!=default
16
 !read ./themes/default/$1_.phtml
16
 !read ./themes/default/$tmp.phtml
17
!endif
17
!endif