Subversion Repositories wimsdev

Rev

Rev 10223 | Rev 14997 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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