Rev 12488 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12947 | guerimand | 1 | !default choice=all |
2 | !default graphics=0 |
||
3 | !if $choice=all |
||
4 | !reset loginlist |
||
5 | !endif |
||
6 | |||
9353 | bpr | 7 | showsheet_=!nospace $showheet |
1089 | bpr | 8 | activ= |
232 | bpr | 9 | sheetcnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheets |
3912 | bpr | 10 | !bound numshowsheet between integer 1 and $sheetcnt default 1 |
2064 | bpr | 11 | !set shs_title= |
232 | bpr | 12 | nbexototal=0 |
13 | !for j = 1 to $sheetcnt |
||
14 | nbexo$j=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$j |
||
15 | nbexototal=$[$nbexototal + $(nbexo$j)] |
||
1089 | bpr | 16 | t_=!record $j of wimshome/log/classes/$wims_class/sheets/.sheets |
2064 | bpr | 17 | !distribute line $t_ into a_,bidon,ti_ |
1089 | bpr | 18 | a_=!char 1 of $a_ |
19 | activ=!append item $a_ to $activ |
||
12488 | bpr | 20 | shs_title=!append line $ti_ to $shs_title |
232 | bpr | 21 | !next |
2064 | bpr | 22 | shs_title=!replace internal , by , in $shs_title |
23 | shs_title=!lines2items $shs_title |
||
24 | |||
1089 | bpr | 25 | usercnt=!recordcnt wimshome/log/classes/$wims_class/.userlist |
26 | |||
2064 | bpr | 27 | !set activlist=!positionof item 0 in $activ |
28 | !set listtot=!makelist x for x = 1 to $sheetcnt |
||
29 | !set activlist=!listcomplement $activlist in $listtot |
||
30 | !set activlist_cnt=!itemcnt $activlist |
||
31 | |||
9500 | bpr | 32 | !if $choice iswordof login filter first all |
12488 | bpr | 33 | !reset select_user |
9353 | bpr | 34 | !endif |
9500 | bpr | 35 | !if $choice iswordof select filter first all |
9353 | bpr | 36 | !reset loginlist |
37 | !endif |