Subversion Repositories wimsdev

Rev

Rev 10928 | Rev 12720 | 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
10928 bpr 4
 <div class="wims_msg alert">
5
   <span class="wims_warning">$wims_name_Error</span>. $name_warning
6
 </div>
23 reyssat 7
 !exit
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
5100 bpr 23
 !reset user_auth
5002 bpr 24
 !set wims_form_method=post
5410 bpr 25
 !!FIXME for PHP
7457 bpr 26
 
5002 bpr 27
 !if $auth_method notitemof cas
7453 obado 28
   $name_enter
5002 bpr 29
   !form reply
5092 bpr 30
   !set auth_user=$auth_user_connection
7443 bpr 31
   <fieldset class="property_fields halfwidth blockcenter">
7457 bpr 32
      <legend>$wims_name_connexion</legend>
7439 bpr 33
 
7453 obado 34
      <div class="field box">
35
       <label for="login">$wims_name_Login</label>
11518 obado 36
       <input class="noicon" size="20" name="auth_user" value="$auth_user" id="login" required="required" placeholder="$wims_name_Login"/>
7453 obado 37
      </div>
38
      <div class="field box">
39
       <label for="password">$wims_name_Password</label>
11518 obado 40
       <input class="noicon" type="password" size="20" name="auth_password" id="password" required="required" placeholder="$wims_name_Password"/>
7453 obado 41
      </div>
7564 obado 42
      <div class="actions center">
7519 obado 43
        <input type="submit" value="$wims_name_Enter" />
44
        !if $auth_method notitemof ldap
7970 obado 45
            !set wims_ref_class=wims_button wims_secondary_button small
7519 obado 46
            !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd
47
        !endif
48
      </div>
7439 bpr 49
   </fieldset>
50
 
7453 obado 51
   !formend
7439 bpr 52
 
7453 obado 53
   !!FIXME too much !if
5072 bpr 54
   !if $idp_method notwordof ldap
7457 bpr 55
     $name_new_participant:
5072 bpr 56
   !endif
7457 bpr 57
 
7453 obado 58
 !! else :  $auth_method is cas
5028 bpr 59
 !else
5072 bpr 60
   !if $idp_method notwordof ldap
7453 obado 61
     $name_new_participant_external:
5072 bpr 62
   !endif
5002 bpr 63
 !endif
7453 obado 64
 
5410 bpr 65
 !if $idp_method notwordof ldap
66
  !if $subclass=yes
10751 bpr 67
    !set tmp_=&subclass=$subclass
68
  !else
69
    !reset tmp_
5410 bpr 70
  !endif
71
  !set wims_ref_class=wims_button
72
  !href module=adm/class/reguser&class=$class$tmp_ $name_register
10751 bpr 73
  !reset tmp_
5044 bpr 74
 !endif
7453 obado 75
 
4424 bpr 76
!endif