Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
!if $error!=$empty
12490 bpr 2
  <div class="wims_msg alert">
3
  !read docu/$modu_lang/msg.phtml
4
  </div>
5
  !exit
23 reyssat 6
!endif
6682 bpr 7
<div id="docprint">
1181 bpr 8
<h1 class="wims_docu_title">$tit</h1>
23 reyssat 9
 
10
!if $titb=$empty
12490 bpr 11
  <p>
12
  $name_noncreate
13
  </p>
14
  !exit
23 reyssat 15
!endif
16
 
17
!if $datetest<0
12490 bpr 18
  <p>
19
  $name_noread
20
  </p>
21
  !exit
23 reyssat 22
!endif
23
 
24
!if $datetest>0
12490 bpr 25
  <p>
26
  $name_expired
27
  </p>
28
  !exit
23 reyssat 29
!endif
30
 
31
:newblock
5894 bpr 32
<a id="$block"></a>
13364 bpr 33
<h2>$titb</h2>
23 reyssat 34
 
35
!read $wims_priv_thisdoc/$block.def content
36
 
37
!if $waitblock$(waitblock_$block)!=$empty
12490 bpr 38
  !set waitblock=$(waitblock_$block),$waitblock
39
  !set waitblock=!nonempty items $waitblock
40
  !set block=!item 1 of $waitblock
41
  !set gotblock=!append item $block to $gotblock
42
  !set waitblock=!item 2 to -1 of $waitblock
43
  <div>
44
  !read $wims_priv_thisdoc/$block.def
45
  </div>
46
  !goto newblock
23 reyssat 47
!endif
6682 bpr 48
 
49
</div><!-- end of docprint -->
50
 
51
!if $doctoc=yes
17180 bpr 52
  <hr>
6682 bpr 53
  !read $wims_priv_thisdoc/doctoc.def content
54
!endif