Subversion Repositories wimsdev

Rev

Rev 10929 | Rev 12180 | 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
 
11217 obado 3
!default wims_name_passsup=$wims_name_Password ($name_sup)
4
!default wims_name_password=$wims_name_Password ($name_classesss)
10929 bpr 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
11217 obado 109
 class. Please complete your data before submitting them.<br/>
110
 <span class="tt wims_code_words">$(wims_name_$error_subject) required.</span>
2947 bpr 111
 !exit
112
!endif
113
 
23 reyssat 114
!if too_short=$error
5901 bpr 115
 The data field <span class="tt wims_code_words">$(wims_name_$(error_subject))</span> seems to be too short.
23 reyssat 116
 !exit
117
!endif
118
 
119
!if bad_date=$error
120
 Your expiration data is not correct.
121
 !exit
122
!endif
123
 
2947 bpr 124
!if anti_date=$error
125
 Your class has an expiration date before today. It would be expired before
126
 being created!
23 reyssat 127
 !exit
128
!endif
129
 
130
!if bad_level=$error
131
 Bad level value.
132
 !exit
133
!endif
134
 
2947 bpr 135
!if bad_email=$error
136
 Your email address is apparently not valid.
137
 <p>
138
 Please be aware that your creation of class will not succeed, unless
139
 you submit a REAL email address of YOUR OWN.
5859 bpr 140
 </p>
23 reyssat 141
 !exit
142
!endif
143
 
144
!if existing=$error
145
 The class $classname seems already exist. You should not recreate the
146
 same class.
147
 !exit
148
!endif
149
 
150
!if pass_discord=$error
3917 bpr 151
 The password you retyped does not correspond to the one originally given. Your
152
 class can therefore not be created. Please try again.
23 reyssat 153
 again.
154
 !exit
155
!endif
156
 
157
!if bad_pass=$error
11217 obado 158
 Your $(wims_name_$(error_subject)) contains illegal characters.
23 reyssat 159
 Please use a word containing only digits or letters without accent, and
160
 without space between them.
161
 !exit
162
!endif
163
 
164
!if bad_code=$error
10603 bpr 165
 You did not enter the right code for the class. Have you given your
23 reyssat 166
 email address correctly?<p>
167
 This failure has been logged.
5859 bpr 168
 </p>
23 reyssat 169
 !exit
170
!endif
171
 
172
!if define_fail=$error or abuse=$error
173
 The server has failed to insert your class into the database. This is
174
 an internal error of the software.
175
 <p>
176
 Please report the problem to the
3930 bpr 177
 !mailurl $wims_site_manager webmaster\
23 reyssat 178
user registration failure
179
. Thanks!
5859 bpr 180
</p>
23 reyssat 181
 !exit
182
!endif
183
 
184
!if duplicate=$error
185
 You have tried to recreate an existing class. Perhaps because you clicked
186
 on the button `reload'? In any case, your class $classname is already
5859 bpr 187
 there, and the second tentative of creation is ignored.
188
 <div>
4814 guerimand 189
 !read adm/lang/links.phtml.$modu_lang
5859 bpr 190
 </div>
23 reyssat 191
 !exit
192
!endif
193
 
9447 guerimand 194
!if classdontexists=$error
195
 Cette classe n'existe pas.
196
 !exit
197
!endif
198
 
199
!if notexempleclass=$error
200
 Cette classe n'est pas une classe d'exemple : impossible de la copier.
201
 !exit
202
!endif
203
 
204
!if badcpmethod=$error
205
 Méthode de copie impossible à identifier. Recommencer l'opération. Si l'erreur persiste contacter l'administrateur du serveur.
206
 !exit
207
!endif
208
 
9461 guerimand 209
!if cloningnotallow=$error
10603 bpr 210
 La duplication de cette classe n'est pas autorisée par son administrateur.
9461 guerimand 211
 !exit
212
!endif
213
 
214
!if badcloningpwd=$error
10603 bpr 215
 Mauvais mot de passe de duplication.
9461 guerimand 216
 !exit
217
!endif
218
 
219
!if disallowcloning=$error
10603 bpr 220
 Aucune duplication de cette classe ne peut être réalisée.
9461 guerimand 221
 !exit
222
!endif
223
 
4883 guerimand 224
!msg $error