Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
13136 obado 1
!set lang_exists=yes
23 reyssat 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
 
13345 obado 8
!set cname=!item $cltype+1 of virtual classes,,groups of classes,,\
9
  institution portals
10
 
13076 bpr 11
!if noagreecgu iswordof $error
13136 obado 12
  $noagreecgu_msg
13076 bpr 13
  !exit
14
!endif
15
 
23 reyssat 16
!if no_subclass iswordof $error
17
 You have no right to create subclasses under the current circumstances.
18
 !set restart=no
19
 !exit
20
!endif
21
 
22
!if no_right iswordof $error
23
 Sorry, you have no right to create virtual classes on this site. Please
3930 bpr 24
 !mailurl $wims_site_manager contact the webmaster\
23 reyssat 25
Virtual class creation
26
 for more details.
27
 !set restart=no
28
 !exit
29
!endif
30
 
31
!if not_manager iswordof $error
13345 obado 32
 Sorry but only the webmaster has the right to create $cname.
23 reyssat 33
 !exit
34
!endif
35
 
36
!if getpass iswordof $error
2947 bpr 37
 !if $sendmail!=$empty
5859 bpr 38
  <div class="wimscenter">
12180 bpr 39
  The password has beed send by email to the adress
5859 bpr 40
  </div>
2947 bpr 41
 !endif
23 reyssat 42
 !if $regpass!=$empty
43
  Sorry, your password is not correct. Please try again.
44
 !else
45
  The creation of $cname on this site is protected by a password.
46
  You must enter this password before continuing.
47
 !endif
10603 bpr 48
 
23 reyssat 49
 !form reply
6235 bpr 50
  <input type="hidden" name="step" value="0" />
13345 obado 51
  <label for="regpass">Enter the password:</label>
52
  <input size="16" name="regpass" id="regpass" type="password" required />
53
 !formend
10603 bpr 54
 
23 reyssat 55
 Remark. The password for creation of virtual classes should be obtained from
56
 !mailurl $wims_site_manager the manager\
57
Virtual class creation password
58
 of this WIMS site.
59
 !set restart=no
60
 !exit
61
!endif
62
 
63
!if getid iswordof $error
13345 obado 64
  !if $regpass$regid!=$empty
65
    Sorry, your password is not correct. Please try again.
66
  !else
67
    The creation of virtual classes on this site is protected by a system of
68
    authentication. Please identify yourself.
69
  !endif
10603 bpr 70
 
13345 obado 71
  </div>
72
  !form reply
73
    <fieldset class="property_fields halfwidth blockcenter">
74
      <div class="field box">
75
        <label for="regid">
76
          Name of your account:
77
        </label>
78
        <input size="20" name="regid" id="regid" required/>
79
      </div>
80
      <div class="field box">
81
        <label for="regpass">
82
          And the password:
83
        </label>
84
        <input size="16" name="regpass" id="regpass" type="password"  required/>
85
      </div>
86
      <div class="wimscenter">
87
        <input type="submit" value="$wims_name_send" />
88
      </div>
89
    </fieldset>
90
  !formend
91
  <p>
92
    Remark. Please write to
93
    !mailurl $wims_site_manager the webmaster\
23 reyssat 94
Virtual class creation password
13345 obado 95
    if you want an account for creating virtual classes.
96
  </p>
97
  !set restart=no
98
  !exit
23 reyssat 99
!endif
100
 
101
!if class_quota=$error
13345 obado 102
  You have the right to install up to $r_quota1 classes.
103
  You've had all; no room for more.
104
  !set restart=no
105
  !exit
23 reyssat 106
!endif
107
 
108
!if bad_secure=$error
13345 obado 109
  Your current host does not fit your definition of secure access
110
  (<span class="tt">$secure</span>)! This is probably an error which would make you unable
111
  to control your class.
112
  <p>
113
    Please read attentively the documentation below. If you still do not
114
    understand, leave this field empty (you will be sent temporary secret codes
115
    for sensitive operations), or put the word <span class="tt">all</span> to disable this
116
    security measure.
117
  </p>
118
  <hr />
119
  !read help/hosts.phtml
120
  !reset secure
121
  !exit
23 reyssat 122
!endif
123
 
2947 bpr 124
!if has_empty=$error
13345 obado 125
  You have not given all the necessary information for the creation of a
126
  class. Please complete your data before submitting them.<br/>
127
  <span class="tt wims_code_words">$(wims_name_$error_subject) required.</span>
128
  !exit
2947 bpr 129
!endif
130
 
23 reyssat 131
!if too_short=$error
13345 obado 132
  The data field <span class="tt wims_code_words">$(wims_name_$(error_subject))</span> seems to be too short.
133
  !exit
23 reyssat 134
!endif
135
 
136
!if bad_date=$error
13345 obado 137
  Your expiration data is not correct.
138
  !exit
23 reyssat 139
!endif
140
 
2947 bpr 141
!if anti_date=$error
13345 obado 142
  Your class has an expiration date before today. It would be expired before
143
  being created!
144
  !exit
23 reyssat 145
!endif
146
 
147
!if bad_level=$error
13345 obado 148
  Bad level value.
149
  !exit
23 reyssat 150
!endif
151
 
2947 bpr 152
!if bad_email=$error
13345 obado 153
  Your email address is apparently not valid.
154
  <p>
155
    Please be aware that your creation of class will not succeed, unless
156
    you submit a REAL email address of YOUR OWN.
157
  </p>
158
  !exit
23 reyssat 159
!endif
160
 
161
!if existing=$error
13345 obado 162
  The class $classname seems already exist. You should not recreate the
163
  same class.
164
  !exit
23 reyssat 165
!endif
166
 
15928 guerimand 167
!if pass_discord isin $error
168
  The password you retyped (
169
  !if sup isin $error
170
   teacher 
171
   !if class isin $error
172
     and class
173
   !endif
174
  !else
175
    !if class isin $error
176
     class
177
    !endif
178
  !endif
179
  ) does not correspond to the one originally given. Your
13345 obado 180
  class can therefore not be created. Please try again.
181
  again.
182
  !exit
23 reyssat 183
!endif
184
 
185
!if bad_pass=$error
13345 obado 186
  Your $(wims_name_$(error_subject)) contains illegal characters.
187
  Please use a word containing only digits or letters without accent, and
188
  without space between them.
189
  !exit
23 reyssat 190
!endif
191
 
192
!if bad_code=$error
13345 obado 193
  You did not enter the right code for the class. Have you given your
194
  email address correctly?
195
  <p>This failure has been logged.</p>
196
  !exit
23 reyssat 197
!endif
198
 
199
!if define_fail=$error or abuse=$error
13345 obado 200
  The server has failed to insert your class into the database. This is
201
  an internal error of the software.
202
  <p>
203
    Please report the problem to the
204
    !mailurl $wims_site_manager webmaster\
23 reyssat 205
user registration failure
206
. Thanks!
13345 obado 207
  </p>
208
  !exit
23 reyssat 209
!endif
210
 
211
!if duplicate=$error
13345 obado 212
  You have tried to recreate an existing class. Perhaps because you clicked
213
  on the button `reload'? In any case, your class $classname is already
214
  there, and the second tentative of creation is ignored.
215
  <div>
216
    !read adm/lang/links.phtml.$modu_lang
217
  </div>
218
  !exit
23 reyssat 219
!endif
220
 
9447 guerimand 221
!if classdontexists=$error
13345 obado 222
  This class does not exist.
223
  !exit
9447 guerimand 224
!endif
225
 
226
!if notexempleclass=$error
13345 obado 227
  This class is not an example class: you can't copy it.
228
  !exit
9447 guerimand 229
!endif
230
 
231
!if badcpmethod=$error
13345 obado 232
  Unidentifiable copy method. Repeat the operation.
233
  If the error persists, contact the server administrator.
234
  !exit
9447 guerimand 235
!endif
236
 
9461 guerimand 237
!if cloningnotallow=$error
13345 obado 238
  Duplication of this class is not allowed by its administrator.
239
  !exit
9461 guerimand 240
!endif
241
 
242
!if badcloningpwd=$error
13345 obado 243
  Wrong duplication password.
244
  !exit
9461 guerimand 245
!endif
246
 
247
!if disallowcloning=$error
13345 obado 248
  No duplication of this class can be performed.
249
  !exit
9461 guerimand 250
!endif
251
 
16124 guerimand 252
!if subclasslimit=$error
253
  Vous avez atteint le nombre maximum de sous-classes ($max_subclasses). Il n'est pas possible d'en créer d'autres.
254
  !exit
255
!endif
256
 
4883 guerimand 257
!msg $error