Subversion Repositories wimsdev

Rev

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

Rev 12720 Rev 12996
Line 21... Line 21...
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
 
-
 
27
  !if $auth_method notitemof cas
26
  !if $auth_method notitemof cas and $wims_user=$empty
28
    $name_enter
27
    $name_enter
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
       <legend>$wims_name_connexion</legend>
31
       <legend>$wims_name_connexion</legend>
Line 52... Line 51...
52
 
51
 
53
    !!FIXME too much !if
52
    !!FIXME too much !if
54
    !if $idp_method notwordof ldap
53
    !if $idp_method notwordof ldap
55
      $name_new_participant:
54
      $name_new_participant:
56
    !endif
55
    !endif
57
 
-
 
58
  !! else :  $auth_method is cas
56
  !else  $auth_method is cas or $wims_user!=empty
59
  !else
-
 
60
    !if $idp_method notwordof ldap
57
    !if $idp_method notwordof ldap and $auth_method isitemof cas
61
      $name_new_participant_external:
58
      $name_new_participant_external
62
    !endif
59
    !endif
63
  !endif
60
  !endif
64
 
61
 
65
  !if $idp_method notwordof ldap
62
  !if $idp_method notwordof ldap
66
    !if $subclass=yes
63
    !if $subclass=yes