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