Rev 13613 | Rev 13692 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13613 | Rev 13656 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | <br class="spacer" /> |
- | |
2 | 1 | ||
3 | !if $class_defined!=yes |
2 | !if $class_defined!=yes |
4 | <div class="wims_msg alert"> |
3 | <div class="wims_msg alert"> |
5 | <span class="wims_warning">$wims_name_Error</span>. $name_warning |
4 | <span class="wims_warning">$wims_name_Error</span>. $name_warning |
6 | </div> |
5 | </div> |
7 | !exit |
6 | !exit |
8 | !endif |
7 | !endif |
9 | 8 | ||
10 | !read adm/class/initclass $class,auth |
9 | !read adm/class/initclass $class,auth |
Line 23... | Line 22... | ||
23 | !reset user_auth |
22 | !reset user_auth |
24 | !set wims_form_method=post |
23 | !set wims_form_method=post |
25 | !!FIXME for PHP |
24 | !!FIXME for PHP |
26 | !if $auth_method notitemof cas and $wims_user=$empty |
25 | !if $auth_method notitemof cas and $wims_user=$empty |
27 | <h3>$(name_enterorregister[1])</h3> |
26 | <h3>$(name_enterorregister[1])</h3> |
28 | $name_enter |
27 | <p>$name_enter</p> |
29 | !form reply |
28 | !form reply |
30 | !set auth_user=$auth_user_connection |
29 | !set auth_user=$auth_user_connection |
31 | <fieldset class="property_fields halfwidth blockcenter"> |
30 | <fieldset class="property_fields halfwidth blockcenter"> |
32 |
|
31 | <legend>$wims_name_connexion</legend> |
33 | - | ||
34 |
|
32 | <div class="field box"> |
35 | <label for="login">$wims_name_Login</label> |
33 | <label for="login">$wims_name_Login</label> |
36 | <input class="noicon" size="20" name="auth_user" value="$auth_user" id="login" required="required" placeholder="$wims_name_Login"/> |
34 | <input class="noicon" size="20" name="auth_user" value="$auth_user" id="login" required="required" placeholder="$wims_name_Login"/> |
37 |
|
35 | </div> |
38 |
|
36 | <div class="field box"> |
39 | <label for="password">$wims_name_Password</label> |
37 | <label for="password">$wims_name_Password</label> |
40 | <input class="noicon" type="password" size="20" name="auth_password" id="password" required="required" placeholder="$wims_name_Password"/> |
38 | <input class="noicon" type="password" size="20" name="auth_password" id="password" required="required" placeholder="$wims_name_Password"/> |
41 | </div> |
39 | </div> |
42 | <div class="actions center"> |
40 | <div class="actions center"> |
43 | <input type="submit" value="$wims_name_Enter" /> |
41 | <input type="submit" value="$wims_name_Enter" /> |
44 | !if $auth_method notitemof ldap |
42 | !if $auth_method notitemof ldap |
45 | !set wims_ref_class=wims_button wims_secondary_button small |
43 | !set wims_ref_class=wims_button wims_secondary_button small |
46 | !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd |
44 | !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd |
47 | !endif |
45 | !endif |
48 | </div> |
46 | </div> |
49 | </fieldset> |
47 | </fieldset> |
50 | - | ||
51 | !formend |
48 | !formend |
- | 49 | ||
52 | <h3>$(name_enterorregister[2])</h3> |
50 | <h3>$(name_enterorregister[2])</h3> |
53 | !!FIXME too much !if |
51 | !!FIXME too much !if |
54 | !!!if $idp_method notwordof ldap |
52 | !!!if $idp_method notwordof ldap |
55 | !! $name_new_participant |
53 | !! $name_new_participant |
56 | !!!endif |
54 | !!!endif |
Line 64... | Line 62... | ||
64 | !if $subclass=yes |
62 | !if $subclass=yes |
65 | !set tmp_=&subclass=$subclass |
63 | !set tmp_=&subclass=$subclass |
66 | !else |
64 | !else |
67 | !reset tmp_ |
65 | !reset tmp_ |
68 | !endif |
66 | !endif |
- | 67 | <fieldset class="property_fields halfwidth blockcenter"> |
|
- | 68 | <legend>$name_register</legend> |
|
- | 69 | <div class="wimscenter"> |
|
69 | !set wims_ref_class=wims_button |
70 | !set wims_ref_class=wims_button |
70 | !href module=adm/class/reguser&class=$class$tmp_ |
71 | !href module=adm/class/reguser&class=$class$tmp_ $name_signup |
- | 72 | </div> |
|
- | 73 | </fieldset> |
|
71 | !reset tmp_ |
74 | !reset tmp_ |
72 | !endif |
75 | !endif |
73 | !endif |
76 | !endif |