Subversion Repositories wimsdev

Rev

Rev 11518 | Rev 12996 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11518 Rev 12720
Line 2... Line 2...
2
 
2
 
3
!if $class_defined!=yes
3
!if $class_defined!=yes
4
 <div class="wims_msg alert">
4
  <div class="wims_msg alert">
5
   <span class="wims_warning">$wims_name_Error</span>. $name_warning
5
   <span class="wims_warning">$wims_name_Error</span>. $name_warning
6
 </div>
6
  </div>
7
 !exit
7
  !exit
8
!endif
8
!endif
9
 
9
 
10
!read adm/class/initclass $class,auth
10
!read adm/class/initclass $class,auth
11
!if $class_mixed_external_auth>0 and $auth_user !=supervisor
11
!if $class_mixed_external_auth>0 and $auth_user !=supervisor
12
  <div class="wims_external_auth">
12
  <div class="wims_external_auth">
Line 16... Line 16...
16
    !exit
16
    !exit
17
  !endif
17
  !endif
18
  $name_warning_external
18
  $name_warning_external
19
  <hr />
19
  <hr />
20
!endif
20
!endif
21
 
21
 
22
!if no_cgu notwordof $error
22
!if no_cgu notwordof $error
23
 !reset user_auth
23
  !reset user_auth
24
 !set wims_form_method=post
24
  !set wims_form_method=post
25
 !!FIXME for PHP
25
  !!FIXME for PHP
26
 
26
 
27
 !if $auth_method notitemof cas
27
  !if $auth_method notitemof cas
28
   $name_enter
28
    $name_enter
29
   !form reply
29
    !form reply
30
   !set auth_user=$auth_user_connection
30
    !set auth_user=$auth_user_connection
31
   <fieldset class="property_fields halfwidth blockcenter">
31
    <fieldset class="property_fields halfwidth blockcenter">
32
      <legend>$wims_name_connexion</legend>
32
       <legend>$wims_name_connexion</legend>
33
 
33
 
34
      <div class="field box">
34
       <div class="field box">
35
       <label for="login">$wims_name_Login</label>
35
        <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"/>
36
        <input class="noicon" size="20" name="auth_user" value="$auth_user" id="login" required="required" placeholder="$wims_name_Login"/>
37
      </div>
37
       </div>
38
      <div class="field box">
38
       <div class="field box">
39
       <label for="password">$wims_name_Password</label>
39
        <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"/>
40
       <input class="noicon" type="password" size="20" name="auth_password" id="password" required="required" placeholder="$wims_name_Password"/>
41
      </div>
41
      </div>
42
      <div class="actions center">
42
      <div class="actions center">
43
        <input type="submit" value="$wims_name_Enter" />
43
        <input type="submit" value="$wims_name_Enter" />
44
        !if $auth_method notitemof ldap
44
    !if $auth_method notitemof ldap
45
            !set wims_ref_class=wims_button wims_secondary_button small
45
      !set wims_ref_class=wims_button wims_secondary_button small
46
            !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd
46
      !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd
47
        !endif
47
    !endif
48
      </div>
48
    </div>
49
   </fieldset>
49
    </fieldset>
50
 
-
 
51
   !formend
-
 
52
 
-
 
53
   !!FIXME too much !if
-
 
54
   !if $idp_method notwordof ldap
-
 
55
     $name_new_participant:
-
 
56
   !endif
-
 
57
 
50
 
58
 !! else :  $auth_method is cas
-
 
59
 !else
-
 
60
   !if $idp_method notwordof ldap
-
 
61
     $name_new_participant_external:
-
 
62
   !endif
51
    !formend
63
 !endif
-
 
64
 
52
 
-
 
53
    !!FIXME too much !if
65
 !if $idp_method notwordof ldap
54
    !if $idp_method notwordof ldap
66
  !if $subclass=yes
55
      $name_new_participant:
-
 
56
    !endif
-
 
57
 
67
    !set tmp_=&subclass=$subclass
58
  !! else :  $auth_method is cas
68
  !else
59
  !else
-
 
60
    !if $idp_method notwordof ldap
-
 
61
      $name_new_participant_external:
-
 
62
    !endif
-
 
63
  !endif
-
 
64
 
-
 
65
  !if $idp_method notwordof ldap
-
 
66
    !if $subclass=yes
-
 
67
      !set tmp_=&subclass=$subclass
-
 
68
    !else
-
 
69
      !reset tmp_
-
 
70
    !endif
-
 
71
    !set wims_ref_class=wims_button
-
 
72
    !href module=adm/class/reguser&class=$class$tmp_ $name_register
69
    !reset tmp_
73
    !reset tmp_
70
  !endif
74
  !endif
71
  !set wims_ref_class=wims_button
-
 
72
  !href module=adm/class/reguser&class=$class$tmp_ $name_register
-
 
73
  !reset tmp_
-
 
74
 !endif
-
 
75
 
75
 
76
!endif
76
!endif