Rev 10394 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3921 | bpr | 1 | !!!!!!!!!!! build data about worksheets in the variables $sheet* !!!!!!!!!!!!!! |
226 | guerimand | 2 | |
23 | reyssat | 3 | nbsheets= !recordcnt wimshome/log/classes/$wims_class/sheets/.sheets |
4 | sheet_nums= |
||
5 | sheet_deaths= |
||
6 | sheet_titles= |
||
7 | !for i = 1 to $nbsheets |
||
8 | rec_sheet= !record $i of wimshome/log/classes/$wims_class/sheets/.sheets |
||
226 | guerimand | 9 | !distribute line $rec_sheet into n,d,t |
10 | !if $n>=1 and $n<3 |
||
14043 | bpr | 11 | sheet_nums=$sheet_nums $i, |
226 | guerimand | 12 | !endif |
23 | reyssat | 13 | sheet_titles=$sheet_titles $t, |
14 | !next i |
||
226 | guerimand | 15 | sheet_nums=!nonempty item $sheet_nums |
23 | reyssat | 16 | |
226 | guerimand | 17 | nbexams= !recordcnt wimshome/log/classes/$wims_class/exams/.exams |
18 | exam_nums= |
||
19 | exam_deaths= |
||
20 | exam_titles= |
||
21 | !for i = 1 to $nbexams |
||
22 | rec_exam= !record $i of wimshome/log/classes/$wims_class/exams/.exams |
||
23 | !distribute line $rec_exam into n,d,e,t |
||
24 | !if $n>=1 and $n<3 |
||
14043 | bpr | 25 | exam_nums=$exam_nums $i, |
226 | guerimand | 26 | !endif |
27 | exam_titles=$exam_titles $t, |
||
28 | !next i |
||
29 | exam_nums=!nonempty item $exam_nums |
||
30 | |||
31 | |||
23 | reyssat | 32 | file_titles=!filelist $wims_home/log/classes/$wims_class/cdt/files/ |
33 | file_titles=!lines2items $file_titles |
||
34 | nbfile=!itemcnt $file_titles |
||
8503 | bpr | 35 | !bound cible within name_deposit0,name_deposit1,name_deposit2,name_deposit3,\ |
36 | name_deposit4,name_deposit5 default name_deposit0 |
||
1447 | bpr | 37 | |
38 | nbdocs= !recordcnt wimshome/log/classes/$wims_class/doc/.index |
||
39 | |||
40 | doc_nums= |
||
41 | doc_titles= |
||
42 | !for i = 1 to $nbdocs |
||
43 | d_= !record $i of wimshome/log/classes/$wims_class/doc/.index |
||
14043 | bpr | 44 | !distribute lines $d_ into s_,t_,a_,e_,c_,o_ |
45 | !if $o_>0 |
||
1447 | bpr | 46 | doc_nums=!append item c$i to $doc_nums |
47 | doc_titles=!append item $t_ to $doc_titles |
||
14043 | bpr | 48 | !endif |
1447 | bpr | 49 | !next i |
50 | |||
51 | nbpdocs= !recordcnt wimshome/log/classes/$wims_class/doc/.docindex |
||
52 | pdoc_adds= |
||
53 | pdoc_titles= |
||
54 | !for i = 1 to $nbpdocs |
||
55 | d_= !record $i of wimshome/log/classes/$wims_class/doc/.docindex |
||
14043 | bpr | 56 | !distribute lines $d_ into s_,p_,t_,d_,o_ |
57 | !if $o_>0 |
||
1447 | bpr | 58 | pdoc_adds=!append item $s_ to $pdoc_adds |
59 | pdoc_titles=!append item $t_ to $pdoc_titles |
||
14043 | bpr | 60 | !endif |
1447 | bpr | 61 | !next i |
10394 | bpr | 62 | !!no ariane thread in the popup window |
63 | !distribute items no, no, into wims_ariane_self, wims_ariane_home,wims_ariane |