Subversion Repositories wimsdev

Rev

Rev 12733 | Rev 15276 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !nocache
  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>
  9. !if $error!=$empty
  10.   <div class="wims_alertmsg">
  11.   !read docu/msg.phtml
  12.   </div>
  13.   !exit
  14. !endif
  15. <div id="docprint">
  16. <h1 class="wims_docu_title">$tit</h1>
  17.  
  18. !if $titb=$empty
  19.   <p>
  20.   $name_noncreate
  21.   </p>
  22.   !exit
  23. !endif
  24.  
  25. !if $datetest<0
  26.   <p>
  27.   $name_noread
  28.   </p>
  29.   !exit
  30. !endif
  31.  
  32. !if $datetest>0
  33.   <p>
  34.   $name_expired
  35.   </p>
  36.   !exit
  37. !endif
  38.  
  39. :newblock
  40. <h2 id="$block">$titb</h2>
  41.  
  42. !read $docdir/$doc/$block.def content
  43.  
  44. !if $waitblock$(waitblock_$block)!=$empty
  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
  54. !endif
  55. !if $doctoc=yes
  56.   <hr />
  57.   !read $docdir/$doc/doctoc.def content
  58. !endif
  59. </div><!-- end of docprint -->
  60. </body>
  61. </html>
  62.