Rev 17180 | 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 |
||
17978 | bpr | 11 | <p>$name_noncreate</p> |
12490 | bpr | 12 | !exit |
23 | reyssat | 13 | !endif |
14 | |||
15 | !if $datetest<0 |
||
17978 | bpr | 16 | <p>$name_noread</p> |
12490 | bpr | 17 | !exit |
23 | reyssat | 18 | !endif |
19 | |||
20 | !if $datetest>0 |
||
17978 | bpr | 21 | <p>$name_expired</p> |
12490 | bpr | 22 | !exit |
23 | reyssat | 23 | !endif |
24 | |||
25 | :newblock |
||
5894 | bpr | 26 | <a id="$block"></a> |
13364 | bpr | 27 | <h2>$titb</h2> |
23 | reyssat | 28 | |
29 | !read $wims_priv_thisdoc/$block.def content |
||
30 | |||
31 | !if $waitblock$(waitblock_$block)!=$empty |
||
12490 | bpr | 32 | !set waitblock=$(waitblock_$block),$waitblock |
33 | !set waitblock=!nonempty items $waitblock |
||
34 | !set block=!item 1 of $waitblock |
||
35 | !set gotblock=!append item $block to $gotblock |
||
36 | !set waitblock=!item 2 to -1 of $waitblock |
||
37 | <div> |
||
38 | !read $wims_priv_thisdoc/$block.def |
||
39 | </div> |
||
40 | !goto newblock |
||
23 | reyssat | 41 | !endif |
6682 | bpr | 42 | </div><!-- end of docprint --> |
43 | !if $doctoc=yes |
||
17180 | bpr | 44 | <hr> |
6682 | bpr | 45 | !read $wims_priv_thisdoc/doctoc.def content |
46 | !endif |