Subversion Repositories wimsdev

Rev

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