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