Subversion Repositories wimsdev

Rev

Rev 2356 | Rev 3097 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2356 Rev 3095
Line 17... Line 17...
17
 cf_title=!char 1 to 50 of $cf_title
17
 cf_title=!char 1 to 50 of $cf_title
18
 cf_description=!char 1 to 1024 of $cf_description
18
 cf_description=!char 1 to 1024 of $cf_description
19
 cf_nonactivesheet=!nospace $cf_nonactivesheet
19
 cf_nonactivesheet=!nospace $cf_nonactivesheet
20
 cf_nonactivesheet=!listintersect $cf_nonactivesheet and $asheets
20
 cf_nonactivesheet=!listintersect $cf_nonactivesheet and $asheets
21
 !bound cf_scoreoption within class,livret default $livret_scoreoption
21
 !bound cf_scoreoption within class,livret default $livret_scoreoption
-
 
22
 !bound cf_show2user within yes,no default $class_showlivret
-
 
23
 !bound cf_showempty within yes,no default $livret_showempty
22
 cf_scoreview=$[rint($cf_scoreview)]
24
 cf_scoreview=$[rint($cf_scoreview)]
23
 !bound cf_scoreview between -1 and 4 default $livret_scoreview
25
 !bound cf_scoreview between -1 and 4 default $livret_scoreview
24
 !bound cf_minac between 0 and 10 default 9
26
 !bound cf_minac between 0 and 10 default 9
25
 !setdef !set livret_title=$cf_title\
27
 !setdef !set livret_title=$cf_title\
26
!set livret_description=$cf_description\
28
!set livret_description=$cf_description\
27
!set livret_nonactivesheet=$cf_nonactivesheet\
29
!set livret_nonactivesheet=$cf_nonactivesheet\
28
!set livret_scoreview=$cf_scoreview\
30
!set livret_scoreview=$cf_scoreview\
29
!set livret_scorecolor=$cf_scorecolor1,$cf_scorecolor2,$cf_scorecolor3,$cf_scorecolor4,$cf_scorecolor5,$cf_scorecolor6,$cf_scorecolor7,$cf_scorecolor8,$cf_scorecolor9,$cf_scorecolor10,$cf_scorecolor11\
31
!set livret_scorecolor=$cf_scorecolor1,$cf_scorecolor2,$cf_scorecolor3,$cf_scorecolor4,$cf_scorecolor5,$cf_scorecolor6,$cf_scorecolor7,$cf_scorecolor8,$cf_scorecolor9,$cf_scorecolor10,$cf_scorecolor11\
30
!set livret_scoreoption=$cf_scoreoption\
32
!set livret_scoreoption=$cf_scoreoption\
-
 
33
!set livret_minac=$cf_minac\
31
!set livret_minac=$cf_minac in $livret_dir/.def
34
!set livret_showempty=$cf_showempty in $livret_dir/.def
-
 
35
 !setdef class_showlivret=$cf_show2user in wimshome/log/classes/$wims_class/.def
32
!readdef $livret_dir/.def
36
 !readdef $livret_dir/.def
33
!else
37
!else
34
 !for k in title,description,nonactivesheet,minacquis,scoreoption,scoreview,scorecolor1,scorecolor2,scorecolor3,scorecolor4,scorecolor5,scorecolor6,scorecolor7,scorecolor8,scorecolor9,scorecolor10,scorecolor11
38
 !for k in title,description,nonactivesheet,minacquis,scoreoption,scoreview,scorecolor1,scorecolor2,scorecolor3,scorecolor4,scorecolor5,scorecolor6,scorecolor7,scorecolor8,scorecolor9,scorecolor10,scorecolor11
35
  cf_$k=$(livret_$k)
39
  cf_$k=$(livret_$k)
36
 !next k
40
 !next k
37
!endif
41
!endif