Subversion Repositories wimsdev

Rev

Rev 13136 | Rev 15928 | 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
 
167
!if pass_discord=$error
13345 obado 168
  The password you retyped does not correspond to the one originally given. Your
169
  class can therefore not be created. Please try again.
170
  again.
171
  !exit
23 reyssat 172
!endif
173
 
174
!if bad_pass=$error
13345 obado 175
  Your $(wims_name_$(error_subject)) contains illegal characters.
176
  Please use a word containing only digits or letters without accent, and
177
  without space between them.
178
  !exit
23 reyssat 179
!endif
180
 
181
!if bad_code=$error
13345 obado 182
  You did not enter the right code for the class. Have you given your
183
  email address correctly?
184
  <p>This failure has been logged.</p>
185
  !exit
23 reyssat 186
!endif
187
 
188
!if define_fail=$error or abuse=$error
13345 obado 189
  The server has failed to insert your class into the database. This is
190
  an internal error of the software.
191
  <p>
192
    Please report the problem to the
193
    !mailurl $wims_site_manager webmaster\
23 reyssat 194
user registration failure
195
. Thanks!
13345 obado 196
  </p>
197
  !exit
23 reyssat 198
!endif
199
 
200
!if duplicate=$error
13345 obado 201
  You have tried to recreate an existing class. Perhaps because you clicked
202
  on the button `reload'? In any case, your class $classname is already
203
  there, and the second tentative of creation is ignored.
204
  <div>
205
    !read adm/lang/links.phtml.$modu_lang
206
  </div>
207
  !exit
23 reyssat 208
!endif
209
 
9447 guerimand 210
!if classdontexists=$error
13345 obado 211
  This class does not exist.
212
  !exit
9447 guerimand 213
!endif
214
 
215
!if notexempleclass=$error
13345 obado 216
  This class is not an example class: you can't copy it.
217
  !exit
9447 guerimand 218
!endif
219
 
220
!if badcpmethod=$error
13345 obado 221
  Unidentifiable copy method. Repeat the operation.
222
  If the error persists, contact the server administrator.
223
  !exit
9447 guerimand 224
!endif
225
 
9461 guerimand 226
!if cloningnotallow=$error
13345 obado 227
  Duplication of this class is not allowed by its administrator.
228
  !exit
9461 guerimand 229
!endif
230
 
231
!if badcloningpwd=$error
13345 obado 232
  Wrong duplication password.
233
  !exit
9461 guerimand 234
!endif
235
 
236
!if disallowcloning=$error
13345 obado 237
  No duplication of this class can be performed.
238
  !exit
9461 guerimand 239
!endif
240
 
4883 guerimand 241
!msg $error