Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
1479 bpr 1
!!##!! language independant
1319 guerimand 2
!if $job2=print and $job isitemof todo,work
3
 !changeto print$job.phtml
4
!endif
2790 guerimand 5
!if $job=modpalier
6
 !let js=!record 0 of js/chooselist.js
7
 !let wims_html_header=!append line $js to $wims_html_header
8
!endif
4527 bpr 9
!read adm/css.phtml
1326 bpr 10
!header1
5956 bpr 11
<script type="text/javascript" src="scripts/js/wz_tooltip.js"></script>\
1319 guerimand 12
 
2051 guerimand 13
!if $cmd=help
14
 !changeto help.phtml
15
!endif
1319 guerimand 16
 
17
!headmenu
18
 
3212 guerimand 19
!if $error!=$empty
5894 bpr 20
 <div class="wims_alertmsg">
5874 bpr 21
 !read lang/msg.phtml.$moduclass_lang  $error
22
 </div>
3212 guerimand 23
 !reset job
1319 guerimand 24
!endif
25
 
26
!read $job.phtml
27
 
28
!if $wims_user=supervisor
1400 guerimand 29
 !if config notin $job
30
  !set wims_menu_items=!append line config,1,cmd=renew&job=config to $wims_menu_items
31
 !endif
3212 guerimand 32
 !if save notin $job
33
  !set wims_menu_items=!append line save,1,cmd=renew&job=save to $wims_menu_items
34
 !endif
35
 !if $livret_nbcomp<$maxcomp
36
  !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1] to $wims_menu_items
37
 !endif
9810 bpr 38
 !set wims_menu_items=!append line itemsep,0,\
9351 bpr 39
 refresh,1,cmd=reply\
40
to $wims_menu_items
41
 !reset parmuser1 parmuser3
42
 !if $user!=$empty and $job!=userlist
43
    !set parmuser1=&job=getuser&getuser=$user
44
    !set parmuser3=&job=userprop&getuser=$user
45
    !set parmuser4=&job=exobyday&user=$user
46
    !set sc=scores
47
    !set ac=activity1
48
 !else
49
    !set sc=Score1
50
    !set ac=activity
51
 !endif
9810 bpr 52
 !set wims_menu_items=!append line itemsep,0,\
9351 bpr 53
 account,1,module=adm/class/usermanage$parmuser3\
54
 $sc,1,cmd=new&module=adm/class/userscore$parmuser1\
55
 $ac,1,cmd=new&module=adm/class/activity$parmuser4\
56
 to $wims_menu_items
1400 guerimand 57
!endif
9351 bpr 58
 
2031 bpr 59
!if $wims_user=supervisor
9351 bpr 60
  !if userlist notin $job
9810 bpr 61
   !set wims_menu_items=!append line itemsep,0,\
9351 bpr 62
  part_list,1,cmd=renew&job=userlist\
2031 bpr 63
to $wims_menu_items
9351 bpr 64
 
9571 guerimand 65
  !endif
9810 bpr 66
  !set wims_menu_items=!append line itemsep,0,\
9351 bpr 67
  usermanage,1,cmd=new&module=adm/class/usermanage\
68
to $wims_menu_items
2031 bpr 69
!else
9031 guerimand 70
  !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userscore\
2031 bpr 71
to $wims_menu_items
72
!endif
1400 guerimand 73
 
1319 guerimand 74
!tail