Subversion Repositories wimsdev

Rev

Rev 14625 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if $special_parm=oef_help_chrono
  3.   !set tmp=$module_title
  4.   !set title=$wims_name_help
  5.   !read help/$lang/chrono.phtml
  6.   !!!set module_title=$tmp
  7.   !exit
  8. !endif
  9.  
  10. !set tmp_test=0
  11. !for tmp=1 to $replycnt
  12.   !if $(replytype$tmp) iswordof formal
  13.     !set tmp_test=$[max($tmp_test,1)]
  14.   !endif
  15.   !if $(replytype$tmp) iswordof function
  16.     !set tmp_test=$[max($tmp_test,2)]
  17.   !endif
  18. !next
  19. !if $help=$empty and $tmp_test=0
  20.   <div class="wims_msg alert">
  21.   $name_warning_help
  22.   </div>
  23. !else
  24.   !set m_help_subject=$special_parm
  25.   <div>
  26.   !read $deffile help
  27.   </div>
  28. !endif
  29. !if $tmp_test>0
  30.   !set ch_=!record 0 of help/fr/math2.phtml
  31.   !set ch_=!getopt level$tmp_test in $ch_
  32.   !for tmp in $ch_
  33.     <div class="wims_instruction">
  34.     !record $tmp of help/fr/math2.phtml
  35.     </div>
  36.   !next
  37. !endif
  38.