Rev 8969 | Rev 9546 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2368 | bpr | 1 | !read adm/class/classlang names.phtml |
23 | reyssat | 2 | |
3 | wims_prefix=class user tmp n sharing sharable |
||
1227 | guerimand | 4 | |
5 | test=!defof class_defined in wimshome/log/classes/$wims_class/.def |
||
6 | !if $test!=yes |
||
7 | error=bad_class |
||
8 | !reset job |
||
23 | reyssat | 9 | !exit |
10 | !endif |
||
11 | |||
1227 | guerimand | 12 | !readproc tabletheme |
13 | !if $wims_user!=supervisor |
||
5463 | guerimand | 14 | !bound job within hide,readen default hide |
15 | !if $job=readen |
||
16 | !setdef wims_alertmsg=$empty in wimshome/sessions/$wims_session/var.stat |
||
17 | !restart module=home |
||
18 | !endif |
||
1227 | guerimand | 19 | !else |
8952 | guerimand | 20 | !bound job within modif,delete,reactivate,write,groupe default $empty |
8980 | guerimand | 21 | !if $listuser=__CLASS__ |
22 | !reset listuser |
||
1227 | guerimand | 23 | !endif |
8952 | guerimand | 24 | !if $job=groupe |
8969 | guerimand | 25 | !if __ALL__ isitemof $listuser |
26 | listuser=$listiduser |
||
27 | !else |
||
8980 | guerimand | 28 | !if __FILTER__ isitemof $listuser |
29 | !readproc varfilter |
||
30 | !else |
||
31 | listuser=!listintersect $listuser and $listiduser |
||
32 | !endif |
||
8969 | guerimand | 33 | !endif |
8952 | guerimand | 34 | !let n=!positionof item $action in $name_reactive,$name_change,$name_erase,$name_walertmsg |
8964 | guerimand | 35 | !if $n!=$empty and $listuser!=$empty |
8952 | guerimand | 36 | job=!item $n of reactivate,modif,delete,write |
37 | !else |
||
38 | !reset job |
||
39 | !endif |
||
40 | !else |
||
41 | listuser=!listintersect $listuser and $listiduser |
||
42 | !endif |
||
5428 | guerimand | 43 | !readproc adm/whoconnect 1 |
949 | guerimand | 44 | !endif |
863 | guerimand | 45 | !if $job!=$empty |
46 | !read $job.proc |
||
23 | reyssat | 47 | !endif |