Rev 3960 | Rev 7926 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3960 | Rev 7679 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | !endif |
10 | !endif |
11 | exist_cdt=yes |
11 | exist_cdt=yes |
12 | !if $wims_user=supervisor or $wims_supertype=0 or ($wims_supertype=4 and $wims_typename=class) |
12 | !if $wims_user=supervisor or $wims_supertype=0 or ($wims_supertype=4 and $wims_typename=class) |
13 | tmp=!defof cdt_link in wimshome/log/classes/$wims_class/cdt/.def |
13 | tmp=!defof cdt_link in wimshome/log/classes/$wims_class/cdt/.def |
14 | !if $tmp!=$empty |
14 | !if $tmp!=$empty |
15 | wims_name_cdt=$tmp |
15 | wims_name_cdt=$tmp |
16 | ADD_cdt=$wims_name_cdt |
16 | ADD_cdt=$wims_name_cdt |
17 | !endif |
17 | !endif |
18 | !endif |
18 | !endif |
19 | !exit |
19 | !exit |
20 | 20 | ||
Line 26... | Line 26... | ||
26 | !if $tmp>0 |
26 | !if $tmp>0 |
27 | exist_cdt=yes |
27 | exist_cdt=yes |
28 | !exit |
28 | !exit |
29 | !endif |
29 | !endif |
30 | !next k |
30 | !next k |
31 | !exit |
31 | !exit |
32 | !endif |
32 | !endif |
33 | !if $wims_supertype=0 or |
33 | !if $wims_supertype=0 or |
34 | tmp=!defof cdt_nbdate\ |
34 | tmp=!defof cdt_nbdate\ |
35 | cdt_link in wimshome/log/classes/$wims_class/cdt/.def |
35 | cdt_link in wimshome/log/classes/$wims_class/cdt/.def |
36 | !distribute line $tmp into tmp1,tmp2 |
36 | !distribute line $tmp into tmp1,tmp2 |
37 | !if $tmp1>0 |
37 | !if $tmp1>0 |
38 | exist_cdt=yes |
38 | exist_cdt=yes |