Subversion Repositories wimsdev

Rev

Rev 13963 | Rev 14026 | 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,canvasdraw,oefadv,if,symtext,model,slib,command,css,
  9.   !set s_=!item 1 of $special_parm
  10.   !if $s_=all
  11.     !for sj in $helplist
  12.       <br class="spacer" />
  13.       !read help/$sj.phtml
  14.     !next sj
  15.     !goto end
  16.   !endif
  17.  
  18.   !if $s_!=$empty
  19.     !if $s_=symtext
  20.       !read help/symtext/symtext.phtml
  21.       !goto end
  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.         !if $s_ iswordof canvas_examples
  30.           !set tmp=!replace internal _ by , in $(special_parm[2])
  31.           <h2 class="wimscenter">$wims_name_Example: $(tmp[1])</h2>
  32.           !read help/canvas_examples.phtml $(special_parm[2])
  33.           !set wims_menu_items=!append line back2,1,cmd=help&special_parm=canvasdraw#$(tmp[1])\
  34.        to $wims_menu_items
  35.           !reset tmp
  36.           !goto end
  37.         !else
  38.           !read help/$s_.phtml
  39.         !endif
  40.       !endif
  41.     !endif
  42.     !if $modtoolhelp!=yes
  43.       !set wims_menu_items=!append line back2,1,cmd=help\
  44.         to $wims_menu_items
  45.     !endif
  46.     !goto end
  47.   !endif
  48.  
  49.   !! when $s_==$empty
  50.   !set record_cnt=!recordcnt lang/help.phtml.$modu_lang
  51.   <ul>
  52.     !for s_=2 to $record_cnt
  53.       <li>
  54.         !set ss_=!record $s_ of lang/help.phtml.$modu_lang
  55.         !href cmd=help&special_parm=$(ss_[1]) $(ss_[2])
  56.         $(ss_[3])
  57.       </li>
  58.     !next s_
  59.   </ul>
  60.  
  61. :end
  62. </div> <!-- end wims_content -->
  63.