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