Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
20 reyssat 1
!nocache
2
!if $error!=$empty
5971 bpr 3
<div class="wims_alertmsg">
1687 bpr 4
 !read docu/msg.phtml
5971 bpr 5
 </div>
20 reyssat 6
 !exit
7
!endif
8
 
1181 bpr 9
<h1 class="wims_docu_title">$tit</h1>
20 reyssat 10
 
11
!if $titb=$empty
12
 <p>
1685 bpr 13
$name_noncreate
5894 bpr 14
 </p>
20 reyssat 15
 !exit
16
!endif
17
 
18
!if $datetest<0
19
 <p>
1685 bpr 20
$name_noread
5894 bpr 21
 </p>
20 reyssat 22
 !exit
23
!endif
24
 
25
!if $datetest>0
26
 <p>
1685 bpr 27
 $name_expired
5894 bpr 28
 </p>
20 reyssat 29
 !exit
30
!endif
31
 
32
:newblock
5894 bpr 33
<a id="$block"></a>
20 reyssat 34
<h3>$titb</h3>
35
 
36
!read $docdir/$doc/$block.def content
37
 
38
!if $waitblock$(waitblock_$block)!=$empty
39
 !set waitblock=$(waitblock_$block),$waitblock
40
 !set waitblock=!nonempty items $waitblock
41
 !set block=!item 1 of $waitblock
42
 !set gotblock=!append item $block to $gotblock
43
 !set waitblock=!item 2 to -1 of $waitblock
5971 bpr 44
 <div>
20 reyssat 45
 !read $docdir/$doc/$block.def
5971 bpr 46
 </div>
20 reyssat 47
 !goto newblock
48
!endif