Rev 13463 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11289 | bpr | 1 | !if $chapter!=2 |
13468 | obado | 2 | <ol class="doc_toc"> |
13461 | obado | 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 |
||
13468 | obado | 8 | <li id="$t"> |
13461 | obado | 9 | !if $(chapter)_$t iswordof $open |
10 | !set o=!replace word $(chapter)_$t by $ in $open |
||
13468 | obado | 11 | <h2>$s</h2> <span class="smaller"> |
12 | !href module=$module&chapter=$chapter&open=$o $wims_name_Close |
||
13461 | obado | 13 | </span> |
13468 | obado | 14 | <div class="section_content"> |
13461 | obado | 15 | !if $t iswordof faqstud faqsup |
16 | !read $chapter/$t.phtml |
||
17 | !else |
||
13463 | obado | 18 | !read adm/language $chapter/$t.phtml |
13461 | obado | 19 | !endif |
20 | </div> |
||
21 | !else |
||
13468 | obado | 22 | <h2> |
23 | !href module=$module&chapter=$chapter&open=$open,$(chapter)_$t#$t $s |
||
24 | </h2> |
||
13461 | obado | 25 | !endif |
26 | </li> |
||
27 | !next i |
||
28 | </ol> |
||
1163 | bpr | 29 | !endif |