Subversion Repositories wimsdev

Rev

Rev 5115 | Rev 5764 | 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
 
3
!if no_subclass iswordof $error
4
 V trenutnih okoliščinah nimate pravic za ustvarjanje učilnic.
5
 !set restart=no
6
 !exit
7
!endif
8
 
9
!if no_right iswordof $error
10
 Sorry, you have no right to create virtual classes on this site. Please
3930 bpr 11
 !mailurl $wims_site_manager contact the webmaster\
23 reyssat 12
Virtual class creation
13
 for more details.
14
 !set restart=no
15
 !exit
16
!endif
17
 
18
!if not_manager iswordof $error
3930 bpr 19
 Sorry but only the webmaster has the right to create institution portals.
23 reyssat 20
 !exit
21
!endif
22
 
23
!if getpass iswordof $error
2947 bpr 24
 !if $sendmail!=$empty
25
  <font size="+1"><center>The password has beedn send by email to the adress
26
  <p>
27
 !endif
23 reyssat 28
 !if $regpass!=$empty
29
  Sorry, your password is not correct. Please try again.
30
 !else
31
  !set cname=!item $cltype+1 of virtual classes,,groups of classes,,\
32
	institution portals
33
  The creation of $cname on this site is protected by a password.
34
  You must enter this password before continuing.
35
 !endif
36
 <p>
37
 !form reply
5734 bpr 38
  <input type="hidden" name="step" value="0"/>
39
  Enter the password: <input size="16" name="regpass" type="password"/>
23 reyssat 40
 </form> <p>
41
 Remark. The password for creation of virtual classes should be obtained from
42
 !mailurl $wims_site_manager the manager\
43
Virtual class creation password
44
 of this WIMS site.
45
 !set restart=no
46
 !exit
47
!endif
48
 
49
!if getid iswordof $error
50
 !if $regpass$regid!=$empty
51
  Sorry, your password is not correct. Please try again.
52
 !else
53
  The creation of virtual classes on this site is protected by a system of
54
  authentication. Please identify yourself.
55
 !endif
56
 <p>
57
 !form reply
4012 bpr 58
  <p><table border="0" cellspacing="5">
3049 bpr 59
  <tr><td align="right">
5734 bpr 60
  Entrez the name of your account:</td><td><input size="20" name="regid"/></td>
3049 bpr 61
  </tr><tr><td align="right">
5734 bpr 62
  And the password:</td><td><input size="16" name="regpass" type="password"/>
63
  <input type="submit" value="$wims_name_tosave"/></td>
23 reyssat 64
  </tr></table>
65
 </form> <p>
66
 Remark. Please write to
3930 bpr 67
 !mailurl $wims_site_manager the webmaster\
23 reyssat 68
Virtual class creation password
69
 if you want an account for creating virtual classes.
70
 !set restart=no
71
 !exit
72
!endif
73
 
74
!if class_quota=$error
75
 You have the right to install up to $r_quota1 classes. You've had all;
76
 no room for more.
77
 !set restart=no
78
 !exit
79
!endif
80
 
2947 bpr 81
!if bad_secure=$error
82
 Your current host does not fit your definition of secure access
5074 bpr 83
 (<tt class="wims_code_words">$secure</tt>)! This is probably an error which would make you unable
2947 bpr 84
 to control your class.
85
 <p>
3944 bpr 86
 Please read attentively the documentation below. If you still do not
2947 bpr 87
 understand, leave this field empty (you will be sent temporary secret codes
5074 bpr 88
 for sensitive operations), or put the word <tt class="wims_code_words">all</tt> to disable this
2947 bpr 89
 security measure.
90
 <p><hr><p>
91
 !read help/hosts.phtml
92
 !reset secure
93
 !exit
94
!endif
95
 
23 reyssat 96
!if has_empty=$error
3944 bpr 97
 You have not given all the necessary informations for the creation of a 
23 reyssat 98
 class. Please complete your data before submitting them.
99
 !exit
100
!endif
101
 
102
!if too_short=$error
5115 bpr 103
 The data field <tt class="wims_code_words">$(wims_name_$(error_subject))</tt> seems to be too short.
23 reyssat 104
 !exit
105
!endif
106
 
107
!if bad_date=$error
108
 Your expiration data is not correct.
109
 !exit
110
!endif
111
 
2947 bpr 112
!if anti_date=$error
113
 Your class has an expiration date before today. It would be expired before
114
 being created!
23 reyssat 115
 !exit
116
!endif
117
 
118
!if bad_level=$error
119
 Bad level value.
120
 !exit
121
!endif
122
 
2947 bpr 123
!if bad_email=$error
124
 Your email address is apparently not valid.
125
 <p>
126
 Please be aware that your creation of class will not succeed, unless
127
 you submit a REAL email address of YOUR OWN.
23 reyssat 128
 !exit
129
!endif
130
 
131
!if existing=$error
132
 The class $classname seems already exist. You should not recreate the
133
 same class.
134
 !exit
135
!endif
136
 
137
!if pass_discord=$error
138
 The password you retyped does not correspond to the first one. Your
139
 creation of class is therefore not taken into account; you may try it
140
 again.
141
 !exit
142
!endif
143
 
144
!if bad_pass=$error
4883 guerimand 145
 Your $(name_$(error_subject)) contains illegal characters. <p>
23 reyssat 146
 Please use a word containing only digits or letters without accent, and
147
 without space between them.
148
 !exit
149
!endif
150
 
151
!if bad_code=$error
3944 bpr 152
 You did not enter the right code for the class. Have you given your 
23 reyssat 153
 email address correctly?<p>
154
 This failure has been logged.
155
 !exit
156
!endif
157
 
158
!if define_fail=$error or abuse=$error
159
 The server has failed to insert your class into the database. This is
160
 an internal error of the software.
161
 <p>
162
 Please report the problem to the
3930 bpr 163
 !mailurl $wims_site_manager webmaster\
23 reyssat 164
user registration failure
165
. Thanks!
166
 !exit
167
!endif
168
 
169
!if duplicate=$error
170
 You have tried to recreate an existing class. Perhaps because you clicked
171
 on the button `reload'? In any case, your class $classname is already
172
 there, and the second tentative of creation is ignored. <p>
4814 guerimand 173
 !read adm/lang/links.phtml.$modu_lang
23 reyssat 174
 !exit
175
!endif
176