Subversion Repositories wimsdev

Rev

Rev 9461 | Rev 10929 | Go to most recent revision | 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
 
3
!if no_subclass iswordof $error
4
 You have no right to create subclasses under the current circumstances.
5
 !set restart=no
6
 !exit
7
!endif
8
 
9
!if no_right iswordof $error
10
 Sorry, you have no right to create virtual classes on this site. Please
3930 bpr 11
 !mailurl $wims_site_manager contact the webmaster\
23 reyssat 12
Virtual class creation
13
 for more details.
14
 !set restart=no
15
 !exit
16
!endif
17
 
18
!if not_manager iswordof $error
3930 bpr 19
 Sorry but only the webmaster has the right to create institution portals.
23 reyssat 20
 !exit
21
!endif
22
 
23
!if getpass iswordof $error
2947 bpr 24
 !if $sendmail!=$empty
5859 bpr 25
  <div class="wimscenter">
26
  The password has beedn send by email to the adress
27
  </div>
2947 bpr 28
 !endif
23 reyssat 29
 !if $regpass!=$empty
30
  Sorry, your password is not correct. Please try again.
31
 !else
32
  !set cname=!item $cltype+1 of virtual classes,,groups of classes,,\
33
	institution portals
34
  The creation of $cname on this site is protected by a password.
35
  You must enter this password before continuing.
36
 !endif
10603 bpr 37
 
23 reyssat 38
 !form reply
6235 bpr 39
  <input type="hidden" name="step" value="0" />
40
  Enter the password: <input size="16" name="regpass" type="password" />
10603 bpr 41
 
5926 bpr 42
!formend
43
 
23 reyssat 44
 Remark. The password for creation of virtual classes should be obtained from
45
 !mailurl $wims_site_manager the manager\
46
Virtual class creation password
47
 of this WIMS site.
48
 !set restart=no
49
 !exit
50
!endif
51
 
52
!if getid iswordof $error
53
 !if $regpass$regid!=$empty
54
  Sorry, your password is not correct. Please try again.
55
 !else
56
  The creation of virtual classes on this site is protected by a system of
57
  authentication. Please identify yourself.
58
 !endif
10603 bpr 59
 
23 reyssat 60
 !form reply
6374 bpr 61
  <table class="wimscenter wimsnoborder">
62
  <tr><td style="text-align:right">
6235 bpr 63
  Entrez the name of your account:</td><td><input size="20" name="regid" /></td>
6374 bpr 64
  </tr><tr><td style="text-align:right">
6235 bpr 65
  And the password:</td><td><input size="16" name="regpass" type="password" />
66
  <input type="submit" value="$wims_name_tosave" /></td>
23 reyssat 67
  </tr></table>
10603 bpr 68
 
5926 bpr 69
!formend
70
<p>
23 reyssat 71
 Remark. Please write to
3930 bpr 72
 !mailurl $wims_site_manager the webmaster\
23 reyssat 73
Virtual class creation password
74
 if you want an account for creating virtual classes.
5859 bpr 75
</p>
23 reyssat 76
 !set restart=no
77
 !exit
78
!endif
79
 
80
!if class_quota=$error
81
 You have the right to install up to $r_quota1 classes. You've had all;
82
 no room for more.
83
 !set restart=no
84
 !exit
85
!endif
86
 
87
!if bad_secure=$error
88
 Your current host does not fit your definition of secure access
6235 bpr 89
 (<span class="tt">$secure</span>)! This is probably an error which would make you unable
23 reyssat 90
 to control your class.
91
 <p>
3944 bpr 92
 Please read attentively the documentation below. If you still do not
23 reyssat 93
 understand, leave this field empty (you will be sent temporary secret codes
6235 bpr 94
 for sensitive operations), or put the word <span class="tt">all</span> to disable this
23 reyssat 95
 security measure.
6235 bpr 96
 <hr />
23 reyssat 97
 !read help/hosts.phtml
98
 !reset secure
99
 !exit
100
!endif
101
 
2947 bpr 102
!if has_empty=$error
10603 bpr 103
 You have not given all the necessary information for the creation of a
2947 bpr 104
 class. Please complete your data before submitting them.
105
 !exit
106
!endif
107
 
23 reyssat 108
!if too_short=$error
5901 bpr 109
 The data field <span class="tt wims_code_words">$(wims_name_$(error_subject))</span> seems to be too short.
23 reyssat 110
 !exit
111
!endif
112
 
113
!if bad_date=$error
114
 Your expiration data is not correct.
115
 !exit
116
!endif
117
 
2947 bpr 118
!if anti_date=$error
119
 Your class has an expiration date before today. It would be expired before
120
 being created!
23 reyssat 121
 !exit
122
!endif
123
 
124
!if bad_level=$error
125
 Bad level value.
126
 !exit
127
!endif
128
 
2947 bpr 129
!if bad_email=$error
130
 Your email address is apparently not valid.
131
 <p>
132
 Please be aware that your creation of class will not succeed, unless
133
 you submit a REAL email address of YOUR OWN.
5859 bpr 134
 </p>
23 reyssat 135
 !exit
136
!endif
137
 
138
!if existing=$error
139
 The class $classname seems already exist. You should not recreate the
140
 same class.
141
 !exit
142
!endif
143
 
144
!if pass_discord=$error
3917 bpr 145
 The password you retyped does not correspond to the one originally given. Your
146
 class can therefore not be created. Please try again.
23 reyssat 147
 again.
148
 !exit
149
!endif
150
 
151
!if bad_pass=$error
4883 guerimand 152
 Your $(name_$(error_subject)) contains illegal characters. <p>
23 reyssat 153
 Please use a word containing only digits or letters without accent, and
154
 without space between them.
155
 !exit
156
!endif
157
 
158
!if bad_code=$error
10603 bpr 159
 You did not enter the right code for the class. Have you given your
23 reyssat 160
 email address correctly?<p>
161
 This failure has been logged.
5859 bpr 162
 </p>
23 reyssat 163
 !exit
164
!endif
165
 
166
!if define_fail=$error or abuse=$error
167
 The server has failed to insert your class into the database. This is
168
 an internal error of the software.
169
 <p>
170
 Please report the problem to the
3930 bpr 171
 !mailurl $wims_site_manager webmaster\
23 reyssat 172
user registration failure
173
. Thanks!
5859 bpr 174
</p>
23 reyssat 175
 !exit
176
!endif
177
 
178
!if duplicate=$error
179
 You have tried to recreate an existing class. Perhaps because you clicked
180
 on the button `reload'? In any case, your class $classname is already
5859 bpr 181
 there, and the second tentative of creation is ignored.
182
 <div>
4814 guerimand 183
 !read adm/lang/links.phtml.$modu_lang
5859 bpr 184
 </div>
23 reyssat 185
 !exit
186
!endif
187
 
9447 guerimand 188
!if classdontexists=$error
189
 Cette classe n'existe pas.
190
 !exit
191
!endif
192
 
193
!if notexempleclass=$error
194
 Cette classe n'est pas une classe d'exemple : impossible de la copier.
195
 !exit
196
!endif
197
 
198
!if badcpmethod=$error
199
 Méthode de copie impossible à identifier. Recommencer l'opération. Si l'erreur persiste contacter l'administrateur du serveur.
200
 !exit
201
!endif
202
 
9461 guerimand 203
!if cloningnotallow=$error
10603 bpr 204
 La duplication de cette classe n'est pas autorisée par son administrateur.
9461 guerimand 205
 !exit
206
!endif
207
 
208
!if badcloningpwd=$error
10603 bpr 209
 Mauvais mot de passe de duplication.
9461 guerimand 210
 !exit
211
!endif
212
 
213
!if disallowcloning=$error
10603 bpr 214
 Aucune duplication de cette classe ne peut être réalisée.
9461 guerimand 215
 !exit
216
!endif
217
 
4883 guerimand 218
!msg $error