Subversion Repositories wimsdev

Rev

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

  1.  
  2. !for chapter=1 to $chaptercnt
  3.   !set a=!line 1 of $(chapter$chapter)
  4.   <h3>
  5.     !word $chapter of I. II. III. IV. V. VI. VII. VIII. IX. X.
  6.     $a
  7.   </h3>
  8.   !read chapter$chapter.phtml
  9.   !if $chapter!=2
  10.     <ol>
  11.       !set n=!linecnt $(chapter$chapter)
  12.       !for i=2 to $n
  13.         !set l=!line $i of $(chapter$chapter)
  14.         !set t=!item 1 of $l
  15.         !set s=!item 2 to -1 of $l
  16.         <li id="$t"><h4>$s</h4>
  17.           !if $t iswordof faqstud faqsup
  18.             !read $chapter/$t.phtml
  19.           !else
  20.             !read adm/language $chapter/$t.phtml
  21.           !endif
  22.         </li>
  23.       !next i
  24.     </ol>
  25.   !endif
  26. !next chapter
  27.  
  28. !tail
  29. !reset style
  30.