Subversion Repositories wimsdev

Rev

Rev 6235 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6235 Rev 10231
Line 2... Line 2...
2
!set level=$[$level-1]
2
!set level=$[$level-1]
3
 
3
 
4
<h3 class="wimscenter wims_warning">$wims_name_Error</h3>
4
<span class="wims_warning">$wims_name_Error</span>:
5
 
5
 
6
!if no_title iswordof $error
6
!if no_title iswordof $error
7
 Please give a title to your exercise under preparation.
7
 Please give a title to your exercise under preparation.
8
 !exit
8
 !exit
9
!endif
9
!endif
Line 19... Line 19...
19
 choices).
19
 choices).
20
 !exit
20
 !exit
21
!endif
21
!endif
22
 
22
 
23
!if no_statement iswordof $error
23
!if no_statement iswordof $error
24
 The content of your exercise is incomplete: you did not define the 
24
 The content of your exercise is incomplete: you did not define the
25
 statement of the exercise.
25
 statement of the exercise.
26
 !exit
26
 !exit
27
!endif
27
!endif
28
 
28
 
29
!if no_reply2 iswordof $error
29
!if no_reply2 iswordof $error
30
 The content of your exercise is incomplete: there is no valid demand 
30
 The content of your exercise is incomplete: there is no valid demand
31
 of replies. (A demand of reply is valid only if all the fields are filled.)
31
 of replies. (A demand of reply is valid only if all the fields are filled.)
32
 !exit
32
 !exit
33
!endif
33
!endif
34
 
34
 
35
!if def_fail iswordof $error
35
!if def_fail iswordof $error
36
 The software has failed to generate a valid exercise from what you have 
36
 The software has failed to generate a valid exercise from what you have
37
 submitted. There are errors in your definitions.
37
 submitted. There are errors in your definitions.
38
 <p><pre>$oef2wims_out</pre> <p>
38
 <div class="tt"><pre>$oef2wims_out</pre></div>
39
 !if $mode!=$empty
39
 !if $mode!=$empty
40
  !set level=1
40
  !set level=1
41
 !else
41
 !else
42
  !set level=2
42
  !set level=2
43
 !endif
43
 !endif
44
 !exit
44
 !exit
45
!endif
45
!endif
46
 
46
 
47
!if name_exhaust iswordof $error
47
!if name_exhaust iswordof $error
48
 There are already several exercises in your class which carry the same
48
 There are already several exercises in your class which carry the same
49
 title as the one you want to create. If these exercises are REALLY 
49
 title as the one you want to create. If these exercises are REALLY
50
 different, please choose another title for your current exercise, then 
50
 different, please choose another title for your current exercise, then
51
 submit it again.
51
 submit it again.
52
 !exit
52
 !exit
53
!endif
53
!endif
54
 
54
 
55
!if name_exhaustpub iswordof $error
55
!if name_exhaustpub iswordof $error
Line 75... Line 75...
75
 !exit
75
 !exit
76
!endif
76
!endif
77
 
77
 
78
!if not_supervisor iswordof $error
78
!if not_supervisor iswordof $error
79
 Hmm... Of course only supervisors can delete exercises in the class!
79
 Hmm... Of course only supervisors can delete exercises in the class!
80
 <p>Your request is refused.
80
 <p>Your request is refused.</p>
81
 !exit
81
 !exit
82
!endif
82
!endif
83
 
83
 
84
!if not_exist iswordof $error
84
!if not_exist iswordof $error
85
 !if $catmodule!=$empty
85
 !if $catmodule!=$empty