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