Subversion Repositories wimsdev

Rev

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

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