Subversion Repositories wimsdev

Rev

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

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