Subversion Repositories wimsdev

Rev

Rev 12732 | Rev 13744 | 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
12732 bpr 3
  <div class="wims_alertmsg">
4
  !read docu/msg.phtml
5
  </div>
6
  !exit
20 reyssat 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
12732 bpr 12
  <p>
12733 bpr 13
  $name_noncreate
12732 bpr 14
  </p>
12733 bpr 15
  !exit
20 reyssat 16
!endif
17
 
18
!if $datetest<0
12732 bpr 19
  <p>
12733 bpr 20
  $name_noread
12732 bpr 21
  </p>
12733 bpr 22
  !exit
20 reyssat 23
!endif
24
 
25
!if $datetest>0
12732 bpr 26
  <p>
12733 bpr 27
  $name_expired
12732 bpr 28
  </p>
12733 bpr 29
  !exit
20 reyssat 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
12732 bpr 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
44
  <div>
45
  !read $docdir/$doc/$block.def
46
  </div>
47
  !goto newblock
20 reyssat 48
!endif
6682 bpr 49
!if $doctoc=yes
12732 bpr 50
  <hr />
6682 bpr 51
  !read $docdir/$doc/doctoc.def content
52
!endif
12732 bpr 53
</div><!-- end of docprint -->
54
 
55