Subversion Repositories wimsdev

Rev

Rev 13468 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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