Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
 
11217 obado 2
!default wims_name_passsup=$wims_name_Password ($name_sup)
3
!default wims_name_password=$wims_name_Password ($name_classesss)
10929 bpr 4
!default wims_name_institution=$name_Name_portal
5
!default wims_name_description=$wims_name_name $name_classesss
6
 
23 reyssat 7
!if no_subclass iswordof $error
8
 You have no right to create subclasses under the current circumstances.
9
 !set restart=no
10
 !exit
11
!endif
12
 
13
!if no_right iswordof $error
14
 Sorry, you have no right to create virtual classes on this site. Please
3930 bpr 15
 !mailurl $wims_site_manager contact the webmaster\
23 reyssat 16
Virtual class creation
17
 for more details.
18
 !set restart=no
19
 !exit
20
!endif
21
 
22
!if not_manager iswordof $error
3930 bpr 23
 Sorry but only the webmaster has the right to create institution portals.
23 reyssat 24
 !exit
25
!endif
26
 
27
!if getpass iswordof $error
2947 bpr 28
 !if $sendmail!=$empty
5859 bpr 29
  <div class="wimscenter">
12180 bpr 30
  The password has beed send by email to the adress
5859 bpr 31
  </div>
2947 bpr 32
 !endif
23 reyssat 33
 !if $regpass!=$empty
34
  Sorry, your password is not correct. Please try again.
35
 !else
36
  !set cname=!item $cltype+1 of virtual classes,,groups of classes,,\
37
	institution portals
38
  The creation of $cname on this site is protected by a password.
39
  You must enter this password before continuing.
40
 !endif
10603 bpr 41
 
23 reyssat 42
 !form reply
6235 bpr 43
  <input type="hidden" name="step" value="0" />
44
  Enter the password: <input size="16" name="regpass" type="password" />
10603 bpr 45
 
5926 bpr 46
!formend
47
 
23 reyssat 48
 Remark. The password for creation of virtual classes should be obtained from
49
 !mailurl $wims_site_manager the manager\
50
Virtual class creation password
51
 of this WIMS site.
52
 !set restart=no
53
 !exit
54
!endif
55
 
56
!if getid iswordof $error
57
 !if $regpass$regid!=$empty
58
  Sorry, your password is not correct. Please try again.
59
 !else
60
  The creation of virtual classes on this site is protected by a system of
61
  authentication. Please identify yourself.
62
 !endif
10603 bpr 63
 
23 reyssat 64
 !form reply
6374 bpr 65
  <table class="wimscenter wimsnoborder">
66
  <tr><td style="text-align:right">
6235 bpr 67
  Entrez the name of your account:</td><td><input size="20" name="regid" /></td>
6374 bpr 68
  </tr><tr><td style="text-align:right">
6235 bpr 69
  And the password:</td><td><input size="16" name="regpass" type="password" />
70
  <input type="submit" value="$wims_name_tosave" /></td>
23 reyssat 71
  </tr></table>
10603 bpr 72
 
5926 bpr 73
!formend
74
<p>
23 reyssat 75
 Remark. Please write to
3930 bpr 76
 !mailurl $wims_site_manager the webmaster\
23 reyssat 77
Virtual class creation password
78
 if you want an account for creating virtual classes.
5859 bpr 79
</p>
23 reyssat 80
 !set restart=no
81
 !exit
82
!endif
83
 
84
!if class_quota=$error
85
 You have the right to install up to $r_quota1 classes. You've had all;
86
 no room for more.
87
 !set restart=no
88
 !exit
89
!endif
90
 
91
!if bad_secure=$error
92
 Your current host does not fit your definition of secure access
6235 bpr 93
 (<span class="tt">$secure</span>)! This is probably an error which would make you unable
23 reyssat 94
 to control your class.
95
 <p>
3944 bpr 96
 Please read attentively the documentation below. If you still do not
23 reyssat 97
 understand, leave this field empty (you will be sent temporary secret codes
6235 bpr 98
 for sensitive operations), or put the word <span class="tt">all</span> to disable this
23 reyssat 99
 security measure.
6235 bpr 100
 <hr />
23 reyssat 101
 !read help/hosts.phtml
102
 !reset secure
103
 !exit
104
!endif
105
 
2947 bpr 106
!if has_empty=$error
10603 bpr 107
 You have not given all the necessary information for the creation of a
11217 obado 108
 class. Please complete your data before submitting them.<br/>
109
 <span class="tt wims_code_words">$(wims_name_$error_subject) required.</span>
2947 bpr 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
11217 obado 157
 Your $(wims_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