Subversion Repositories wimsdev

Rev

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

Rev 10208 Rev 10223
Line 9... Line 9...
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="wims_msg alert 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="wims_msg alert 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="wims_msg alert 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
Line 33... Line 33...
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="wims_msg alert tt"> a + b i </span>
38
   <span class="tt"> a + b i </span>
39
   where
39
   where
40
   <span class="wims_msg alert tt">a</span>
40
   <span class="tt">a</span>
41
   and
41
   and
42
   <span class="wims_msg alert 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="wims_msg alert tt"> -1 + 2 i</span> or <span class="wims_msg alert 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
Line 63... Line 63...
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="wims_msg alert 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