Rev 12733 | Rev 15276 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
13744 | obado | 2 | <!DOCTYPE html> |
3 | <html> |
||
4 | <head> |
||
5 | <title>$tit</title> |
||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/> |
||
7 | </head> |
||
8 | <body> |
||
20 | reyssat | 9 | !if $error!=$empty |
12732 | bpr | 10 | <div class="wims_alertmsg"> |
11 | !read docu/msg.phtml |
||
12 | </div> |
||
13 | !exit |
||
20 | reyssat | 14 | !endif |
6641 | bpr | 15 | <div id="docprint"> |
1181 | bpr | 16 | <h1 class="wims_docu_title">$tit</h1> |
20 | reyssat | 17 | |
18 | !if $titb=$empty |
||
12732 | bpr | 19 | <p> |
12733 | bpr | 20 | $name_noncreate |
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_noread |
12732 | bpr | 28 | </p> |
12733 | bpr | 29 | !exit |
20 | reyssat | 30 | !endif |
31 | |||
32 | !if $datetest>0 |
||
12732 | bpr | 33 | <p> |
12733 | bpr | 34 | $name_expired |
12732 | bpr | 35 | </p> |
12733 | bpr | 36 | !exit |
20 | reyssat | 37 | !endif |
38 | |||
39 | :newblock |
||
13744 | obado | 40 | <h2 id="$block">$titb</h2> |
20 | reyssat | 41 | |
42 | !read $docdir/$doc/$block.def content |
||
43 | |||
44 | !if $waitblock$(waitblock_$block)!=$empty |
||
12732 | bpr | 45 | !set waitblock=$(waitblock_$block),$waitblock |
46 | !set waitblock=!nonempty items $waitblock |
||
47 | !set block=!item 1 of $waitblock |
||
48 | !set gotblock=!append item $block to $gotblock |
||
49 | !set waitblock=!item 2 to -1 of $waitblock |
||
50 | <div> |
||
51 | !read $docdir/$doc/$block.def |
||
52 | </div> |
||
53 | !goto newblock |
||
20 | reyssat | 54 | !endif |
6682 | bpr | 55 | !if $doctoc=yes |
12732 | bpr | 56 | <hr /> |
6682 | bpr | 57 | !read $docdir/$doc/doctoc.def content |
58 | !endif |
||
12732 | bpr | 59 | </div><!-- end of docprint --> |
13744 | obado | 60 | </body> |
61 | </html> |