Subversion Repositories wimsdev

Rev

Rev 2790 | Rev 3212 | 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
1326 bpr 9
!header1
10
<script type="text/javascript" src="scripts/js/wz_tooltip.js" language="Javascript"></script>\
1319 guerimand 11
 
2051 guerimand 12
!if $cmd=help
13
 !changeto help.phtml
14
!endif
1319 guerimand 15
 
16
!headmenu
17
 
18
!if $error=bad_class
2365 bpr 19
 !read lang/msg.phtml.$moduclass_lang $error
1319 guerimand 20
 !tail
21
 !exit
22
!endif
23
 
24
!read $job.phtml
25
 
26
!if $wims_user=supervisor
1400 guerimand 27
 !if config notin $job
28
  !set wims_menu_items=!append line config,1,cmd=renew&job=config to $wims_menu_items
29
 !endif
30
 !if userlist notin $job
31
  !set wims_menu_items=!append line cls_livret,1,cmd=renew&job=userlist to $wims_menu_items
32
 !endif
33
 !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1] to $wims_menu_items
34
!endif
35
!set wims_menu_items=!append line refresh,1,cmd=reply\
36
,0,\
2031 bpr 37
to $wims_menu_items
38
!if $wims_user=supervisor
39
  !set wims_menu_items=!append line part_list,1,cmd=new&module=adm/class/userlist\
40
to $wims_menu_items
41
!else
42
  !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userlist\
43
to $wims_menu_items
44
!endif
1400 guerimand 45
 
2031 bpr 46
 
1319 guerimand 47
!endif
48
 
49
!tail
50