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