Subversion Repositories wimsdev

Rev

Rev 6682 | Rev 12732 | 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
6641 bpr 8
<div id="docprint">
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>
10855 bpr 34
<h2>$titb</h2>
20 reyssat 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
6682 bpr 44
 <div>
20 reyssat 45
 !read $docdir/$doc/$block.def
6682 bpr 46
 </div>
20 reyssat 47
 !goto newblock
48
!endif
6641 bpr 49
 
50
</div><!-- end of docprint -->
6682 bpr 51
 
52
!if $doctoc=yes
53
<hr />
54
  !read $docdir/$doc/doctoc.def content
55
!endif