Subversion Repositories wimsdev

Rev

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

  1. !nocache
  2. !if $error!=$empty
  3. <div class="wims_alertmsg">
  4.  !read docu/msg.phtml
  5.  </div>
  6.  !exit
  7. !endif
  8. <div id="docprint">
  9. <h1 class="wims_docu_title">$tit</h1>
  10.  
  11. !if $titb=$empty
  12.  <p>
  13. $name_noncreate
  14.  </p>
  15.  !exit
  16. !endif
  17.  
  18. !if $datetest<0
  19.  <p>
  20. $name_noread
  21.  </p>
  22.  !exit
  23. !endif
  24.  
  25. !if $datetest>0
  26.  <p>
  27.  $name_expired
  28.  </p>
  29.  !exit
  30. !endif
  31.  
  32. :newblock
  33. <a id="$block"></a>
  34. <h3>$titb</h3>
  35.  
  36. !read $docdir/$doc/$block.def content
  37.  
  38. !if $waitblock$(waitblock_$block)!=$empty
  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.  
  45.  !read $docdir/$doc/$block.def
  46.  
  47.  !goto newblock
  48. !endif
  49.  
  50. </div><!-- end of docprint -->
  51.