Subversion Repositories wimsdev

Rev

Rev 9031 | Rev 9251 | 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
1400 guerimand 35
 !if userlist notin $job
36
  !set wims_menu_items=!append line cls_livret,1,cmd=renew&job=userlist to $wims_menu_items
37
 !endif
3212 guerimand 38
 !if $livret_nbcomp<$maxcomp
39
  !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1] to $wims_menu_items
40
 !endif
1400 guerimand 41
!endif
42
!set wims_menu_items=!append line refresh,1,cmd=reply\
43
,0,\
2031 bpr 44
to $wims_menu_items
45
!if $wims_user=supervisor
9115 bpr 46
  !set wims_menu_items=!append line usermanage,1,cmd=new&module=adm/class/usermanage\
47
Score1,1,cmd=new&module=adm/class/userscore\
2031 bpr 48
to $wims_menu_items
49
!else
9031 guerimand 50
  !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userscore\
2031 bpr 51
to $wims_menu_items
52
!endif
1400 guerimand 53
 
2031 bpr 54
 
1319 guerimand 55
!endif
56
 
57
!tail
58