Rev 12996 | Rev 13613 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7025 | bpr | 1 | <br class="spacer" /> |
7453 | obado | 2 | |
23 | reyssat | 3 | !if $class_defined!=yes |
12720 | bpr | 4 | <div class="wims_msg alert"> |
10928 | bpr | 5 | <span class="wims_warning">$wims_name_Error</span>. $name_warning |
12720 | bpr | 6 | </div> |
7 | !exit |
||
23 | reyssat | 8 | !endif |
7453 | obado | 9 | |
5072 | bpr | 10 | !read adm/class/initclass $class,auth |
5002 | bpr | 11 | !if $class_mixed_external_auth>0 and $auth_user !=supervisor |
7453 | obado | 12 | <div class="wims_external_auth"> |
13 | $(class_external_auth) |
||
14 | </div> |
||
15 | !if $class_mixed_external_auth=2 |
||
16 | !exit |
||
17 | !endif |
||
18 | $name_warning_external |
||
19 | <hr /> |
||
2756 | bpr | 20 | !endif |
23 | reyssat | 21 | |
4424 | bpr | 22 | !if no_cgu notwordof $error |
12720 | bpr | 23 | !reset user_auth |
24 | !set wims_form_method=post |
||
25 | !!FIXME for PHP |
||
12996 | bpr | 26 | !if $auth_method notitemof cas and $wims_user=$empty |
12720 | bpr | 27 | $name_enter |
28 | !form reply |
||
29 | !set auth_user=$auth_user_connection |
||
30 | <fieldset class="property_fields halfwidth blockcenter"> |
||
31 | <legend>$wims_name_connexion</legend> |
||
7439 | bpr | 32 | |
12720 | bpr | 33 | <div class="field box"> |
34 | <label for="login">$wims_name_Login</label> |
||
35 | <input class="noicon" size="20" name="auth_user" value="$auth_user" id="login" required="required" placeholder="$wims_name_Login"/> |
||
36 | </div> |
||
37 | <div class="field box"> |
||
38 | <label for="password">$wims_name_Password</label> |
||
11518 | obado | 39 | <input class="noicon" type="password" size="20" name="auth_password" id="password" required="required" placeholder="$wims_name_Password"/> |
7453 | obado | 40 | </div> |
7564 | obado | 41 | <div class="actions center"> |
7519 | obado | 42 | <input type="submit" value="$wims_name_Enter" /> |
12720 | bpr | 43 | !if $auth_method notitemof ldap |
44 | !set wims_ref_class=wims_button wims_secondary_button small |
||
45 | !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd |
||
46 | !endif |
||
47 | </div> |
||
48 | </fieldset> |
||
7439 | bpr | 49 | |
12720 | bpr | 50 | !formend |
7439 | bpr | 51 | |
12720 | bpr | 52 | !!FIXME too much !if |
53 | !if $idp_method notwordof ldap |
||
54 | $name_new_participant: |
||
55 | !endif |
||
12996 | bpr | 56 | !else $auth_method is cas or $wims_user!=empty |
57 | !if $idp_method notwordof ldap and $auth_method isitemof cas |
||
58 | $name_new_participant_external |
||
12720 | bpr | 59 | !endif |
60 | !endif |
||
7453 | obado | 61 | |
12720 | bpr | 62 | !if $idp_method notwordof ldap |
63 | !if $subclass=yes |
||
64 | !set tmp_=&subclass=$subclass |
||
65 | !else |
||
66 | !reset tmp_ |
||
67 | !endif |
||
68 | !set wims_ref_class=wims_button |
||
69 | !href module=adm/class/reguser&class=$class$tmp_ $name_register |
||
10751 | bpr | 70 | !reset tmp_ |
5410 | bpr | 71 | !endif |
4424 | bpr | 72 | !endif |