Subversion Repositories wimsdev

Rev

Rev 2477 | Rev 3985 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
2
!set wims_module_log=error: $error $wims_class
3
 
4
<b>Error</b>.
5
 
6
!if not_supervisor iswordof $error
7
 Sorry, this module can only be accessed by the supervisor of a virtual class.
8
 !exit
9
!endif
10
 
11
!if not_secure iswordof $error
12
 !if $code!=$empty
13
  Incorrect secret code.
14
 !else
15
  This module is accessible only from secure hosts.
16
 !endif
17
 Access refused.
18
 !exit
19
!endif
20
 
21
!if checkhost iswordof $error
22
 Your current connection is not among the new definition of secure
23
 hosts. This is probably an error that may make you lose control of the
24
 class. Therefore, secure hosts definition is not changed.
25
 !exit
26
!endif
27
 
28
!if bad_file iswordof $error
29
 Sorry, but I cannot recognize <em>$wims_deposit</em> as a class backup file.
30
 Either you have sent a wrong file, or it is corrupt.
31
 !exit
32
!endif
33
 
34
!if empty_file iswordof $error
35
 No class resources have been found in your backup file <tt>$wims_deposit</tt>.
36
 !exit
37
!endif
38
 
39
!if no_upload iswordof $error
40
 Uploaded data has expired: bad manoeuvre. Please try again.
41
 !exit
42
!endif
43
 
44
!if remote_sharing iswordof $error
45
 Your neighbor class is actively sharing your resources. Until it stops
46
 sharing from its side, you cannot disallow it from continuing to share, nor
47
 remove it from your neighbor list.
48
 !exit
49
!endif
50
 
51
!if share_dep iswordof $error
52
 Resource sharing must respect dependencies: You must share exercises of
3917 bpr 53
 the same class if you want to share worksheets of it, and you must
54
 share worksheets of the same class if you want to share exams of it.
23 reyssat 55
 !exit
56
!endif
57
 
58
!if not_neighbor iswordof $error
59
 You have tried an operation with a class that is not your effective neighbor.
60
 <p>
61
 Remember that a class is your effective neighbor only if mutual neighborhood
62
 is declared BOTH by you and by the other class.
63
 !exit
64
!endif
65
 
66
!if localmirror iswordof $error
67
 Mirror a class on the same server does not make sense.
68
 !exit
69
!endif
70
 
710 bpr 71
!if toobigfile iswordof $error
72
 La taille de votre fichier est trop importante : la limite est de 12K.
73
 !exit
74
!endif
75
 
23 reyssat 76
!msg $error
77