Subversion Repositories wimsdev

Rev

Rev 17361 | 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 usebadchar iswordof $test
  53.       !! TODO_lang usebadchar
  54.       !changeto oef/fr/msg.phtml
  55.       !exit
  56.     !endif
  57.     !if uselessfactor iswordof $test
  58.       !! TODO_lang uselessfactor
  59.       !changeto oef/fr/msg.phtml
  60.       !exit
  61.     !endif
  62.     !if fparenthesis iswordof $test
  63.       !! TODO_lang fparenthesis
  64.       !changeto oef/fr/msg.phtml
  65.     !endif
  66.     !if multifactor iswordof $test
  67.       !! TODO_lang multifactor
  68.       !changeto oef/fr/msg.phtml
  69.     !endif
  70.     !if twofactorcst iswordof $test
  71.       !! TODO_lang twofactorcst
  72.       !changeto oef/fr/msg.phtml
  73.     !endif
  74.     !if factorcontent iswordof $test
  75.       !! TODO_lang factorcontent
  76.       !changeto oef/fr/msg.phtml
  77.     !endif
  78.   !endif
  79.   !! ------------- end of error message for litexp option polfactor polexpand
  80.   !if illegalname iswordof $test
  81.     Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
  82.     !exit
  83.   !endif
  84.   !if lengthoverflow iswordof $test
  85.     Your code has exceeded the length limit. Please rewrite it.
  86.     !exit
  87.   !endif
  88.   !if badsize iswordof $test
  89.     You must select
  90.     !word 3 of $test
  91.      objects.
  92.     !exit
  93.   !endif
  94.   Your reply
  95.   <span class="tt">$bad_value</span>
  96.   !if unknownword iswordof $test
  97.     !set w=!word 3 of $test
  98.     is not understandable: the word <span class="tt">$w</span>
  99.     is unrelated to this problem or is not allowed.
  100.     Please correct or choose a simpler sentence.
  101.     !exit
  102.   !endif
  103.   !if nocompute iswordof $test
  104.     is not allowed: please carry out the computation yourself, and
  105.     submit the resulting value.
  106.     !exit
  107.   !endif
  108.   !if nocomputecomplex iswordof $test
  109.     is not allowed.
  110.     Please give the complex number in standard rectangular form
  111.     <span class="tt"> a + b i </span>
  112.     where
  113.     <span class="tt">a</span>
  114.     and
  115.     <span class="tt">b</span>
  116.     are computed, and submit the resulting value (for example,
  117.      <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
  118.     !exit
  119.   !endif
  120.   !if badform iswordof $test
  121.     !if noreduced iswordof $test
  122.       is not an irreducible writing. Please reduce the fraction.
  123.       !exit
  124.     !endif
  125.     is not written as required. Please rewrite it in the correct form.
  126.     !exit
  127.   !endif
  128.   !if notunit iswordof $test
  129.     is only a number: please precise the unit in your answer.
  130.     !exit
  131.   !endif
  132.   !if bad_variable iswordof $test
  133.     is not understandable. It should contain extra variables.
  134.     !exit
  135.   !endif
  136.   is not understandable.
  137.   Please correct the error and resubmit your reply.
  138.   !exit
  139. !endif
  140.  
  141. !if bad_exo iswordof $error
  142.   !for j=1 to 50
  143.     !if bad_exo $j isin $error
  144.       !set whichexo=!nosubst (the good answer for the question $j\
  145.       <span class="tt">$(replyname$j)</span>\
  146.       is invalid)
  147.       !!goto end_bad
  148.       !break
  149.     !endif
  150.   !next
  151. :end_bad
  152.   Due to an error in this exercise $whichexo, it is impossible to test the
  153.   correctness of your answer. The only solution for you is to change the
  154.   exercise; sorry.
  155.   <p>
  156.   Please
  157.   !if $email!=$empty
  158.     !mailurl $email contact the author
  159.   !else
  160.     contact the author
  161.   !endif
  162.   of the exercise if you want to report the error.
  163.   </p>
  164.   !exit
  165. !endif
  166.  
  167. !if too_many_print iswordof $error
  168.   Your requests for printable versions are excessive.
  169.   !exit
  170. !endif
  171.  
  172. !if chemclick_empty_data iswordof $error
  173.   You have selected no atom or bond. Look at the help.
  174.   !exit
  175. !endif
  176.  
  177. !if chemdraw_empty_data iswordof $error
  178.   You have not modify the applet. Please complete it.
  179.   !exit
  180. !endif
  181.  
  182. !if draw_bad_object iswordof $error
  183.   You did not draw correctly the requested object ($type): try again!
  184.   !exit
  185. !endif
  186.  
  187. !msg $error
  188.