Rev 12053 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3912 | bpr | 1 | !bound comp between integer 1 and $livret_nbcomp default 1 |
1319 | guerimand | 2 | |
1845 | guerimand | 3 | t=!record $comp of $livret_dir/.comps |
1319 | guerimand | 4 | !distribute line $t into name_comp,nbpalier_comp |
5 | !bound palier between 1 and $nbpalier_comp default 1 |
||
1845 | guerimand | 6 | t=!record $palier of $livret_dir/.comp$comp |
1319 | guerimand | 7 | !distribute lines $t into name_palier,eold |
8 | |||
9 | ltsheets=!listintersect $asheets and $ltsheets |
||
10 | !if $ltsheets=$empty |
||
11 | ltsheets=$asheets |
||
12 | !endif |
||
13 | !if $cf_set!=$empty |
||
12429 | bpr | 14 | !if $echoose=$empty |
15 | echoose=$eold |
||
16 | !endif |
||
17 | eopt=!listintersect $eopt and $optionlist |
||
18 | cf_title=!trim $cf_title |
||
19 | !default cf_title=$name_palier |
||
20 | donnees=$empty |
||
21 | !for k=1 to $nbpalier_comp |
||
22 | !if $k!=$palier |
||
23 | d=!record $k of $livret_dir/.comp$comp |
||
24 | !else |
||
25 | d=$cf_title\ |
||
1319 | guerimand | 26 | $echoose |
12429 | bpr | 27 | !endif |
28 | donnees=!append line :$d to $donnees |
||
29 | !next k |
||
30 | !writefile $livret_dir/.comp$comp $donnees |
||
31 | !reset cf_set |
||
32 | job=addcomp |
||
33 | !read $job.proc |
||
1319 | guerimand | 34 | !endif |
12053 | bpr | 35 | !set wims_name_competence=$name_Competence |
36 | !set wims_ariane=!append line configb,1,cmd=renew&job=config\ |
||
37 | competence,1,cmd=reply&job=addcomp&comp=$comp\ |
||
38 | to $wims_ariane |