Rev 12429 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1319 | guerimand | 1 | |
2 | !bound comp between 1 and $livret_nbcomp+1 default $empty |
||
3 | !if $cf_abandon!=$empty or $comp=$empty |
||
4 | !reset cf_abandon |
||
5 | job=userlist |
||
6 | !read userlist.proc |
||
7 | !exit |
||
8 | !endif |
||
9 | |||
10 | !if $comp>$maxcomp |
||
11 | error=toomanycomp |
||
12 | !exit |
||
5603 | guerimand | 13 | !endif |
1319 | guerimand | 14 | |
1845 | guerimand | 15 | tmp=!record $comp of $livret_dir/.comps |
1319 | guerimand | 16 | !distribute line $tmp into mem_title,mem_nbpalier |
17 | |||
18 | !if $cf_set!=$empty or ($cf_nbpalier!=$mem_nbpalier and $cf_nbpalier!=$empty) |
||
12429 | bpr | 19 | !bound cf_nbpalier between 1 and $maxpalier default $mem_palier |
20 | !reset cf_set |
||
21 | cf_title=!trim $cf_title |
||
22 | !if $comp>$livret_nbcomp |
||
23 | !appendfile $livret_dir/.comps :$cf_title\ |
||
1319 | guerimand | 24 | $cf_nbpalier |
12429 | bpr | 25 | !else |
26 | sortie=$empty |
||
27 | !for k=1 to $livret_nbcomp |
||
28 | !if $k=$comp |
||
29 | sortie=!append line :$cf_title\ |
||
1319 | guerimand | 30 | $cf_nbpalier to $sortie |
12429 | bpr | 31 | !else |
32 | t=!record $k of $livret_dir/.comps |
||
33 | sortie=!append line :$t to $sortie |
||
34 | !endif |
||
35 | !next k |
||
36 | !writefile $livret_dir/.comps $sortie |
||
37 | !endif |
||
38 | !reset cf_set |
||
39 | mem_nbpalier=$cf_nbpalier |
||
40 | mem_title=$cf_title |
||
15822 | guerimand | 41 | !read proc/mkindexsheet.proc |
1319 | guerimand | 42 | !endif |
43 | |||
12053 | bpr | 44 | !set wims_ariane=!append line configb,1,cmd=renew&job=config\ |
45 | to $wims_ariane |