Subversion Repositories wimsdev

Rev

Rev 13443 | Rev 13963 | 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. <div class="wims_content">
  7.   !set helplist=oef,examples,format,parameters,oefparm,reply,embedans,\
  8.          feedback,math,draw,draw_example,oefadv,if,symtext,model,slib,command,css,\
  9.          canvas_examples
  10.   !set s_=!item 1 of $special_parm
  11.   !if $s_=all
  12.     !for sj in $helplist
  13.       <br class="spacer" />
  14.       !read help/$sj.phtml
  15.     !next sj
  16.     !goto end
  17.   !endif
  18.  
  19.   !if $s_!=$empty
  20.     !if $s_=symtext
  21.       !read help/symtext/symtext.phtml
  22.       !goto end
  23.     !endif
  24.     !if $s_ iswordof slib model
  25.       !read help/$s_.phtml $special_parm
  26.     !else
  27.       !if $s_ iswordof reply and $modtoolhelp=yes
  28.         !read help/$s_.phtml $(special_parm[2])
  29.       !else
  30.         !if $s_ iswordof canvas_examples
  31.           !read help/canvas_examples.phtml $(special_parm[2])
  32.           !set wims_menu_items=!append line back2,1,cmd=help&special_parm=canvasdraw#$(special_parm[2])\
  33.        to $wims_menu_items
  34.           !goto end
  35.         !else
  36.           !read help/$s_.phtml
  37.         !endif
  38.       !endif
  39.     !endif
  40.     !if $modtoolhelp!=yes
  41.       !set wims_menu_items=!append line back2,1,cmd=help\
  42.         to $wims_menu_items
  43.     !endif
  44.     !goto end
  45.   !endif
  46.  
  47.   !! when $s_==$empty
  48.   !set record_cnt=!recordcnt lang/help.phtml.$modu_lang
  49.   <ul>
  50.     !for s_=2 to $record_cnt
  51.       <li>
  52.         !set ss_=!record $s_ of lang/help.phtml.$modu_lang
  53.         !href cmd=help&special_parm=$(ss_[1]) $(ss_[2])
  54.         $(ss_[3])
  55.       </li>
  56.     !next s_
  57.   </ul>
  58.  
  59. :end
  60. </div> <!-- end wims_content -->
  61.