Subversion Repositories wimsdev

Rev

Rev 9563 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9563 Rev 12429
Line 5... Line 5...
5
 !read userlist.proc
5
 !read userlist.proc
6
 !exit
6
 !exit
7
!endif
7
!endif
8
 
8
 
9
!if $cf_set!=$empty
9
!if $cf_set!=$empty
10
 !reset cf_set
10
  !reset cf_set
11
 cf_title=!trim $cf_title
11
  cf_title=!trim $cf_title
12
 !if $cf_title=$empty
12
  !if $cf_title=$empty
13
  cf_title=$wims_name_livret
13
    cf_title=$wims_name_livret
14
 !endif
14
  !endif
15
 cf_description=!singlespace $cf_description
15
  cf_description=!singlespace $cf_description
16
 cf_title=!singlespace $cf_title
16
  cf_title=!singlespace $cf_title
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
 !readproc proc/legend.proc save
19
  !readproc proc/legend.proc save
20
 cf_nonactivesheet=!nospace $cf_nonactivesheet
20
  cf_nonactivesheet=!nospace $cf_nonactivesheet
21
 cf_nonactivesheet=!listintersect $cf_nonactivesheet and $asheets
21
  cf_nonactivesheet=!listintersect $cf_nonactivesheet and $asheets
22
 !bound cf_scoreoption within class,livret default $livret_scoreoption
22
  !bound cf_scoreoption within class,livret default $livret_scoreoption
23
 !bound cf_show2user within yes,no default $class_showlivret
23
  !bound cf_show2user within yes,no default $class_showlivret
24
 !bound cf_showempty within yes,no default $livret_showempty
24
  !bound cf_showempty within yes,no default $livret_showempty
25
 cf_scoreview=$[rint($cf_scoreview)]
25
  cf_scoreview=$[rint($cf_scoreview)]
26
 !bound cf_scoreview between -1 and 4 default $livret_scoreview
26
  !bound cf_scoreview between -1 and 4 default $livret_scoreview
27
 !bound cf_minac between 0 and 10 default 9
27
  !bound cf_minac between 0 and 10 default 9
28
 !setdef !set livret_title=$cf_title\
28
  !setdef !set livret_title=$cf_title\
29
!set livret_description=$cf_description\
29
!set livret_description=$cf_description\
30
!set livret_nonactivesheet=$cf_nonactivesheet\
30
!set livret_nonactivesheet=$cf_nonactivesheet\
31
!set livret_scoreview=$cf_scoreview\
31
!set livret_scoreview=$cf_scoreview\
32
!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\
32
!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\
33
!set livret_scoreoption=$cf_scoreoption\
33
!set livret_scoreoption=$cf_scoreoption\
Line 41... Line 41...
41
!set livret_legende7=$cf_legend7\
41
!set livret_legende7=$cf_legend7\
42
!set livret_legende8=$cf_legend8\
42
!set livret_legende8=$cf_legend8\
43
!set livret_legende9=$cf_legend9\
43
!set livret_legende9=$cf_legend9\
44
!set livret_legende10=$cf_legend10\
44
!set livret_legende10=$cf_legend10\
45
!set livret_legende11=$cf_legend11 in $livret_dir/.def
45
!set livret_legende11=$cf_legend11 in $livret_dir/.def
46
 !setdef !set class_showlivret=$cf_show2user in wimshome/log/classes/$wims_class/.def
46
  !setdef !set class_showlivret=$cf_show2user in wimshome/log/classes/$wims_class/.def
47
 !readdef $livret_dir/.def
47
  !readdef $livret_dir/.def
48
 !set class_showlivret=$cf_show2user
48
  !set class_showlivret=$cf_show2user
49
!else
49
!else
50
 !for k in title,description,nonactivesheet,minacquis,scoreoption,scoreview,\
50
  !for k in title,description,nonactivesheet,minacquis,scoreoption,scoreview,\
51
   scorecolor1,scorecolor2,scorecolor3,scorecolor4,scorecolor5,scorecolor6,scorecolor7,\
51
      scorecolor1,scorecolor2,scorecolor3,scorecolor4,scorecolor5,scorecolor6,scorecolor7,\
52
   scorecolor8,scorecolor9,scorecolor10,scorecolor11,legend1,legend2,legend3,legend4,legend5,legend6,legend7,legend8,legend9,legend10
52
      scorecolor8,scorecolor9,scorecolor10,scorecolor11,legend1,legend2,legend3,legend4,legend5,legend6,legend7,legend8,legend9,legend10
53
  cf_$k=$(livret_$k)
53
    cf_$k=$(livret_$k)
54
 !next k
54
  !next k
55
!endif
55
!endif
56
 
-
 
57
 
-