Subversion Repositories wimsdev

Rev

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

  1. !if $error=noexists
  2.   Attention, the exercise requested does not exist. An exercise of the module is taken at random.
  3.   !exit
  4. !endif
  5. !if empty_out iswordof $error
  6.   Your code did not give any output. Please correct it.
  7.   !if $m_reply_err!=$empty
  8.     <pre><span class="wims_warning">$m_reply_err</span></pre>
  9.   !endif
  10.   !exit
  11. !endif
  12.  
  13. !! empty_data bad_data double_reply are in html/msg.phtml.fr - suppress on test
  14.  
  15. !if bad_answer iswordof $error
  16.   !! ------------- begin of error message for litexp option polfactor polexpand
  17.   !if notreduced iswordof $test
  18.     !if termealgsimp iswordof $test
  19.       !! TODO_lang termealgsimp
  20.       !changeto oef/fr/msg.phtml
  21.     !endif
  22.     !if termenumsimp iswordof $test
  23.       !! TODO_lang termenumsimp
  24.       !changeto oef/fr/msg.phtml
  25.     !endif
  26.     !if termesamepower iswordof $test
  27.       !! TODO_lang termesamepower
  28.       !changeto oef/fr/msg.phtml
  29.     !endif
  30.     !if parenthesis iswordof $test
  31.       !! TODO_lang parenthesis
  32.       !changeto oef/fr/msg.phtml
  33.     !endif
  34.     !if power0 iswordof $test
  35.       !! TODO_lang power0
  36.       !changeto oef/fr/msg.phtml
  37.     !endif
  38.     !if constantbefore iswordof $test
  39.       !! TODO_lang constantbefore
  40.       !changeto oef/fr/msg.phtml
  41.     !endif
  42.   !endif
  43.   !if badform iswordof $test
  44.     !if notcomplete iswordof $test
  45.       !! TODO_lang notcomplete
  46.       !changeto oef/fr/msg.phtml
  47.     !endif
  48.     !if notfactorised iswordof $test
  49.       !! TODO_lang notfactorised
  50.       !changeto oef/fr/msg.phtml
  51.     !endif
  52.     !if usedivide iswordof $test
  53.       !! TODO_lang usedivide
  54.       !changeto oef/fr/msg.phtml
  55.     !endif
  56.     !if fparenthesis iswordof $test
  57.       !! TODO_lang fparenthesis
  58.       !changeto oef/fr/msg.phtml
  59.     !endif
  60.     !if multifactor iswordof $test
  61.       !! TODO_lang multifactor
  62.       !changeto oef/fr/msg.phtml
  63.     !endif
  64.     !if twofactorcst iswordof $test
  65.       !! TODO_lang twofactorcst
  66.       !changeto oef/fr/msg.phtml
  67.     !endif
  68.     !if factorcontent iswordof $test
  69.       !! TODO_lang factorcontent
  70.       !changeto oef/fr/msg.phtml
  71.     !endif
  72.   !endif
  73.   !! ------------- end of error message for litexp option polfactor polexpand
  74.   !if illegalname iswordof $test
  75.     Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
  76.     !exit
  77.   !endif
  78.   !if lengthoverflow iswordof $test
  79.     Your code has exceeded the length limit. Please rewrite it.
  80.     !exit
  81.   !endif
  82.   !if badsize iswordof $test
  83.     You must select
  84.     !word 3 of $test
  85.      objects.
  86.     !exit
  87.   !endif
  88.   Your reply
  89.   <span class="tt">$bad_value</span>
  90.   !if unknownword iswordof $test
  91.     !set w=!word 3 of $test
  92.     is not understandable: the word <span class="tt">$w</span>
  93.     is unrelated to this problem or is not allowed.
  94.     Please correct or choose a simpler sentence.
  95.     !exit
  96.   !endif
  97.   !if nocompute iswordof $test
  98.     is not allowed: please carry out the computation yourself, and
  99.     submit the resulting value.
  100.     !exit
  101.   !endif
  102.   !if nocomputecomplex iswordof $test
  103.     is not allowed.
  104.     Please give the complex number in standard rectangular form
  105.     <span class="tt"> a + b i </span>
  106.     where
  107.     <span class="tt">a</span>
  108.     and
  109.     <span class="tt">b</span>
  110.     are computed, and submit the resulting value (for example,
  111.      <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
  112.     !exit
  113.   !endif
  114.   !if badform iswordof $test
  115.     !if noreduced iswordof $test
  116.       is not an irreducible writing. Please reduce the fraction.
  117.       !exit
  118.     !endif
  119.     is not written as required. Please rewrite it in the correct form.
  120.     !exit
  121.   !endif
  122.   !if notunit iswordof $test
  123.     is only a number: please precise the unit in your answer.
  124.     !exit
  125.   !endif
  126.   !if bad_variable iswordof $test
  127.     is not understandable. It should contain extra variables.
  128.     !exit
  129.   !endif
  130.   is not understandable.
  131.   Please correct the error and resubmit your reply.
  132.   !exit
  133. !endif
  134.  
  135. !if bad_exo iswordof $error
  136.   !for j=1 to 50
  137.     !if bad_exo $j isin $error
  138.       !set whichexo=!nosubst (the good answer for the question $j\
  139.       <span class="tt">$(replyname$j)</span>\
  140.       is invalid)
  141.       !!goto end_bad
  142.       !break
  143.     !endif
  144.   !next
  145. :end_bad
  146.   Due to an error in this exercise $whichexo, it is impossible to test the
  147.   correctness of your answer. The only solution for you is to change the
  148.   exercise; sorry.
  149.   <p>
  150.   Please
  151.   !if $email!=$empty
  152.     !mailurl $email contact the author
  153.   !else
  154.     contact the author
  155.   !endif
  156.   of the exercise if you want to report the error.
  157.   </p>
  158.   !exit
  159. !endif
  160.  
  161. !if too_many_print iswordof $error
  162.   Your requests for printable versions are excessive.
  163.   !exit
  164. !endif
  165.  
  166. !if chemclick_empty_data iswordof $error
  167.   You have selected no atom or bond. Look at the help.
  168.   !exit
  169. !endif
  170.  
  171. !if chemdraw_empty_data iswordof $error
  172.   You have not modify the applet. Please complete it.
  173.   !exit
  174. !endif
  175.  
  176. !if draw_bad_object iswordof $error
  177.   You did not draw correctly the requested object ($type): try again!
  178.   !exit
  179. !endif
  180.  
  181. !msg $error
  182.