Subversion Repositories wimsdev

Rev

Rev 13468 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $chapter!=2
  2.   <ol class="doc_toc">
  3.     !set n=!linecnt $(chapter$chapter)
  4.     !for i=2 to $n
  5.       !set l=!line $i of $(chapter$chapter)
  6.       !set t=!item 1 of $l
  7.       !set s=!item 2 to -1 of $l
  8.       <li id="$t">
  9.         !if $(chapter)_$t iswordof $open
  10.           !set o=!replace word $(chapter)_$t by $ in $open
  11.           <h3>$s</h3> <span class="smaller">
  12.             !href module=$module&chapter=$chapter&open=$o $wims_name_Close
  13.           </span>
  14.           <div class="section_content">
  15.             !if $t iswordof faqstud faqsup
  16.               !read $chapter/$t.phtml
  17.             !else
  18.               !read adm/language $chapter/$t.phtml
  19.             !endif
  20.           </div>
  21.         !else
  22.           <h3>
  23.             !href module=$module&chapter=$chapter&open=$open,$(chapter)_$t#$t $s
  24.          </h3>
  25.         !endif
  26.       </li>
  27.     !next i
  28.   </ol>
  29. !endif
  30.