Subversion Repositories wimsdev

Rev

Rev 5619 | Rev 6588 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5619 bpr 1
<div class="wims_content">
2450 bpr 2
 
3
!if $realtest=yes
4
 !changeto oef/help.phtml
5
!endif
6
 
7
!set helplist=oef,examples,format,parameters,oefparm,reply,embedans,\
3263 bpr 8
        feedback,math,draw,draw_example,oefadv,if,symtext,model,slib,command
2450 bpr 9
 
10
!set s_=!item 1 of $special_parm
11
!if $s_=all
12
 !for sj in $helplist
6229 bpr 13
 <br class="spacer" />
3263 bpr 14
  !read help/$sj.phtml
2450 bpr 15
 !next sj
16
 !exit
17
!endif
18
!if $s_!=$empty
2451 bpr 19
 !if $s_=symtext
20
   !read help/symtext/symtext.phtml
2452 bpr 21
   !exit
22
 !endif
2455 bpr 23
 !if $s_ iswordof slib model
24
  !read help/$s_.phtml $special_parm
2451 bpr 25
 !else
3481 bpr 26
   !if $s_ iswordof reply and $modtoolhelp=yes
27
     !read help/$s_.phtml $(special_parm[2])
28
   !else
29
     !read help/$s_.phtml
30
   !endif
2451 bpr 31
 !endif
3481 bpr 32
 !if $modtoolhelp!=yes
33
  !set wims_menu_items=!append line back2,1,cmd=help\
2450 bpr 34
 to $wims_menu_items
3481 bpr 35
 !endif
2450 bpr 36
 !exit
37
!endif
38
 
39
!set record_cnt=!recordcnt lang/help.phtml.$modu_lang
40
<ul>
41
!for s_=2 to $record_cnt
42
  !set ss_=!record $s_ of lang/help.phtml.$modu_lang
3263 bpr 43
<li>
2450 bpr 44
!href cmd=help&special_parm=$(ss_[1]) $(ss_[2])
45
 $(ss_[3])
46
</li>
47
!next s_
3263 bpr 48
</ul>
2450 bpr 49
!endif
5601 obado 50
 
51
</div>