Rev 10750 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10750 | Rev 10793 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | < |
1 | <ul class="wims_subclasses"> |
2 | !for typ in portal,group,level,class,course,program,test |
2 | !for typ in portal,group,level,class,course,program,test |
3 | !set nstyle=wims_classes_direct_$typ |
3 | !set nstyle=wims_classes_direct_$typ |
4 | !set ntype_=$typ |
4 | !set ntype_=$typ |
5 | !set ntype_ = !replace internal program by $(CL_Name[3]) in $ntype_ |
5 | !set ntype_ = !replace internal program by $(CL_Name[3]) in $ntype_ |
6 | !set ntype_ = !replace internal level by $(CL_Name[1]) in $ntype_ |
6 | !set ntype_ = !replace internal level by $(CL_Name[1]) in $ntype_ |
Line 19... | Line 19... | ||
19 | !goto out |
19 | !goto out |
20 | !endif |
20 | !endif |
21 | !else |
21 | !else |
22 | !set t_=$type |
22 | !set t_=$type |
23 | !endif |
23 | !endif |
24 | 24 | <li> |
|
25 | <tr class="$nstyle"><td class="wims_classes_direct_type">$ntype_</td> |
- | |
26 | < |
25 | <span class="$nstyle"> |
27 | !set u__=$u_ |
26 | !set u__=$u_ |
28 | !if $auth_method isitemof $auth_method_list |
27 | !if $auth_method isitemof $auth_method_list |
29 | !if $u_ != supervisor |
28 | !if $u_ != supervisor |
30 | !readproc adm/class/userdef classes,$c_,$u_ |
29 | !readproc adm/class/userdef classes,$c_,$u_ |
31 | !set u__=!defof user_external_auth in $userdef |
30 | !set u__=!defof user_external_auth in $userdef |
32 | !endif |
31 | !endif |
33 | !endif |
32 | !endif |
34 | !href cmd=reply&type=auth$t_&class=$c_&auth_user=$u__ $n_ |
33 | !href cmd=reply&type=auth$t_&class=$c_&auth_user=$u__ $n_ |
35 |
|
34 | ($u__)</span> |
36 | </ |
35 | </li> |
37 | :out |
36 | :out |
38 | !reset c_ u_ t_ |
37 | !reset c_ u_ t_ |
39 | !next cl |
38 | !next cl |
40 | !next typ |
39 | !next typ |
41 | </ |
40 | </ul> |