Rev 11633 | Rev 13410 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11633 | Rev 12555 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | wims_prefix=$wims_prefix user |
3 | wims_prefix=$wims_prefix user |
4 | !endif |
4 | !endif |
5 | 5 | ||
6 | overflow=!record 0 of wimshome/log/cquota/lim.class |
6 | overflow=!record 0 of wimshome/log/cquota/lim.class |
7 | !if $authprep_class iswordof $overflow |
7 | !if $authprep_class iswordof $overflow |
8 | !usererror overload |
8 | !usererror overload |
9 | !endif |
9 | !endif |
10 | 10 | ||
11 | !read adm/class/otherclass classes,$authprep_class,$authprep_user |
11 | !read adm/class/otherclass classes,$authprep_class,$authprep_user |
12 | 12 | ||
13 | accessright=!record 0 of wimshome/log/classes/$authprep_class/accessright |
13 | accessright=!record 0 of wimshome/log/classes/$authprep_class/accessright |
14 | accessright=!items2words $accessright |
14 | accessright=!items2words $accessright |
15 | accessright=!singlespace $accessright |
15 | accessright=!singlespace $accessright |
16 | !default class_lock=0 |
16 | !default class_lock=0 |
17 | 17 | ||
18 | !if $class_type iswordof 2 4 |
18 | !if $class_type iswordof 2 4 |
19 | !default class_superclass=$authprep_class |
19 | !default class_superclass=$authprep_class |
20 | !endif |
20 | !endif |
21 | 21 | ||
22 | authprep_realuser= |
22 | authprep_realuser= |
23 | !if $class_superclass!=$empty |
23 | !if $class_superclass!=$empty |
24 | class_supertype=!defof class_type in wimshome/log/classes/$class_superclass/.def |
24 | class_supertype=!defof class_type in wimshome/log/classes/$class_superclass/.def |
25 | authprep_realuser=$wims_realuser |
25 | authprep_realuser=$wims_realuser |
26 | !if $wims_user!=$empty and $wims_user!=supervisor and $authprep_user=supervisor |
26 | !if $wims_user!=$empty and $wims_user!=supervisor and $authprep_user=supervisor |
27 | authprep_realuser=$wims_user |
27 | authprep_realuser=$wims_user |
28 | !endif |
28 | !endif |
29 | !if $authprep_realuser != $authprep_user |
29 | !if $authprep_realuser != $authprep_user |
30 | !readdef wimshome/log/classes/$class_superclass/.users/$authprep_realuser |
30 | !readdef wimshome/log/classes/$class_superclass/.users/$authprep_realuser |
31 | !endif |
31 | !endif |
32 | !endif |
32 | !endif |
33 | !default class_theme_icon=$wims_theme_icon |
33 | !default class_theme_icon=$wims_theme_icon |
34 | !default class_theme=$wims_theme |
34 | !default class_theme=$wims_theme |
35 | !default class_supertype=0 |
35 | !default class_supertype=0 |
36 | !default authprep_realuser=$wims_user |
36 | !default authprep_realuser=$wims_user |
Line 98... | Line 98... | ||
98 | wims_examscore_withoutip=$(class_examscore_withoutip)\ |
98 | wims_examscore_withoutip=$(class_examscore_withoutip)\ |
99 | wims_name_sequence=$(wims_name_sequence)\ |
99 | wims_name_sequence=$(wims_name_sequence)\ |
100 | wims_class_level=$(class_level) |
100 | wims_class_level=$(class_level) |
101 | 101 | ||
102 | !if $authprep_user=supervisor |
102 | !if $authprep_user=supervisor |
103 | !for k in qnum,qcmlevel,scoredelay,qcmpresent,presentsol,check,expow,sepow,precw |
103 | !for k in qnum,qcmlevel,scoredelay,qcmpresent,presentsol,check,expow,sepow,precw |
104 | !if $(user_$k)!=$empty |
104 | !if $(user_$k)!=$empty |
105 | classdef=$classdef\ |
105 | classdef=$classdef\ |
106 | wims_oefdefault_$k=$(user_$k) |
106 | wims_oefdefault_$k=$(user_$k) |
107 | !endif |
107 | !endif |
108 | !next k |
108 | !next k |
109 | !else |
109 | !else |
110 | classdef=$classdef\ |
110 | classdef=$classdef\ |
111 | wims_showlivret=$class_showlivret |
111 | wims_showlivret=$class_showlivret |
112 | !endif |
112 | !endif |