Subversion Repositories wimsdev

Rev

Rev 13461 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11290 bpr 1
!set faqcnt=!recordcnt $faqfile
2
!if $faqcnt>0
3
<ul>
4
 !for j=1 to $faqcnt
5
 <li>
6
  !set tmp=!record $j of $faqfile
7
  !set tmpcnt=!linecnt of $tmp
8
  !for t=1 to $tmpcnt
9
    !set lt=!line $t of $tmp
11294 bpr 10
    !set lt=!replace internal `` by <span class="wims_emph"> in $lt
11
    !set lt=!replace internal '' by </span> in $lt
11290 bpr 12
    !if $t=1
13463 obado 13
   <div class="faq_Q"><b>$name_question</b>:
11291 bpr 14
    !set lt=!replace @Q: by in $lt
11290 bpr 15
    !endif
16
    !if @R isin $lt
13463 obado 17
   </div><div class="faq_R"><b>$name_answer</b>:
11291 bpr 18
    !set lt=!replace @R: by in $lt
11290 bpr 19
    !endif
20
    $lt
21
  !next
22
  </div>
23
 </li>
24
!next
25
</ul>
26
!endif