Subversion Repositories wimsdev

Rev

Rev 13463 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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