Subversion Repositories wimsdev

Rev

Rev 17153 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9405 bpr 1
limitpart=10
2
!default maxday=365
2368 bpr 3
!read adm/class/classlang names.phtml
232 bpr 4
 
17153 guerimand 5
wims_prefix=class user tmp n sharing sharable wtime
232 bpr 6
!read tabletheme
7
!if $wims_user!=supervisor
12950 guerimand 8
  user=$wims_user
232 bpr 9
!endif
9928 guerimand 10
 
12950 guerimand 11
!if $wims_user=supervisor
12
  !read adm/vfilter/listvarfilter.proc
13
  !read adm/vfilter/varfilter proc
14
  !if $varfilterclear!=$empty
15
    !reset varfilterclear,status
16
  !endif
17153 guerimand 17
  !bound job within activity,useractivity,workingtime,cfwtime default activity
12950 guerimand 18
!else
16903 guerimand 19
  !bound job within useractivity,workingtime default useractivity
9546 guerimand 20
!endif
9500 bpr 21
 
17153 guerimand 22
!if $job=workingtime or $job=cfwtime
17322 guerimand 23
  !! for list of months in variable months
24
  !read adm/date.phtml
17153 guerimand 25
  !read wimshome/log/classes/$wims_class/.def
26
  !bound wtime_subval between 1 and 30 default 15
27
  !bound wtime_open within 1,0 default 0
28
  !bound wtime_nbsub between 3 and 10 default 4
29
  ltcolor=#FFFFFF,#4682B4,#B0C4DE,#B0E0E6,#ADD8E6,#87CEEB,#87CEFA,#00BFFF,#6495ED,#1E90FF,#0000FF
30
  wtime_ltcolor=!item 1 to $[$wtime_nbsub+1] of $wtime_ltcolor
31
  !default wtime_ltcolor=#FFFFFF
32
  nb=!itemcnt $wtime_ltcolor
33
  !ifval $nb<$wtime_nbsub+1
34
    tmp=!item $[-($wtime_nbsub+1-$nb)] to -1 of $ltcolor
35
    wtime_ltcolor=!append item $tmp to $wtime_ltcolor
36
  !endif
37
  !if $wtime_open=0
38
    !if $wims_user=supervisor
39
      job=cfwtime
40
    !else
41
      error=notopen
42
      notallowed=1
43
      !exit
44
    !endif
45
  !endif
46
!endif
12947 guerimand 47
 
48
!read $job.proc
49