Rev 2670 | Rev 7679 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2670 | Rev 3960 | ||
---|---|---|---|
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 |
|
15 | wims_name_cdt=$tmp |
16 |
|
16 | ADD_cdt=$wims_name_cdt |
17 | !endif |
17 | !endif |
18 | !endif |
18 | !endif |
19 | !exit |
19 | !exit |
20 | 20 | ||
21 | !!if ($wims_supertype=4 and $wims_typename=class) |
21 | !!if ($wims_supertype=4 and $wims_typename=class) |
Line 36... | Line 36... | ||
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 |
39 | !endif |
39 | !endif |
40 | !if $tmp2!=$empty |
40 | !if $tmp2!=$empty |
41 |
|
41 | wims_name_cdt=$tmp2 |
42 |
|
42 | ADD_cdt=$wims_name_cdt |
43 | !endif |
43 | !endif |
44 | !endif |
44 | !endif |