File: msg.phtml

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (52 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

!set wims_module_error=error: $error

<span class="wims_warning">$wims_name_Error.</span>

!if empty_data iswordof $error
 You have submitted an incomplete reply. Please complete it.
 !exit
!endif

!if bad_data iswordof $error
 I have failed to evaluate the values you submitted. A typo?
 !exit
!endif

!if double_reply iswordof $error
 You have already submitted a reply to this problem, which has been 
 analysed and scored. Repetitive replies are ignored. (Don't use the 
 `reload' button of your browser to repost replies!)
 !exit
!endif

!if bad_answer iswordof $error
 Your reply <p class="wims_center">
 <b>$bad_name</b> = <span class="tt">$bad_value</span> </p>
 !if nocompute isin $test
  is not allowed: please carry out the computation yourself, and
  submit the resulting value.
 !else
  is not understandable. 
  Please correct the error and resubmit your reply.
 !endif
 !exit
!endif

!if bad_exo iswordof $error
 Due to an error in this exercise (the good answer for <b>$(replyname$i)</b>
 is invalid), it is impossible to test the
 correctness of your answer. The only solution for you is to change the
 exercise; sorry.
 <p>
 Please 
 !if $email!=$empty
  !mailurl $email contact the author
 !else
  contact the author
 !endif
 of the exercise if you want to report the error.
 !exit
!endif

$error