Rev 14868 | Rev 14903 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14868 | guerimand | 1 | test=!defof allowed_optional_module in wimshome/log/wims.conf |
2 | !if class/tchat notitemof $test |
||
3 | notallowed=1 |
||
4 | !exit |
||
5 | !endif |
||
14777 | guerimand | 6 | |
7 | !if $wims_class!=$empty |
||
8 | !sh mkdir -p $wims_home/log/classes/$wims_class/tchat; |
||
9 | statuttchat=open |
||
10 | !else |
||
11 | statuttchat=closed |
||
12 | !exit |
||
13 | !endif |
||
14 | |||
14876 | guerimand | 15 | !if $ulist=$empty |
14777 | guerimand | 16 | !! --- check for list of user |
17 | nbuser=!recordcnt wimshome/log/classes/$wims_class/.userlist |
||
14861 | guerimand | 18 | !reset ulist,nlist |
14777 | guerimand | 19 | !for i=1 to $nbuser |
20 | u_=!record $i of wimshome/log/classes/$wims_class/.userlist |
||
21 | !distribute item $u_ into l_,f_,n_ |
||
22 | ulist=!append item $n_ to $ulist |
||
14861 | guerimand | 23 | nlist=!append item $f_ $l_ to $nlist |
14777 | guerimand | 24 | !next i |
25 | !endif |
||
26 |