Rev 6235 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !set wims_module_log=error: $error |
2 | !set level=$[$level-1] |
||
3 | |||
10231 | bpr | 4 | <span class="wims_warning">$wims_name_Error</span>: |
23 | reyssat | 5 | |
6 | !if no_title iswordof $error |
||
7 | Please give a title to your exercise under preparation. |
||
8 | !exit |
||
9 | !endif |
||
10 | |||
11 | !if empty_title iswordof $error |
||
12 | The software is unable to find a title for your exercise. Did you define |
||
13 | it? |
||
14 | !exit |
||
15 | !endif |
||
16 | |||
17 | !if no_answer iswordof $error |
||
18 | Your exercise should ask for at least one reply (freestyle or multiple |
||
19 | choices). |
||
20 | !exit |
||
21 | !endif |
||
22 | |||
23 | !if no_statement iswordof $error |
||
10231 | bpr | 24 | The content of your exercise is incomplete: you did not define the |
23 | reyssat | 25 | statement of the exercise. |
26 | !exit |
||
27 | !endif |
||
28 | |||
29 | !if no_reply2 iswordof $error |
||
10231 | bpr | 30 | The content of your exercise is incomplete: there is no valid demand |
23 | reyssat | 31 | of replies. (A demand of reply is valid only if all the fields are filled.) |
32 | !exit |
||
33 | !endif |
||
34 | |||
35 | !if def_fail iswordof $error |
||
10231 | bpr | 36 | The software has failed to generate a valid exercise from what you have |
23 | reyssat | 37 | submitted. There are errors in your definitions. |
10231 | bpr | 38 | <div class="tt"><pre>$oef2wims_out</pre></div> |
23 | reyssat | 39 | !if $mode!=$empty |
40 | !set level=1 |
||
41 | !else |
||
42 | !set level=2 |
||
43 | !endif |
||
44 | !exit |
||
45 | !endif |
||
46 | |||
47 | !if name_exhaust iswordof $error |
||
48 | There are already several exercises in your class which carry the same |
||
10231 | bpr | 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 |
||
23 | reyssat | 51 | submit it again. |
52 | !exit |
||
53 | !endif |
||
54 | |||
55 | !if name_exhaustpub iswordof $error |
||
56 | There are already several submitted exercises which carry the same title |
||
3947 | bpr | 57 | as the one you want to create. If you did not submit the same exercise |
23 | reyssat | 58 | several times, please choose another title for your current exercise, then |
59 | submit it again. |
||
60 | !exit |
||
61 | !endif |
||
62 | |||
63 | !if unknown iswordof $error |
||
64 | The submission of your exercise has failed for an unknown reason. Sorry. |
||
65 | !exit |
||
66 | !endif |
||
67 | |||
68 | !if already iswordof $error |
||
69 | The exercise you want to submit is already in place. |
||
70 | !exit |
||
71 | !endif |
||
72 | |||
73 | !if not_class iswordof $error |
||
74 | Your request is illegal. |
||
75 | !exit |
||
76 | !endif |
||
77 | |||
78 | !if not_supervisor iswordof $error |
||
79 | Hmm... Of course only supervisors can delete exercises in the class! |
||
10231 | bpr | 80 | <p>Your request is refused.</p> |
23 | reyssat | 81 | !exit |
82 | !endif |
||
83 | |||
84 | !if not_exist iswordof $error |
||
85 | !if $catmodule!=$empty |
||
6235 | bpr | 86 | The exercise <span class="tt">$del</span> of <span class="tt">$catmodule</span> |
23 | reyssat | 87 | that you want to import does not exist, or does not allow you to import. |
88 | !else |
||
6235 | bpr | 89 | The exercise <span class="tt">$del</span> you wanted to modify/delete does |
23 | reyssat | 90 | not exist in your class. |
91 | !endif |
||
92 | !exit |
||
93 | !endif |