Subversion Repositories wimsdev

Rev

Rev 9927 | Rev 9989 | 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
9988 guerimand 20
 !readproc adm/vfilter/uservarfilter.proc
21
 !readproc adm/vfilter/varfilter proc
9927 guerimand 22
 !if $varfilterclear!=$empty
23
  !reset varfilterclear,job
9546 guerimand 24
 !endif
8952 guerimand 25
 !bound job within modif,delete,reactivate,write,groupe default $empty
8980 guerimand 26
 !if $listuser=__CLASS__
27
  !reset listuser
1227 guerimand 28
 !endif
8952 guerimand 29
 !if $job=groupe
8969 guerimand 30
    !if __ALL__ isitemof $listuser
31
	listuser=$listiduser
32
    !else
8980 guerimand 33
	!if __FILTER__ isitemof $listuser
9988 guerimand 34
	    !readproc varfilter 
8980 guerimand 35
	!else
36
            listuser=!listintersect $listuser and $listiduser
37
	!endif
8969 guerimand 38
    !endif
8952 guerimand 39
    !let n=!positionof item $action in $name_reactive,$name_change,$name_erase,$name_walertmsg
8964 guerimand 40
    !if $n!=$empty and $listuser!=$empty
8952 guerimand 41
	job=!item $n of reactivate,modif,delete,write
42
    !else
43
        !reset job
44
    !endif
45
 !else
46
  listuser=!listintersect $listuser and $listiduser
47
 !endif
5428 guerimand 48
 !readproc adm/whoconnect 1
949 guerimand 49
!endif
863 guerimand 50
!if $job!=$empty
51
 !read $job.proc
23 reyssat 52
!endif