Subversion Repositories wimsdev

Rev

Rev 13541 | Rev 15065 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
386 bpr 1
!if empty_out iswordof $error
13541 bpr 2
  Your code did not give any output. Please correct it.
3
  !if $m_reply_err!=$empty
4
    <pre><span class="wims_warning">$m_reply_err</span></pre>
5
  !endif
6
  !exit
386 bpr 7
!endif
8
 
6318 bpr 9
!! empty_data bad_data double_reply  are in html/msg.phtml.fr - suppress on test
386 bpr 10
 
11
!if bad_answer iswordof $error
13541 bpr 12
  !if illegalname iswordof $test
13
    Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
14
    !exit
15
  !endif
16
  !if lengthoverflow iswordof $test
17
    Your code has exceeded the length limit. Please rewrite it.
18
    !exit
19
  !endif
14997 bpr 20
  !if badsize iswordof $test
21
    You must select
22
    !word 3 of $test
23
     objects.
24
    !exit
25
  !endif
13541 bpr 26
  Your reply
27
  <span span class="tt">$bad_value</span>
28
  !if unknownword iswordof $test
29
    !set w=!word 3 of $test
30
    is not understandable: the word <span class="tt">$w</span>
31
    is unrelated to this problem or is not allowed.
32
    Please correct or choose a simpler sentence.
33
    !exit
34
  !endif
35
  !if nocompute iswordof $test
36
    is not allowed: please carry out the computation yourself, and
37
    submit the resulting value.
38
    !exit
39
  !endif
40
  !if nocomputecomplex iswordof $test
41
    is not allowed.
42
    Please give the complex number in standard rectangular form
43
    <span class="tt"> a + b i </span>
44
    where
45
    <span class="tt">a</span>
46
    and
47
    <span class="tt">b</span>
48
    are computed, and submit the resulting value (for example,
49
     <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
50
    !exit
51
  !endif
52
  !if badform iswordof $test
14997 bpr 53
    !if noreduced iswordof $test
54
      n'est pas une écriture irréductible. Veuillez réduire la fraction.
55
      !exit
56
    !endif
13541 bpr 57
    is not written as required. Please rewrite it in the correct form.
58
    !exit
59
  !endif
60
  !if notunit iswordof $test
61
    is only a number: please precise the unit in your answer.
62
    !exit
63
  !endif
64
  !if bad_variable iswordof $test
65
    is not understandable. It should contain extra variables.
66
    !exit
67
  !endif
68
  is not understandable.
69
  Please correct the error and resubmit your reply.
386 bpr 70
  !exit
71
!endif
72
 
73
!if bad_exo iswordof $error
13541 bpr 74
  !for j=1 to 50
75
    !if bad_exo $j isin $error
76
      !set whichexo=!nosubst (the good answer for the question $j\
77
      <span class="tt">$(replyname$j)</span>\
78
      is invalid)
79
      !!goto end_bad
80
      !break
81
    !endif
82
  !next
83
  :end_bad
84
  Due to an error in this exercise $whichexo, it is impossible to test the
85
  correctness of your answer. The only solution for you is to change the
86
  exercise; sorry.
87
  <p>
88
  Please
89
  !if $email!=$empty
14997 bpr 90
    !mailurl $email contact the author
13541 bpr 91
  !else
14997 bpr 92
    contact the author
13541 bpr 93
  !endif
94
  of the exercise if you want to report the error.
95
  </p>
96
  !exit
386 bpr 97
!endif
98
 
99
!if too_many_print iswordof $error
13541 bpr 100
  Your requests for printable versions are excessive.
101
  !exit
386 bpr 102
!endif
103
 
3611 bpr 104
!if chemclick_empty_data iswordof $error
13541 bpr 105
  You have selected no atom or bond. Look at the help.
106
  !exit
3611 bpr 107
!endif
108
 
109
!if chemdraw_empty_data iswordof $error
13541 bpr 110
  You have not modify the applet. Please complete it.
111
  !exit
3611 bpr 112
!endif
14997 bpr 113
 
13541 bpr 114
!if draw_bad_object iswordof $error
115
  You did not draw correctly the requested object ($type): try again!
116
  !exit
117
!endif
14997 bpr 118
 
6318 bpr 119
!msg $error