Subversion Repositories wimsdev

Rev

Rev 12115 | Rev 14080 | 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
 
3985 bpr 4
<b>$wims_name_Error</b>.
23 reyssat 5
 
6
!if not_secure iswordof $error
7
 !if $code!=$empty
8
  Incorrect secret code.
9
 !else
10
  This module is accessible only from secure hosts.
11
 !endif
12
 Access refused.
13
 !exit
14
!endif
15
 
16
!if checkhost iswordof $error
17
 Your current connection is not among the new definition of secure
18
 hosts. This is probably an error that may make you lose control of the
19
 class. Therefore, secure hosts definition is not changed.
20
 !exit
21
!endif
22
 
23
!if bad_file iswordof $error
24
 Sorry, but I cannot recognize <em>$wims_deposit</em> as a class backup file.
25
 Either you have sent a wrong file, or it is corrupt.
26
 !exit
27
!endif
28
 
29
!if empty_file iswordof $error
5901 bpr 30
 No class resources have been found in your backup file <span class="tt wims_fname">$wims_deposit</span>.
23 reyssat 31
 !exit
32
!endif
33
 
34
!if no_upload iswordof $error
35
 Uploaded data has expired: bad manoeuvre. Please try again.
36
 !exit
37
!endif
38
 
39
!if remote_sharing iswordof $error
3970 bpr 40
 Your neighbor class is actively sharing your teaching materials. Until it stops
23 reyssat 41
 sharing from its side, you cannot disallow it from continuing to share, nor
42
 remove it from your neighbor list.
43
 !exit
44
!endif
45
 
46
!if share_dep iswordof $error
12115 guerimand 47
 Resource sharing must respect dependencies: You must share 
48
 !if sheet iswordof $error
49
  exercises of the same class if you want to share worksheets of it.
50
 !else
51
  !if exam iswordof $error
52
   exercises and worksheets of the same class if you want to share exams of it.
53
  !else
54
   !if livret iswordof $error
55
    exercises and worksheets of the same class if you want to share skillbullet of it.
56
   !else
57
    !if userphoto iswordof $error
58
     user account of the same class if you want to share user photo of it.
59
    !endif
60
   !endif
61
  !endif
62
 !endif
23 reyssat 63
 !exit
64
!endif
65
 
12115 guerimand 66
!if stopshare_dep iswordof $error
67
 Le partage de ressources doit respecter les dépendances&nbsp;: vous devez d'abord arr&ecirc;ter le partage 
68
 !if sheet iswordof $error
69
  des examens et du livret de compétences avant celui des feuilles de travail.
70
 !else
71
  !if exo iswordof $error
72
   des feuilles de travail avant celui des exercices.
73
  !else
74
   !if user iswordof $error
75
    des photos individuelles avant celui des comptes de participants.
76
   !endif
77
  !endif
78
 !endif
79
 !exit
80
!endif
81
 
23 reyssat 82
!if not_neighbor iswordof $error
83
 You have tried an operation with a class that is not your effective neighbor.
6235 bpr 84
 <br />
23 reyssat 85
 Remember that a class is your effective neighbor only if mutual neighborhood
86
 is declared BOTH by you and by the other class.
87
 !exit
88
!endif
89
 
90
!if localmirror iswordof $error
91
 Mirror a class on the same server does not make sense.
92
 !exit
93
!endif
94
 
710 bpr 95
!if toobigfile iswordof $error
96
 La taille de votre fichier est trop importante : la limite est de 12K.
97
 !exit
98
!endif
99
 
13318 obado 100
!if file_too_large iswordof $error
101
  <p>It was not possible to archive this class because of its size. Archives are limited to <strong>$max_arch_size MB</strong>.</p>
102
  <p>We invite you to make a selective backup by selecting only certain data.</p>
103
  !if $format!=zip
104
    <p>nb: you can still download the generated file, but it is certainly truncated.</p>
105
  !endif
106
  !exit
107
!endif
108
 
23 reyssat 109
!msg $error