Subversion Repositories wimsdev

Rev

Rev 10909 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10909 Rev 12720
Line 1... Line 1...
1
 
1
 
2
   <td>
2
<td>
3
    !if $class_auth iswordof cas
3
!if $class_auth iswordof cas
4
     !if $wims_user=$empty or $code iswordof $directlist_
4
  !if $wims_user=$empty or $code iswordof $directlist_
5
      !set url = $wims_ref_name?module=adm/class/classes&type=authparticipant&class=$code$tmp_parm
5
    !set url = $wims_ref_name?module=adm/class/classes&type=authparticipant&class=$code$tmp_parm
6
      !read adm/codeurl $url
6
    !read adm/codeurl $url
7
      <a class="wims_button" href="$host_auth/login?service=$script_out">$wims_name_Enter</a>
7
    <a class="wims_button" href="$host_auth/login?service=$script_out">$wims_name_Enter</a>
8
     !else
8
 !else
-
 
9
    !set wims_ref_class=wims_button
-
 
10
    !if $splevel=$empty or $splevel=2
9
      !set wims_ref_class=wims_button
11
      !set wims_ref_class=wims_button
10
      !if $splevel=$empty or $splevel=2
-
 
11
       !set wims_ref_class=wims_button
-
 
12
       !href module=adm/class/reguser&class=$code$tmp_parm $name_register
12
      !href module=adm/class/reguser&class=$code$tmp_parm $name_register
13
      !else
13
    !else
14
       <span style="color:grey;">$name_register</span>
14
      <span style="color:grey;">$name_register</span>
15
      !endif
-
 
16
     !endif
-
 
17
    !endif
15
    !endif
-
 
16
  !endif
-
 
17
!endif
18
    !if $class_auth iswordof php
18
!if $class_auth iswordof php
19
      !if $userdef=$empty or $code=$superclass
19
  !if $userdef=$empty or $code=$superclass
20
       <a class="wims_button" href="$host_auth?enter=$code">$wims_name_Enter</a>
20
    <a class="wims_button" href="$host_auth?enter=$code">$wims_name_Enter</a>
21
      !else
21
  !else
22
!! to fix "direct" access to other classes
22
    !! to fix "direct" access to other classes
23
       !set u__=!defof user_external_auth in $userdef
23
    !set u__=!defof user_external_auth in $userdef
24
       !set wims_ref_class=wims_button
24
    !set wims_ref_class=wims_button
25
       !href module=adm/class/reguser&class=$code&+auth_user=$u__ $name_register
25
    !href module=adm/class/reguser&class=$code&+auth_user=$u__ $name_register
26
      !endif
26
  !endif
27
   !endif
27
!endif
28
   !if $class_auth iswordof ldap
28
!if $class_auth iswordof ldap
29
     !set wims_ref_class=wims_button
29
  !set wims_ref_class=wims_button
30
     !href module=$module&type=authparticipant&class=$code$tmp_parm $wims_name_Enter
30
  !href module=$module&type=authparticipant&class=$code$tmp_parm $wims_name_Enter
31
   !endif
31
!endif
32
   </td>
32
</td>