Subversion Repositories wimsdev

Rev

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

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