Rev 14043 | 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 |
16274 | guerimand | 16 | nbsheet=!itemcnt $sheet_nums |
23 | reyssat | 17 | |
226 | guerimand | 18 | nbexams= !recordcnt wimshome/log/classes/$wims_class/exams/.exams |
19 | exam_nums= |
||
20 | exam_deaths= |
||
21 | exam_titles= |
||
22 | !for i = 1 to $nbexams |
||
23 | rec_exam= !record $i of wimshome/log/classes/$wims_class/exams/.exams |
||
24 | !distribute line $rec_exam into n,d,e,t |
||
25 | !if $n>=1 and $n<3 |
||
14043 | bpr | 26 | exam_nums=$exam_nums $i, |
226 | guerimand | 27 | !endif |
28 | exam_titles=$exam_titles $t, |
||
29 | !next i |
||
30 | exam_nums=!nonempty item $exam_nums |
||
16274 | guerimand | 31 | nbexam=!itemcnt $exam_nums |
226 | guerimand | 32 | |
33 | |||
23 | reyssat | 34 | file_titles=!filelist $wims_home/log/classes/$wims_class/cdt/files/ |
35 | file_titles=!lines2items $file_titles |
||
36 | nbfile=!itemcnt $file_titles |
||
8503 | bpr | 37 | !bound cible within name_deposit0,name_deposit1,name_deposit2,name_deposit3,\ |
38 | name_deposit4,name_deposit5 default name_deposit0 |
||
1447 | bpr | 39 | |
40 | nbdocs= !recordcnt wimshome/log/classes/$wims_class/doc/.index |
||
41 | |||
42 | doc_nums= |
||
43 | doc_titles= |
||
44 | !for i = 1 to $nbdocs |
||
45 | d_= !record $i of wimshome/log/classes/$wims_class/doc/.index |
||
14043 | bpr | 46 | !distribute lines $d_ into s_,t_,a_,e_,c_,o_ |
47 | !if $o_>0 |
||
1447 | bpr | 48 | doc_nums=!append item c$i to $doc_nums |
49 | doc_titles=!append item $t_ to $doc_titles |
||
14043 | bpr | 50 | !endif |
1447 | bpr | 51 | !next i |
52 | |||
53 | nbpdocs= !recordcnt wimshome/log/classes/$wims_class/doc/.docindex |
||
54 | pdoc_adds= |
||
55 | pdoc_titles= |
||
56 | !for i = 1 to $nbpdocs |
||
57 | d_= !record $i of wimshome/log/classes/$wims_class/doc/.docindex |
||
14043 | bpr | 58 | !distribute lines $d_ into s_,p_,t_,d_,o_ |
59 | !if $o_>0 |
||
1447 | bpr | 60 | pdoc_adds=!append item $s_ to $pdoc_adds |
61 | pdoc_titles=!append item $t_ to $pdoc_titles |
||
14043 | bpr | 62 | !endif |
1447 | bpr | 63 | !next i |
16274 | guerimand | 64 | |
65 | nbfreeworks= !recordcnt wimshome/log/classes/$wims_class/freeworks/.freeworks |
||
66 | freework_nums= |
||
67 | freework_titles= |
||
68 | !for i = 1 to $nbfreeworks |
||
69 | rec= !record $i of wimshome/log/classes/$wims_class/freeworks/.freeworks |
||
70 | !distribute line $rec into n,d,t |
||
71 | !if $n>=1 and $n<3 |
||
72 | freework_nums=!append item $i to $freework_nums |
||
73 | !endif |
||
74 | freework_titles=!append item $t to $freework_titles |
||
75 | !next i |
||
76 | nbfreeworks=!itemcnt $freework_nums |
||
77 | |||
10394 | bpr | 78 | !!no ariane thread in the popup window |
79 | !distribute items no, no, into wims_ariane_self, wims_ariane_home,wims_ariane |